Open materight opened 1 year ago
Hi @materight ,
Thanks, we'll take a look and update
Hi @materight , I tried this code in python 3.7 and python 3.10, both with the latest clearml RC and with clearml 1.11.0 but it works for me - perhaps I'm missing something?
Hi @jkhenning, thanks for the update. I'm not sure, I'm uploading to gcp if that makes any difference.
Btw in the meantime I found that removing the call to _report_dataset_preview
in upload
fixes the issue. So for now I added dataset._report_dataset_preview = lambda : None
as a quick fix.
Thanks, that's a good insight. I think it might also be OS related, so I'll try some more
Describe the bug
When using a
Dataset
instance to upload a dataset, and then initializing a new task that callsreport_image
, the image is not uploaded and the call to.close()
hangs indefinitely.By debugging it, It seems that the close function gets stuck in this loop: https://github.com/allegroai/clearml/blob/1ccdff5e77d2140844b3cc2b313d386e3c9bcc6b/clearml/backend_interface/metrics/reporter.py#L128-L130
To reproduce
Expected behaviour
The debug sample should be uploaded and the task should be properly closed.
Environment