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 #19

Open
BruceLee0718 opened this issue Apr 4, 2019 · 2 comments
Open

OutOfRangeError #19

BruceLee0718 opened this issue Apr 4, 2019 · 2 comments

Comments

@BruceLee0718
Copy link

请问在训练时出现如下错误可能是什么原因:
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)]]

@Smoothing97
Copy link

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

@houyk1
Copy link

houyk1 commented Aug 24, 2019

I met the same problem. Have you fix it ?

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

3 participants