Closed congruili closed 6 years ago
The issue was caused pytorch 0.4.0, using pytorch 0.3.1 would work.
you can also change correct to correct.item()
This project do not support training anymore. So do you know a better code for sentence embedding? Thank you!
changed to item() but loss not updated anymore..... anyone has any solution..
Anyone knows what's wrong? Why the dimension of the loss tensor is 0? Thanks!