Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very Low mAP on COCO 2014 When Training from Scratch Using darknet53.conv.74 Pretrained Weights #859

Open
martin0310 opened this issue Feb 9, 2025 · 2 comments

Comments

@martin0310
Copy link

Below is the code version I used. I followed the steps in the README, including testing and training on the COCO 2014 dataset.

Image

  • The test mAP is only 53.913%, which is lower than the 55.5% mentioned in the README.

Image

Image

  • The training mAP is even worse. It seems that the model fails to train properly, as the final mAP is only about 10% after completing 300 epochs.

  • When I modify the initial learning rate in config/yolov3.cfg to 0.00001, the mAP gradually increases at the beginning, reaching around 26%. However, after approximately 60 epochs, the mAP increases very slowly, and by epoch 300, it remains around 26%, almost the same as at epoch 60. This suggests that the learning rate is too small after 60 epochs.

  • If I comment out the code that decreases the learning rate, it does not make much difference—the final mAP still remains around 26% after 300 epochs. (This is after modifying the initial learning rate in config/yolov3.cfg to 0.00001.)

Image

@bomsoo-kim
Copy link

I'm having the same issue, when training the COCO 2014 dataset.
I've just finished 80 epochs with the default setting, but the max mAP is only around 2%. And so even after the default epochs = 300, it won't seem to reach the number mentioned in the README...

Image

Please help us :)

@martin0310
Copy link
Author

Lowering the decay value in yolov3.cfg works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants