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

Update main.py #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update main.py #6

wants to merge 1 commit into from

Conversation

JustinAsdz
Copy link

Make prec1 useful rather than always be 1.

Sorry,Don't know how to close the pull request before it is vertified.
The changing code seems not able to work, plz use the following change instead
return (100. * correct / len(test_loader.dataset))

This should work , just the prec is in 1 100 rather than 0 1.

Make prec1 useful  rather than always be 1.
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

Successfully merging this pull request may close these issues.

1 participant