Closed sreesindhu-sabbineni closed 4 years ago
It seems there exists some grayscale images in the official dataset. You can modify the code to fit the situation. And I maybe update some modificaitions to this project after I validate this guess in a few hours.
Thanks for the quick reply. But as per the error message my understanding is that the difference in dimensions between ground truth label (segmentation ground truth) and original JPEG image is causing the error which it shouldn't. Please correct me if I am wrong. Also, if there are grey scale images, can we simply bypass them by checking the dimensions of the input image?
I have the same issue while training SEC-tensorflow as well. Do you think the problem lies in the JPEG Images dataset of PASCAL VOC?
Also, I think epoch 0 is running fine as I get the below output before the error.
start_time: 1579081217.421928 config -- lr:0.001000 weight_decay:0.000500 momentum:0.900000 batch_size:4.000000 epoches:32.000000 epoch:0.000000, iteration:0.000000, lr:0.001000, loss:13.516954 seed_loss:12.225690,constrain_loss:0.522553
After checking the images and labels in JPEGImages and SegmentationClassAug folders respectively, I agree with your opinion that the errors arise from the dimensions of ground truth labels. Therefore, I just fixed this bug and retested it. And it now seems to work in my local computer. I also uploaded the new commit to this project a few minutes ago. Hope the newest code can solve your problem.
Thank you. I am training the model now and will let you know once it is complete. By the way, I was able to start training it successfully yesterday with the previous version by keeping batch size as 1.
The model was trained successfully and the final loss came to 1.12 Also,would you mind adding the process to evaluate the model in the evaluation project.
I am trying to reproduce the results but I am getting the below error while training the model.