PSPNet-tensorflow icon indicating copy to clipboard operation
PSPNet-tensorflow copied to clipboard

training error

Open Strand2013 opened this issue 7 years ago • 6 comments

I met the error as follow when I train the model. "OutOfRangeError (see above for traceback): FIFOQueue '_1_create_inputs/batch/fifo_queue' is closed and has insufficient elements (requested 1, current size 0)"

Strand2013 avatar Sep 25 '18 06:09 Strand2013

@RaceSu I am having the same error. Did you find the solution?

bhadresh74 avatar Oct 01 '18 20:10 bhadresh74

hello, I also meet this problem. In my case. I want to train pspnet50 on ADE datasets. But I only need 8 classes in ADE datasets. So I modify the datasets. I found some of the images size is a little different from the original size. So I resize these images by nearest. It work.

watchmanloveli avatar Oct 05 '18 06:10 watchmanloveli

Specificly. I use the python to modify the dataset. The round function is different from that in matlab. This is the problem source.

watchmanloveli avatar Oct 05 '18 07:10 watchmanloveli

#34 Please find the solution to the problem.

narendoraiswamy avatar Oct 05 '18 13:10 narendoraiswamy

@RaceSu I am having the same error. Did you find the solution?

I solved it, the image height and width you set in code is not same as the input image's height and width, and the image need to be cv2.imread in and cv2.imwrite out, it will work, I don't know why.

Strand2013 avatar Oct 11 '18 12:10 Strand2013

@RaceSu I am having the same error. Did you find the solution?

I solved it, the image height and width you set in code is not same as the input image's height and width, and the image need to be cv2.imread in and cv2.imwrite out, it will work, I don't know why.

I'm having the same error. I'm sure my image size is same. So I want to know what‘s your mean 'the image need to be cv2.imread in and cv2.imwrite out' Thanks.

GoodMan0 avatar May 05 '19 14:05 GoodMan0