Hi HappyDove3
Are you passing it this way?task.upload_artifact(name="my artifact", artifact_object=np.eye(3,3))
https://github.com/allegroai/clearml/blob/5953dc6eefadcdfcc2bdbb6a0da32be58823a5af/examples/reporting/artifacts.py#L38
Oh, I didn't do it like this. Now it is working! Thanks!
Maybe you can also help me with this:
I'm getting this errors: but it seems like everything is still uploaded correctly so I can't understand why this errors appear.2022-01-18 11:42:16,929 - clearml.storage - ERROR - Failed uploading: cannot schedule new futures after interpreter shutdown 2022-01-18 11:42:16,930 - clearml.storage - ERROR - Failed uploading: cannot schedule new futures after interpreter shutdown 2022-01-18 11:42:16,931 - clearml.storage - ERROR - Failed uploading: cannot schedule new futures after interpreter shutdown 2022-01-18 11:42:16,931 - clearml.storage - ERROR - Exception encountered while uploading Upload failed 2022-01-18 11:42:16,931 - clearml.metrics - WARNING - Failed uploading to
(Upload failed) 2022-01-18 11:42:17,761 - clearml.metrics - ERROR - Not uploading 1/3 events because the data upload failed
HappyDove3 where are you running the code?
(the upload is done in the background, but it seems the python interpreter closed?!)
You can also wait for the upload:task.upload_artifact(name="my artifact", artifact_object=np.eye(3,3), wait_on_upload=True)
I'm running it on pycharm from my script there
Added wait_on_upload
and now there are no errors