random_shuffle_queue' is closed and has insufficient elements (requested 2, current size 0)我一直在关注Tensorflow官方教程,但无法使用num_epochs
我想做的是在传递epoch_num时生成一个错误,这样我就不必通过计算整个训练文件的实例#来跟踪当前的batch_num和<
错误消息
tensorflow/core/kernels/queue_base.cc:294] _0_READ_DATA/input_producer: Skipping cancelled enqueue: RandomShuffleQueue '_3_READ_DATA/shuffle_batch/random_shuffle_queue' is closed and has insufficient/shuffle_batch/n)]]
tf.FixedLenFeature([],tf.int64)} filename_queue = tf.train.string_input_producer/random_shuffle_queue, shuffle_batch/n)]]
During handling of the above exception, another exception/random_shuffle_queue,
我正在使用tensorflow在mnist数据集上进行实践,该数据集有55,000幅培训图像(原始的60,000幅mnist图像中的5,000幅图像被保留用于验证)。tensorflow.python.framework.errors.OutOfRangeError: RandomShuffleQueue '_1_input/shuffle_batch/random_shuffle_queue' is closed and has insufficient elements (requested 10
Tensorflow 1.3Windows 7,Python3.6OutOfRangeError (see above for traceback): RandomShuffleQueuerandom_shuffle_queue' is closed and has insufficient elements (requested 3, current size 0)
[[Node: shuffle_batch/random_shuffle_queue, shuffle_batch