hellochick / ICNet-tensorflow

TensorFlow-based implementation of "ICNet for Real-Time Semantic Segmentation on High-Resolution Images".
405 stars 153 forks source link

OutOfRangeError #66

Open JuOllie opened 6 years ago

JuOllie commented 6 years ago

After making the changes suggested in #20 and #50, I am getting this error:

OutOfRangeError (see above for traceback): FIFOQueue '_1_create_inputs/batch/fifo_queue' is closed and has insufficient elements (requested 48, current size 0)
     [[Node: create_inputs/batch = QueueDequeueManyV2[component_types=[DT_FLOAT, DT_UINT8], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/device:CPU:0"](create_inputs/batch/fifo_queue, create_inputs/batch/n)]]

I wanted to know if it is because of the size of my dataset (<1000 images) or if there is any other reason for this. Any help would be appreciated!

Also, I tried using a lower batch size and I'm still getting this error.

ogail commented 6 years ago

I don't think it's because of the dataset size. It worked with few tens of images before (~300). What is the change in the code you think resulted into getting this error, I don't recall seeing it before.