mirror of
https://github.com/clearml/clearml
synced 2025-02-07 13:23:40 +00:00
Add artifacts wildcard example
This commit is contained in:
parent
ac2ea09403
commit
6861aa0113
@ -33,6 +33,8 @@ 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/')
|
||||
# add and upload a wildcard
|
||||
task.upload_artifact('local folder', artifact_object='samples/*.jpg')
|
||||
|
||||
# do something
|
||||
sleep(1.)
|
||||
|
Loading…
Reference in New Issue
Block a user