Open htlee6 opened 4 years ago
<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>
correct
.item()
<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>