ummkd
ummkd copied to clipboard
RandomShuffleQueue 'xxx' is closed and has insufficient elements (requested 8, current size 0)
I encountered the following problem when I running the main_combine.py for training, and I following the tutorial for that.
INFO:tensorflow:Error reported to Coordinator: <class 'tensorflow.python.framework.errors_impl.NotFoundError'>, mr_train_tfs/mr_train_slice4848.tfrecords; No such file or directory
[[Node: ReaderReadV2 = ReaderReadV2[_device="/job:localhost/replica:0/task:0/device:CPU:0"](TFRecordReaderV2, input_producer)]]
Error reported to Coordinator: <class 'tensorflow.python.framework.errors_impl.NotFoundError'>, mr_train_tfs/mr_train_slice4848.tfrecords; No such file or directory
[[Node: ReaderReadV2 = ReaderReadV2[_device="/job:localhost/replica:0/task:0/device:CPU:0"](TFRecordReaderV2, input_producer)]]
tensorflow.python.framework.errors_impl.OutOfRangeError: RandomShuffleQueue '_5_shuffle_batch/random_shuffle_queue' is closed and has insufficient elements (requested 8, current size 0)
[[Node: shuffle_batch = QueueDequeueManyV2[component_types=[DT_FLOAT, DT_FLOAT, DT_STRING], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/device:CPU:0"](shuffle_batch/random_shuffle_queue, shuffle_batch/n)]]
It seems that there are some problems with the TFRecord since tf.train.shuffle_batch
with code error. Maybe it is the wrong shape or something else.
I don't know how to do with it. Did any one encourter similar problems before? Looking forward to your reply, thank you!
I encountered the following problem when I running the main_combine.py for training, and I following the tutorial for that.
INFO:tensorflow:Error reported to Coordinator: <class 'tensorflow.python.framework.errors_impl.NotFoundError'>, mr_train_tfs/mr_train_slice4848.tfrecords; No such file or directory [[Node: ReaderReadV2 = ReaderReadV2[_device="/job:localhost/replica:0/task:0/device:CPU:0"](TFRecordReaderV2, input_producer)]] Error reported to Coordinator: <class 'tensorflow.python.framework.errors_impl.NotFoundError'>, mr_train_tfs/mr_train_slice4848.tfrecords; No such file or directory [[Node: ReaderReadV2 = ReaderReadV2[_device="/job:localhost/replica:0/task:0/device:CPU:0"](TFRecordReaderV2, input_producer)]] tensorflow.python.framework.errors_impl.OutOfRangeError: RandomShuffleQueue '_5_shuffle_batch/random_shuffle_queue' is closed and has insufficient elements (requested 8, current size 0) [[Node: shuffle_batch = QueueDequeueManyV2[component_types=[DT_FLOAT, DT_FLOAT, DT_STRING], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/device:CPU:0"](shuffle_batch/random_shuffle_queue, shuffle_batch/n)]]
It seems that there are some problems with the TFRecord since
tf.train.shuffle_batch
with code error. Maybe it is the wrong shape or something else.I don't know how to do with it. Did any one encourter similar problems before? Looking forward to your reply, thank you!
I have solved this problem. I have encountered this problem due to my mistake, not the author's source code or data. Thanks for the author's contribution :)
I encountered the following problem when I running the main_combine.py for training, and I following the tutorial for that.
INFO:tensorflow:Error reported to Coordinator: <class 'tensorflow.python.framework.errors_impl.NotFoundError'>, mr_train_tfs/mr_train_slice4848.tfrecords; No such file or directory [[Node: ReaderReadV2 = ReaderReadV2[_device="/job:localhost/replica:0/task:0/device:CPU:0"](TFRecordReaderV2, input_producer)]] Error reported to Coordinator: <class 'tensorflow.python.framework.errors_impl.NotFoundError'>, mr_train_tfs/mr_train_slice4848.tfrecords; No such file or directory [[Node: ReaderReadV2 = ReaderReadV2[_device="/job:localhost/replica:0/task:0/device:CPU:0"](TFRecordReaderV2, input_producer)]] tensorflow.python.framework.errors_impl.OutOfRangeError: RandomShuffleQueue '_5_shuffle_batch/random_shuffle_queue' is closed and has insufficient elements (requested 8, current size 0) [[Node: shuffle_batch = QueueDequeueManyV2[component_types=[DT_FLOAT, DT_FLOAT, DT_STRING], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/device:CPU:0"](shuffle_batch/random_shuffle_queue, shuffle_batch/n)]]
It seems that there are some problems with the TFRecord since
tf.train.shuffle_batch
with code error. Maybe it is the wrong shape or something else. I don't know how to do with it. Did any one encourter similar problems before? Looking forward to your reply, thank you!I have solved this problem. I have encountered this problem due to my mistake, not the author's source code or data. Thanks for the author's contribution :)
How do you solve it? I've got this problem too.