I had built a convolutional neural network in tensorflow. It is trained and now I am unpacking it and performing evaluations.
import main import Process import I
a way to add coord with exception handling:
coord = tf.train.Coordinator() threads = tf.train.start_queue_runners(sess, coord) try: while not coord.should_stop(): #doing things here except tf.errors.OutOfRangeError: print("things done") finally: coord.request_stop()
then bug fixed :-)