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
Hi Everyone, Quick Question: Is There Any Easy Way To

Hi everyone, quick question: Is there any easy way to get a task's full output directory ? E.g. when I create a task with task = Task.init(..., output_uri=" s3://some_bucket " , the output models will end up in something like s3://some_bucket/project_name/task_name.task_id/ .
Now potentially I could re-create that uri by querying the specific parameters, but I was just wondering if there is an easier / safer way to get that uri directly?

  
  
Posted one year ago
Votes Newest

Answers 5


Unfortunately not, task.data.output just contains <tasks.Output: { "destination": " s3://some_bucket " }> and when I convert task.data to a string and search for the desired uri, I cannot find it either.
But on the other hand, putting the url together from its name, id, etc. seems to work - it might be a little unsafe if the task gets re-named or something, but otherwise it should be fine.

  
  
Posted one year ago

Hi ScantChimpanzee51 , I think you can get it via the API, this sits on task.data.output.destination retrieve the task object via API and play with it a bit to see where this sits 🙂

  
  
Posted one year ago

try to change the files_server in the clearml.conf file to the bucket you want..
for me its help (model + metrics where uploaded to the bucket at the end and not save on the clearml server

  
  
Posted one year ago

ScantChimpanzee51 what's the use case for the full path without specific artifact?

  
  
Posted one year ago

I actually wanted to load a specific artifact, but didn’t think of looking through the tasks output models. I have now changed to that approach which feels much safer, so we should be all done here. Thanks!

  
  
Posted one year ago