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
How Do I Get Access To

How do I get access to uploaded artifacts (not registered)? I see I can find their URL using Task.get_task(...).artifacts and then use StorageManager to download them, but I was wondering if there is a more straightforward way to download these artifacts without going explicitly through StorageManager

  
  
Posted 3 years ago
Votes Newest

Answers 5


One of the following objects Numpy.array, pandas.DataFrame, PIL.Image, dict (json), or pathlib2.PathAlso, if you used pickle , the pickle.load return value is returned. and for strings a txt file (as it stored).

  
  
Posted 3 years ago

I was refering to what is the returned object of Task.artifacts['...'] - when I call .get I understand what I get, I'm asking because I want to see how the object I'm calling .get on behaves

  
  
Posted 3 years ago

If you are entering a specific task artifact, you’ll get an Artifact object ( trains.binding.artifacts.Artifact )

  
  
Posted 3 years ago

Hi WackyRabbit7 ,

If you only want to get the artifact object, you can use:

task_artifact = Task.get_task(task_id=<YOUR TASK ID>).artifacts[<YOUR ARTIFACT NAME>].get()

  
  
Posted 3 years ago

Cool - what kind of objects are returned by .artifacts. getitem ? I want to check their docs

  
  
Posted 3 years ago
509 Views
5 Answers
3 years ago
one year ago
Tags