mirror of
https://github.com/clearml/clearml
synced 2025-02-12 07:35:08 +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)
|
task.upload_artifact('pillow_image', im)
|
||||||
# add and upload a folder, artifact_object should be the folder path
|
# add and upload a folder, artifact_object should be the folder path
|
||||||
task.upload_artifact('local folder', artifact_object='samples/')
|
task.upload_artifact('local folder', artifact_object='samples/')
|
||||||
|
# add and upload a wildcard
|
||||||
|
task.upload_artifact('local folder', artifact_object='samples/*.jpg')
|
||||||
|
|
||||||
# do something
|
# do something
|
||||||
sleep(1.)
|
sleep(1.)
|
||||||
|
Loading…
Reference in New Issue
Block a user