Open kmrabhay opened 5 years ago
Hi,
sess.run(iterator_inits[1]) # switch to validation dataset while True: import pdb; pdb.set_trace(); try: _, summaries_ = sess.run([loss, summaries], feed_dict={training: False}) # print(summaries_) val_writer.add_summary(summaries_, global_step_) except tf.errors.OutOfRangeError: break
Above code for validation steps never finishes. I trained on 192 images and validation steps never finishes even after 10 hours.
Is the because of that infinite loop and never reaching to break statement?
Hi,
Above code for validation steps never finishes. I trained on 192 images and validation steps never finishes even after 10 hours.
Is the because of that infinite loop and never reaching to break statement?