Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hey Guys, In A Fresh Self-Hosted Clearml Server I Have The Issue That I Cannot See Any Preview Images Of The Files In A Dataset. It Seems Like A Bug, But Maybe I Am Doing Something Wrong?

Hey guys, in a fresh self-hosted ClearML server I have the issue that I cannot see any preview images of the files in a dataset. It seems like a bug, but maybe I am doing something wrong? https://github.com/allegroai/clearml/issues/879 - does someone have an idea what I might be doing wrong?

  
  
Posted one year ago
Votes Newest

Answers 42


Can you share a screenshot of what you see?

  
  
Posted one year ago

CostlyOstrich36 I do see the new "image" in the metric drop down, so something has changed - but there are no preview images there.

  
  
Posted one year ago

CostlyOstrich36 WebApp: 1.9.1-312 • Server: 1.9.1-312 • API: 2.23

  
  
Posted one year ago

This is strange. Exactly same code works for me. What version of clearml are you using? What version is your server?

  
  
Posted one year ago

CostlyOstrich36 Do you have any idea how I could debug that?

  
  
Posted one year ago

` 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() `

  
  
Posted one year ago

ProudElephant77 , can you please add a code snippet of what you did?

  
  
Posted one year ago

CostlyOstrich36 Unfortunately that didn't helped 😞

  
  
Posted one year ago

ProudElephant77 , I think you might need to finalize the dataset for it to appear

  
  
Posted one year ago

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?

  
  
Posted one year ago

Thanks a lot, I will have a look at that!

  
  
Posted one year ago

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(...)

  
  
Posted one year ago