DrSleep / tensorflow-deeplab-resnet

DeepLab-ResNet rebuilt in TensorFlow
MIT License
1.25k stars 429 forks source link

Failed precondition: VOCdevkit #173

Open jiyongma opened 6 years ago

jiyongma commented 6 years ago

2018-03-31 15:16:50.186012: W tensorflow/core/framework/op_kernel.cc:1158] Failed precondition: VOCdevkit 2018-03-31 15:16:50.186013: W tensorflow/core/framework/op_kernel.cc:1158] Failed precondition: VOCdevkit step 1 loss = 0.252, (1.038 sec/step) step 2 loss = 0.200, (0.209 sec/step) 2018-03-31 15:16:51.357591: W tensorflow/core/framework/op_kernel.cc:1158] Out of range: FIFOQueue '_1_create_inputs/batch/fifo_queue' is closed and has insufficient elements (requested 4, current size 0) [[Node: create_inputs/batch = QueueDequeueManyV2[component_types=[DT_FLOAT, DT_UINT8], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](create_inputs/batch/fifo_queue, create_inputs/batch/n)]] 2018-03-31 15:16:51.357623: W tensorflow/core/framework/op_kernel.cc:1158] Out of range: FIFOQueue '_1_create_inputs/batch/fifo_queue' is closed and has insufficient elements (requested 4, current size 0)

DrSleep commented 6 years ago

what script are you running? did you check that all the images are present? more details will definitely help

jiyongma commented 6 years ago

When I use all the VOC data sets for training, I can run out perfectly and run the final segmentation results, but this error occurs when the number of data sets I train decreases.

jiyongma commented 6 years ago

Thank you ,please give me some suggestions.

DrSleep commented 6 years ago

what do you mean by this?

when the number of data sets I train decreases

jiyongma commented 6 years ago

When the number of txt is reduced,/deeplab/dataset/train.txt 10582 Ichange it to 10580 /less

DrSleep commented 6 years ago

that is quite strange.

do you change anything else?