Skip to content

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