vietnh1009 / Yolo-v2-pytorch

YOLO for object detection tasks
MIT License
373 stars 107 forks source link

Overfitting in the plots #12

Open sfarkya opened 5 years ago

sfarkya commented 5 years ago

Hi @vietnguyen91 , thanks for the great repo.

I was looking at the plots you have shown for the VOC training and I see a lot of overfitting in the test data. So, I was wondering why is that? Are you able to get good mAP eventually on the test data.

I am writing the code for yolo v2 myself in tensorflow and that's an issue I am really suffering from that my model is consistently overfitting just like yours and my output aren't as good as you have shown. I am using adam optimizer. I tried using SGD with momentum and weight decay as well as adam with weight decay but my network doesn't learn anything and the training oscillates without convergence. Have you seen anything of this sort?

Thanks for any suggestion or comments. Best, Saurabh

TimofeyKruk commented 4 years ago

I have kind of the same problem! The mAP is about zero and only people are detected quite well. If you found the reason why it happens I am looking forward to hearing it! Thank you in advance!