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

Can not reproduce results in your paper #13

Closed
AIZOOTech opened this issue Apr 28, 2022 · 7 comments
Closed

Can not reproduce results in your paper #13

AIZOOTech opened this issue Apr 28, 2022 · 7 comments

Comments

@AIZOOTech
Copy link

Hi, I downloaded your codes, and train ATSS-R50 and RankLoss-ATSS-R50, the results are:

algorithm exp1 mAP exp2 mAP
ATSS 0.396 0.393
RS-ATSS 0.393 0.392

The mAP of RS-ATSS is lower than ATSS, however, in the paper, RS-ATSS is 0.399 , ATSS is 0.393。
I wonder why can not reproduce the results, is there something wrong?

@kemaloksuz
Copy link
Owner

Hi,

Thanks for your interest in our work. I will try to assist reproducing the results.

What is your batch size (how many GPUs and how many images on each GPU) during training? Also, just to confirm: have you made any changes in the code or config file?

@AIZOOTech
Copy link
Author

AIZOOTech commented Apr 29, 2022

@kemaloksuz I only change workers_per_gpu from 4 to 2, nothing changed else.

 55 data = dict(
 56     samples_per_gpu=4,
 57     workers_per_gpu=2)

@kemaloksuz
Copy link
Owner

kemaloksuz commented Apr 29, 2022

What about number of GPUs?, i.e. How many GPUs do you use for training? You can also directly share your training command to see the number of GPUs.

@AIZOOTech
Copy link
Author

What about number of GPUs?, i.e. How many GPUs do you use for training? You can also directly share your training command to see the number of GPUs.

8 V100 16G GPU were used to train.

@kemaloksuz
Copy link
Owner

We used 4 GPUs for training ATSS and the learning rate is tuned for 4 images/GPU, that is 16 images in batch. So, that's the mismatch with our configuration. Hence, I think decreasing the number of GPUs to 4 (and keeping 4 images/GPU) should solve your reproduction problem.

@kemaloksuz
Copy link
Owner

Just to update: Upon your worries, we tried to reproduce ATSS and obtained 39.8 AP, which aligns with the reported result 39.9 AP. If you use 4 GPUs for training and 4 images/GPU, you should get ~39.9AP.

@kemaloksuz
Copy link
Owner

Using the provided info above, have you been able to reproduce our results? If so, could you please close the issue?

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