hellochick / PSPNet-tensorflow

TensorFlow-based implementation of "Pyramid Scene Parsing Network".
326 stars 123 forks source link

training error #43

Open Strand2013 opened 6 years ago

Strand2013 commented 6 years ago

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)"

bhadresh74 commented 6 years ago

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

watchmanloveli commented 6 years ago

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 commented 6 years ago

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

narendoraiswamy commented 6 years ago

34 Please find the solution to the problem.

Strand2013 commented 6 years ago

@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.

GoodMan0 commented 5 years ago

@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.