Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which keras version to use? #40

Open
rulai-huajunzeng opened this issue Aug 26, 2016 · 1 comment
Open

Which keras version to use? #40

rulai-huajunzeng opened this issue Aug 26, 2016 · 1 comment

Comments

@rulai-huajunzeng
Copy link

rulai-huajunzeng commented Aug 26, 2016

Thanks for the wonderful tool! But I got some errors when I tried one command in the readme: python tools/train.py cnn para data/para/msr/msr-para-train.tsv data/para/msr/msr-para-val.tsv

Using the latest version of keras (1.0.7), I found the following error:
ImportError: cannot import name LambdaMerge
I replaced all the LambdaMerge by Merge in blocks.py and re-run the command, another error appears:
Exception: Layer e0[0] does not support masking, but was passed an input_mask: Elemwise{neq,no_inplace}.0

Then I uninstall it and install keras 0.3.2, but another error occur.
AssertionError: Keyword argument not understood: dropout

Appreciate the help!

@gozdesahin
Copy link

gozdesahin commented Aug 26, 2016

I have the same problem.

When you add 'dropout' into the allowed arguments in core.py init function it starts training with no dropout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants