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
Hello All, We’Re Trying To Use

Hello all, we’re trying to use report_image to log sample images to ClearML, but output on client is empty:

    image_open = Image.open(os.path.join("prediction", "95c.jpg"))
    print(image_open.size)
    logger.report_image("image", "image PIL", image=image_open)

    # force flush reports
    # If flush is not called, reports are flushed in the background every couple of seconds,
    # and at the end of the process execution
    logger.flush()

image

  
  
Posted 2 years ago
Votes Newest

Answers 9


Hi AntsyPenguin90
The image itself is uploaded in a blackground process, flush just triggers the starting of the process.
Could it be that it is showing a few seconds after?

  
  
Posted 2 years ago

Hmm there’s something wrong with the setup. I tried with the demo version of ClearML then it works:
image

  
  
Posted 2 years ago

Hmm, might be, check if your files server is running and configured properly

  
  
Posted 2 years ago

May you elaborate little bit more on this? Right now I'm using the default file server provided by ClearML, ie ipaddress:8081

  
  
Posted 2 years ago

Are any files uploaded? Like artifacts etc?

  
  
Posted 2 years ago

Yes, artifacts (including both zip and folder) could be uploaded.

This issue is similar to the one on stackoverflow ( None ) and github ( None )

  
  
Posted 2 years ago

Interesting, if this is the issue, a simple sleep after reporting should prove it. Wdyt?
BTW are you using the latest package? What's your OS?

  
  
Posted 2 years ago

We can confirm that the image is uploaded to file server successfully:

/data/clearml/data/fileserver/examples/register image.b8bd8c27aaa6416a9b870cdc3878a4f3/metrics/image/image PIL ll
total 12K
-rw-r--r-- 1 london london 12K Apr 25 10:16 'image_image PIL_00000000.jpeg'

For some reasons, the front-end could not grab/display the image

  
  
Posted 2 years ago

Is there still an issue? Could it be the browser cannot access the file server directly?

  
  
Posted one year ago
1K Views
9 Answers
2 years ago
one year ago
Tags