SwordYork / DCNMT

Deep Character-Level Neural Machine Translation
GNU General Public License v3.0
72 stars 19 forks source link

TypeError: __init__() got an unexpected keyword argument 'children' #4

Closed kadir-gunel closed 7 years ago

kadir-gunel commented 7 years ago

Hello,

After "solving" import error of RECURRENTSTACK_SEPARATOR. I encounterd with a new error in training_adam.py.

I am running this code inside a virtualenv with python3.5. All the libs are downloaded and are in latest versions.

Could you help please?

B.R.

SwordYork commented 7 years ago

Hi, I think it because of an old version of Blocks, it has been fixed in this PR . You could reinstall Blocks as following:

pip uninstall blocks
pip install git+git://github.com/mila-udem/blocks.git

If you encounter other problems, please feel free to raise questions here.

kadir-gunel commented 7 years ago

Thank you! Now it works! :+1:

SwordYork commented 7 years ago

@kadir-gunel you are welcome. By the way, the old version is faster and consumes less memory, but the BLEU is a little lower.