Tensorflow FIFOQueue error: FIFOQueue is closed and has insufficient elements

前端 未结 4 1590
眼角桃花
眼角桃花 2021-01-19 03:03

Now I am using tensorflow to write a program to validate models. I use the FIFOQueue to queue the input data. For example, I have 50,000 images and enqueue 100 images at a t

4条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-19 03:33

    Try dequeue_up_to instead of dequeue_many: https://www.tensorflow.org/versions/r0.10/api_docs/python/io_ops.html

    Hope that helps!

提交回复
热议问题