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

small batchsize has a lower mAP. #30

Open
DL-ljw opened this issue Mar 6, 2018 · 3 comments
Open

small batchsize has a lower mAP. #30

DL-ljw opened this issue Mar 6, 2018 · 3 comments

Comments

@DL-ljw
Copy link

DL-ljw commented Mar 6, 2018

Hi, @szq0214:
I only have two GTX 1080 GPUs. I want to reproduce you GRP-DSOD. When I change the batch_size and accum_batch_size to 6 and 30, the mAP is just 63%. What I should do to get the results as you paper?
Thanks.

@szq0214
Copy link
Owner

szq0214 commented Mar 6, 2018

@DL-ljw, batch_size can be a small value (6 is fine), but accum_batch_size should be 128 or larger.

@DL-ljw
Copy link
Author

DL-ljw commented Mar 6, 2018

When accum_batch_size is 128, it wil train a very long time. Maybe I should have a better machine,

@DL-ljw
Copy link
Author

DL-ljw commented Mar 22, 2018

Hi, @szq0214:
several days later.
I set batch_size = 6 and accum_batch_size = 128, it run 250 hours, and mAP is 76.5%(lower than 79.0 % in paper on pascal voc 2007 test)? Is the batch_size too small? What should I do next? We are planing to buy four GTX1080, these can set a larger batchsize, can they work?
Thanks.

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