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, How Can I Download / Access Artifacts That Were Uploaded With Task.

Hi, how can I download / access artifacts that were uploaded with Task. upload_artifact ? I mean access via code and not via ClearML UI. I am aware that I can preview the file with task.artifacts but I want the whole file

  
  
Posted 3 years ago
Votes Newest

Answers 4


ImmensePenguin78 we also have a new example for this!
https://github.com/allegroai/clearml/blob/master/examples/reporting/artifacts_retrieval.py

  
  
Posted 3 years ago

You can use:
task = Task.get_task(task_id='ID') task.artifacts['name'].get_local_copy()

  
  
Posted 3 years ago

get_local_copy() would download the file to your cache and return it's path

  
  
Posted 3 years ago

Interesting, thanks!

  
  
Posted 3 years ago
1K Views
4 Answers
3 years ago
one year ago
Tags