Closed ZealACMer closed 5 years ago
When I tried to change loss.data[0] to loss.item(), but encountered another problem, error message is shown as follows:
How can I solve this, thank you very much.
I have solved this problem, thank you every much.
@ZealACMer Hi, How did you resolve the problem? I encountered same issue.
What was the fix?
To be more specific, when I tried to use the following commands: I encountered the problem as shown in the following pic: I have not find the appropriate solution for this problem, can you help me? Thank you very much.