keon / seq2seq

Minimal Seq2Seq model with Attention for Neural Machine Translation in PyTorch
MIT License
689 stars 172 forks source link

[EROOR] Not Work Relu #20

Closed kenya-sk closed 5 years ago

kenya-sk commented 5 years ago

The following error occurs when executing "train.py".

TypeError: relu() got an unexpected keyword argument 'dim'

I checked the official documentation of pyTorch and it was not necessary to specify "dim" in any version.

WendongGan commented 5 years ago

Have this problem been solved? I also meet the problem.

kenya-sk commented 5 years ago

Have this problem been solved? I also meet the problem.

@UESTCgan I do not know because there was no reply, but maybe it has not been resolved. There are some that I implemented and confirmed the operation. Please refer to it if you like. https://github.com/kenya-sk/seq2seq_pytorch