In seq2seq-translation-batched.ipynb, the import of masked_cross_entropy seems not worked.
When I execute to this line, an error occured that
Traceback (most recent call last):
File "seq2seq-translation-batched.py", line 83, in <module>
from masked_cross_entropy import *
ImportError: No module named masked_cross_entropy
But import torch seems fine.
And my PyTorch version is
>>> torch.__version__
'0.3.0.post4'
What can I do? I’ve not found any thing about this import issue.