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

Something wrong in the top5 accuracy #8

Open
whaohan opened this issue Feb 25, 2021 · 1 comment
Open

Something wrong in the top5 accuracy #8

whaohan opened this issue Feb 25, 2021 · 1 comment

Comments

@whaohan
Copy link

whaohan commented Feb 25, 2021

There may be something wrong in top5 accuracy updating, which making the top5 accuracy is the same as the top1.
The code with problem(main.py) is as follow:
image

@tomorrow-rain
Copy link

There may be something wrong in top5 accuracy updating, which making the top5 accuracy is the same as the top1. The code with problem(main.py) is as follow: image

top5.update(prec5[0], input.size(0))

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