Closed Naruto-Sasuke closed 7 years ago
you can refer to the issue #6 to solve this problem
@caogang Is this problem fixed on master branch of Pytorch? I encountered a different problem where costs soon became nan and it can also be fixed by your solution. Is there still something wired that has not been fixed about masked_fill
?
It will soon be fixed in the pytorch branch. Maybe i will test it in the future days.
https://github.com/pytorch/pytorch/commit/ac1c674723d503d96ba6cd7533a615d1b551e606
Any quick fix or just wait for the milestone when stable double backprop have been implemented?