R-DFPN_FPN_Tensorflow icon indicating copy to clipboard operation
R-DFPN_FPN_Tensorflow copied to clipboard

OutOfRangeError

Open BruceLee0718 opened this issue 5 years ago • 2 comments

请问在训练时出现如下错误可能是什么原因: OutOfRangeError (see above for traceback): PaddingFIFOQueue '_2_get_batch/batch/padding_fifo_queue' is closed and has insufficient elements (requested 1, current size 0) [[Node: get_batch/batch = QueueDequeueManyV2[component_types=[DT_STRING, DT_FLOAT, DT_INT32, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/device:CPU:0"](get_batch/batch/padding_fifo_queue, get_batch/batch/n)]]

BruceLee0718 avatar Apr 04 '19 01:04 BruceLee0718

是因为tfrecord错误。可以在read_tfrecord.py下面作者给出了调试输出的主函数,加载你的tfrecord然后尝试输出。在报OOR错误的情况下,不会有输出。 尝试重新下载数据集、重新分割数据集并且重新生成tfrecord。

Smoothing97 avatar May 14 '19 16:05 Smoothing97

I met the same problem. Have you fix it ?

houyk1 avatar Aug 24 '19 08:08 houyk1