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
Hi, We Saw 2 More Issues With Images Logging: 1. You Need To Use Tf.Summary.Image And Not Summary_Ops_V2.Image 2. Image Needs To Be In Range [0, 1] And Not [0, 255] (Matplotlib And Tensorboard Can Handle Either One) Is That Expected?

Hi, we saw 2 more issues with images logging:

  1. You need to use tf.summary.image and not summary_ops_v2.image
  2. Image needs to be in range [0, 1] and not [0, 255] (matplotlib and tensorboard can handle either one)

Is that expected?

  
  
Posted 2 years ago
Votes Newest

Answers 9


Hi BattyLizard6 ,

Do you have a toy example so I can check this issue my side?

  
  
Posted 2 years ago

AgitatedDove14 , thanks for the quick response!

  
  
Posted 2 years ago

Strange, I guess my toy example is not exactly what was happening originally..
If I manage to create a good toy example I will add it..

  
  
Posted 2 years ago

You need to use tf.summary.image and not summary_ops_v2.image

Fixed on main branch (see github issue), RC later today

Image needs to be in range [0, 1] and not [0, 255] (matplotlib and tensorboard can handle either one)

Is there a code to reproduce ?

  
  
Posted 2 years ago

I get the same "white" image in both TB & ClearML 😞

  
  
Posted 2 years ago

So it seems to get the "hint" from the type:
This will work
tf.summary.image('toy255', (ex * 255).astype(np.uint8), step=step, max_outputs=10)wdyt, should it actually check min/max and manually cast it ?

  
  
Posted 2 years ago

Thanks StaleButterfly40 !

  
  
Posted 2 years ago

Thanks StaleButterfly40 !

  
  
Posted 2 years ago

StaleButterfly40 are you sure you are getting the correct image on your TB (toy255) ?

  
  
Posted 2 years ago