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 2 years ago
Votes Newest

Answers 42


Might need to refresh page after opening dev tools 🙂

  
  
Posted 2 years ago

Hmm my bad, I wasn't aware of this 🙂

  
  
Posted 2 years ago

Looping in DeterminedCrab71 & SmugDolphin23 for visibility

  
  
Posted 2 years ago

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

  
  
Posted 2 years ago

Above is the response for the events.debug_images

  
  
Posted 2 years ago

ExuberantBat52 , did you add debug samples in a similar fashion? What version of the clearml sdk are you using? Also what server?

  
  
Posted 2 years ago

Actually, datasets should have an automatic preview...

  
  
Posted 2 years ago

How about when you view it in the datasets view? Also what version of clearml package do you have?

  
  
Posted 2 years ago

This is how I usually add visualization

#Report data preview
ds.get_logger().report_table(title="Data Sample", series="First Ten Rows", table_plot=data1[:10])
ds.upload()
ds.finalize()
  
  
Posted 2 years ago

The above output is on the clearml community server

  
  
Posted 2 years ago

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

  
  
Posted 2 years ago

What OS are you running the scripts on, Abed?

  
  
Posted 2 years ago

And here the same in Chrome:
image

  
  
Posted 2 years ago

CostlyOstrich36 Unfortunately that didn't helped 😞

  
  
Posted 2 years ago

Can you share a screenshot of what you see?

  
  
Posted 2 years ago

CostlyOstrich36 The latest clearml package, installed these days - 1.9.0

The dataset view is also empty:

  
  
Posted 2 years ago

CostlyOstrich36 It looks like this:
image

  
  
Posted 2 years ago

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

  
  
Posted 2 years ago

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

  
  
Posted 2 years ago

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":[]}}
  
  
Posted 2 years 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 2 years ago

Also when in this view, open developer tools (F12) and see what calls you get back for debug samples

  
  
Posted 2 years 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 2 years ago

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

  
  
Posted 2 years ago

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.

  
  
Posted 2 years ago

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

  
  
Posted 2 years ago

Can you please paste the response from events.debug_images ?

  
  
Posted 2 years ago

Yes, I am using a virtualenv that has pandas and clearml installed.

  
  
Posted 2 years ago

I have been using them for a while, they've always had autopreviews.

  
  
Posted 2 years ago

22.04

  
  
Posted 2 years ago