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
Is There A Way To Automatically Upload Images That Were Uploaded With

Is there a way to automatically upload images that were uploaded with tf.summary.image ? These are run in graph mode so I can’t get .numpy() easily.

  
  
Posted 2 years ago
Votes Newest

Answers 10


Hi CourageousKoala93 , not 100% sure I understand what graphmode is, I see it's a legacy option maybe from TF1? If you can put a small snippet so I can try it on my side that'll be helpful!

  
  
Posted 2 years ago

It is the graph mode from TF1 and we use the mode still (in a session).

I will come up with a min working example (probably next week)

  
  
Posted 2 years ago

I have to look deeper into our codebase to see what exactly happens.

  
  
Posted 2 years ago

We wrap everything in a tf.function() like
` def f():
print('Tracing!')
tf.print('Executing')

tf.function(f)() `

  
  
Posted 2 years ago

It makes training much faster

  
  
Posted 2 years ago

Hi Alek
It should be auto logged. Could you please give me some details about your environment ?

  
  
Posted 2 years ago

Does it make a difference for the autologging if this is done in graphmode ?

  
  
Posted 2 years ago

Besides that, the procedure is the same, yes…

  
  
Posted 2 years ago

Am I doing something differently from you?

  
  
Posted 2 years ago

Hi Alek,
If I understand correctly, you're basically reporting images to be shown in tensorboard (with tf.summary), am I correct?
When I use this code, I get images logged:
` import tensorflow as tf

from clearml import Task

Task.init('test','test tb image')
w = tf.summary.create_file_writer('test/logs')
with w.as_default():
image1 = tf.random.uniform(shape=[8, 8, 1])
image2 = tf.random.uniform(shape=[8, 8, 1])
tf.summary.image("grayscale_noise", [image1, image2], step=0)

Convert the original dtype=int32 Tensor into dtype=float64.

rgb_image_float = tf.constant([
[[1000, 0, 0], [0, 500, 1000]],
]) / 1000
tf.summary.image("picture", [rgb_image_float], step=0)

Convert original dtype=uint8 Tensor into proper range.

rgb_image_uint8 = tf.constant([
[[1, 1, 0], [0, 0, 1]],
], dtype=tf.uint8) * 255
tf.summary.image("picture", [rgb_image_uint8], step=1) `

  
  
Posted 2 years ago