Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Trying To Access The Csv File Uploaded On The Clearml Dataset In My Local Device Is Giving Me Some Errors

trying to access the CSV file uploaded on the clearML dataset in my local device is giving me some errors

  
  
Posted 2 years ago
Votes Newest

Answers 16


It looks like you can't access the file due to permissions. And in the agent run there is no such file. How are you storing it and how are you trying to fetch it in code during the agent run?

  
  
Posted 2 years ago

I am storing it here by the below code

  
  
Posted 2 years ago

I am trying to access the dataset by the below code

  
  
Posted 2 years ago

What is the dataset URL you see in the UI? If you go to the dataset, there should be a view to the dataset link

  
  
Posted 2 years ago

where to find it?

  
  
Posted 2 years ago

is it this? I can copy a URL from here

  
  
Posted 2 years ago

Click on the 'Task information ->' at the bottom of the right window. This will take you to the task object in the system. Then go to artifacts.

  
  
Posted 2 years ago

image

  
  
Posted 2 years ago

You've hardcoded salary.csv into your code

  
  
Posted 2 years ago

At least from the log of the agent failure

  
  
Posted 2 years ago

I don't understand what you mean by that

  
  
Posted 2 years ago

WickedBee96 the return value of dataset.get_local_copy is the Folder where all your files are located, Not the filename itself 🙂

  
  
Posted 2 years ago

so how to get the path for the file itself not all the files? 😓

  
  
Posted 2 years ago

You put it there 🙂 so the assumption you know what you are looking for, or use glob? wdyt?

  
  
Posted 2 years ago

just do:
import os.path as op dataset_folder = Dataset.get(dataset_id="...").get_local_copy() csv_file = op.join(dataset_folder, 'salary.csv')

  
  
Posted 2 years ago

ok it works thank you

  
  
Posted 2 years ago
1K Views
16 Answers
2 years ago
7 months ago
Tags