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

<Fixed a bug in accuracy calculation> #221

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

Conversation

htlee6
Copy link

@htlee6 htlee6 commented Oct 20, 2020

<The variable correct is a tensor object, which may lead to a
RuntimeError when divided by an int. Using the method .item() solves
this problem. Fix #220>

<The variable `correct` is a tensor object, which may lead to a
RuntimeError when divided by an int. Using the method `.item()` solves
this problem. Fix yunjey#220>
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.

RuntimeError in Logistic Regression python file
1 participant