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
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()
One of the following objects Numpy.array, pandas.DataFrame, PIL.Image, dict (json), or pathlib2.Path
Also, if you used pickle
, the pickle.load
return value is returned. and for strings a txt
file (as it stored).
If you are entering a specific task artifact, you’ll get an Artifact
object ( trains.binding.artifacts.Artifact
)
Cool - what kind of objects are returned by .artifacts.
getitem
? I want to check their docs