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

OutOfRangeError

Open lichuang0529 opened this issue 5 years ago • 2 comments

我在用test.py测试时遇到如下错误: OutOfRangeError (see above for traceback): PaddingFIFOQueue '_2_batch/padding_fifo_queue' is closed and has insufficient elements (requested 1, current size 0) [[Node: 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"](batch/padding_fifo_queue, batch/n)]] 我觉得是我制作的tfcord数据事用的xml数据出了问题,在转数据时报了如下的错误: Conversion progress:[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>]100% 110/110 Conversion is complete! 段错误 (核心已转储) 但是在测试时,数据的读取是随机的,数据量非常大的话去人工找xml文件太耗费时间了,请问有什么办法能将数据的读取改为顺序呢

lichuang0529 avatar Jan 02 '19 03:01 lichuang0529

检查一下你的tfrecord文件是否存在

Jnyle avatar Mar 13 '19 12:03 Jnyle

我检查过tfrecord存在,但是在训练时出现如下错误: 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)]] @yangxue0827

lichuang0529 avatar Apr 04 '19 01:04 lichuang0529