yangxue0827 / R-DFPN_FPN_Tensorflow

R-DFPN: Rotation Dense Feature Pyramid Networks (Tensorflow)
http://www.mdpi.com/2072-4292/10/1/132
120 stars 47 forks source link

OutOfRangeError #16

Open BruceLee0718 opened 5 years ago

BruceLee0718 commented 5 years ago

我在用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文件太耗费时间了,请问有什么办法能将数据的读取改为顺序呢

Jnyle commented 5 years ago

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

BruceLee0718 commented 5 years ago

我检查过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