mirror of
https://github.com/clearml/clearml
synced 2025-06-26 18:16:07 +00:00
Add artifacts support for folders/wildcard, include retrieval and extraction
This commit is contained in:
@@ -31,7 +31,8 @@ task.upload_artifact('Numpy Eye', np.eye(100, 100))
|
||||
# add and upload Image (stored as .png file)
|
||||
im = Image.open('samples/dancing.jpg')
|
||||
task.upload_artifact('pillow_image', im)
|
||||
|
||||
# add and upload a folder, artifact_object should be the folder path
|
||||
task.upload_artifact('local folder', artifact_object='samples/')
|
||||
|
||||
# do something
|
||||
sleep(1.)
|
||||
|
||||
Reference in New Issue
Block a user