How to show all my images in tensorboard?

Viewed 5350

I only see images which are currently residing in symbolic tensor (logits, label):

with tf.name_scope("Train"):
    optimizer = tf.train.AdamOptimizer(FLAGS.learning_rate).minimize(cost_function)
    tf.summary.image('logits', tn_logits, max_outputs=4)
    tf.summary.image('label', t_label, max_outputs=4)

In the session, I feed the network images in a loop.

for epoch in range(FLAGS.training_epochs):

        for img in images:
            _, summary_str, costs = sess.run([optimizer, merged_summary_op, cost_function],
                                             feed_dict={t_im0: img.l_img.eval(), t_im1: img.r_img.eval(),
                                                        t_label: img.mask.eval()})

How to show all images simultaneously?


I want to have this view for all my images like in a gallery: example

1 Answers
Related