Reputation
Badges 1
13 × Eureka!` from clearml import Dataset
IMG_PATH = "/home/mfb/Temp/sample-ds/50-ok.jpg"
Create dataset and add sample image
ds = Dataset.create(dataset_name="Test", dataset_project="Dataset-Test")
ds.add_files(path=IMG_PATH)
ds.upload()
Add and report image
logger = ds.get_logger()
logger.report_image("image", "sample image", iteration=0, local_path=IMG_PATH)
logger.flush()
Finalize the dataset
ds.finalize() `
CostlyOstrich36 I do see the new "image" in the metric drop down, so something has changed - but there are no preview images there.
CostlyOstrich36 The latest clearml package, installed these days - 1.9.0
The dataset view is also empty:
@<1523701070390366208:profile|CostlyOstrich36> Hi John, I have posted that in the screenshot above. Isn't that what you meant?
CostlyOstrich36 Unfortunately that didn't helped 😞
CostlyOstrich36 Do you have any idea how I could debug that?
CostlyOstrich36 WebApp: 1.9.1-312 • Server: 1.9.1-312 • API: 2.23
@<1523701070390366208:profile|CostlyOstrich36> It looks like this:
Thanks a lot, I will have a look at that!
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?