Open jinghuayao opened 3 years ago
In the train.py script, Line 45: "return output, loss.data[0]", ---> "return output, loss.item()" is suggested.
In the train.py script, Line 45: "return output, loss.data[0]", ---> "return output, loss.item()" is suggested.