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

About the performance of SimCLR #17

Closed
scnuhealthy opened this issue Jul 22, 2020 · 2 comments
Closed

About the performance of SimCLR #17

scnuhealthy opened this issue Jul 22, 2020 · 2 comments

Comments

@scnuhealthy
Copy link
Contributor

This is a wonderful project!
I found a bug in the code. The word 'CosineAnealing' in the config file 'configs/selfup/moco/r50_v2.py' should be 'CosineAnnealing', and I think this bug results from the spelling error fixed in mmvc.
And here I am confused about the performance of SimClR, which is much lower than that printed in the paper (e.g. 64.5% vs 75.5, the Top-5 accuracy on semi-supervised learning on ImageNet 1%). Is it mainly because of the batch size (the batch size of your reproduction is only 256)?
Looking forward to your reply!

@XiaohangZhan
Copy link
Collaborator

XiaohangZhan commented Jul 23, 2020

Thank you for your remind. I fixed it just now.
Because in our implementation, the batch size is 256, the total epoch is 200, while in SimCLR full setting, the batch size is 4096, the epoch is 1000. In our setting, the result of linear classification in ImageNet is consistent with that officially reported by SimCLR. We are not able to run the full setting for now. Besides, the evaluation setting is also different from that of SimCLR which also requires a large number of computation resources. We set up a new evaluation protocol applicable to all methods for fair comparison.

@scnuhealthy
Copy link
Contributor Author

Thanks for your answers.

Jiahao000 added a commit that referenced this issue Dec 16, 2021
* [Docs] add partial results

* [Docs] update results
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