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

Cannot reproduce KNN performance for vanilla ViT-S training #280

Open
wangh09 opened this issue Jun 28, 2024 · 1 comment
Open

Cannot reproduce KNN performance for vanilla ViT-S training #280

wangh09 opened this issue Jun 28, 2024 · 1 comment

Comments

@wangh09
Copy link

wangh09 commented Jun 28, 2024

Hi! I followed the instructions in the readme.md to train a vanilla ViT-S model, and yield 68.4% KNN top1 acc which is 0.9% less than the claimed one. Is it because pytorch version matters or I should export the teacher backbone for evaluation? Thanks!

@wangh09
Copy link
Author

wangh09 commented Jul 5, 2024

I re-run vanilla training using PyTorch 1.7 (68.53%), PyTorch 1.13 (68.43%) PyTorch 2.3 (68.40%) without changing a line of code. Although the results show some correlation with PyTorch&CUDA versions but the difference should less than 0.2%. Is there any chance that there's a typo in the doc or the code for the 69.3% training is different with current main branch? 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

1 participant