Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OutOfRangeError #16

Open
BruceLee0718 opened this issue Jan 2, 2019 · 2 comments
Open

OutOfRangeError #16

BruceLee0718 opened this issue Jan 2, 2019 · 2 comments

Comments

@BruceLee0718
Copy link

我在用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
Copy link

Jnyle commented Mar 13, 2019

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

@BruceLee0718
Copy link
Author

BruceLee0718 commented Apr 4, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants