keon / seq2seq

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

modify relu function #21

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.