@<1523701070390366208:profile|CostlyOstrich36> I am facing the same issue:
{"meta":{"id":"90841d05dfb1431a8d9dfc6bfdb39f9e","trx":"90841d05dfb1431a8d9dfc6bfdb39f9e","endpoint":{"name":"events.debug_images","requested_version":"2.23","actual_version":"2.7"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"metrics":[]}}
Might need to refresh page after opening dev tools 🙂
The thing is, even on the community server, not all the datasets have automatic previews. So for the same code/dataset, some of the runs have previews and some of them don't.
@<1523701168822292480:profile|ExuberantBat52> , did you add debug samples in a similar fashion? What version of the clearml sdk are you using? Also what server?
CostlyOstrich36 I do see the new "image" in the metric drop down, so something has changed - but there are no preview images there.
The above output is on the clearml community server
ProudElephant77 , can you please add a code snippet of what you did?
Looping in @<1523703436166565888:profile|DeterminedCrab71> & @<1523701435869433856:profile|SmugDolphin23> for visibility
Above is the response for the events.debug_images
Please check what you get for events.debug_images in network section of developer tools (F12) when trying to view the preview in the dataset
Thanks a lot, I will have a look at that!
Actually, datasets should have an automatic preview...
Also when in this view, open developer tools (F12) and see what calls you get back for debug samples
CostlyOstrich36 Do you have any idea how I could debug that?
So I added the snippet above to the code,
and now the preview for the first 10 rows shows up. However, the automatic preview is still not working.
CostlyOstrich36 I have used ds.get_logger().report_image() in a loop in order to upload all the images from the dataset as previews. Then I called flush() , which returned True . However, the images are still not shown. Any ideas - how could I debug that?
CostlyOstrich36 WebApp: 1.9.1-312 • Server: 1.9.1-312 • API: 2.23
I don't think datasets don't have visualization out of the box, you need to add these previews manually. Only HyperDatasets feature from the Scale & Enterprise versions truely visualizes all the data.
According to your code snippet there isn't any visualization add on top of the dataset
CostlyOstrich36 The latest clearml package, installed these days - 1.9.0
The dataset view is also empty:
What if you add images to the dataset? Can you see them being previewed? @<1523701168822292480:profile|ExuberantBat52>
This is strange. Exactly same code works for me. What version of clearml are you using? What version is your server?
How about when you view it in the datasets view? Also what version of clearml package do you have?
It isn't a bug, you have to add the previews manually through reporting. For example:
ds = Dataset.create(...) ds.add_files(...) ds.get_logger().report_media(...)
