R2CNN_FPN_Tensorflow
R2CNN_FPN_Tensorflow copied to clipboard
python train.py fail.
When I use "python train.py" ,fail.
My train data is voc_pascal.I success to create pascal_train.tfrecord(2.7G) . The classes is 20(car,boat,person... etc)
I also change cfgs.py . DATASET_NAME = 'pascal' .
Also success load pre-train file resnet_v1_101.ckpt.
But finally, report error,just like this:
restore model
Traceback (most recent call last):
File "tools/train.py", line 238, in
Caused by op u'get_batch/batch', defined at:
File "tools/train.py", line 238, in
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, gradients/range/delta)]]
Whats matter?@yangxue0827
Please refer to sample.xml
Thank you ! I find the diffrent. @yangxue0827 original:xmin ymin xmax ymax now:x0 y0 y0 x1 y1 x2 y2 x3 y3
when I run python train.py,there has a problem:
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/cpu:0"](get_batch/batch/padding_fifo_queue, get_batch/batch/n)]]
and the xml has no mistake
Whats matter?@yangxue0827
thankyou!
@mengmeng510 I met the same error and I have solved it. Just confirm that your tfrecods is under this path: ${R2CNN_FPN_Tensorflow}/data/tfrecords.
@JisuiWang remain OutOfRangeError
@yangxue0827 Hi, if I want to train on Pascal VOC, what should I do to fix this error..?
@yangxue0827 @JisuiWang Solved!That is because some of my xmls contain no object.