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

ImportError: cannot import name _collect_previous_mask #254

Open
ems7 opened this issue Jun 22, 2018 · 1 comment
Open

ImportError: cannot import name _collect_previous_mask #254

ems7 opened this issue Jun 22, 2018 · 1 comment

Comments

@ems7
Copy link

ems7 commented Jun 22, 2018

File "RNN.py", line 12, in
from seq2seq import Seq2Seq, AttentionSeq2Seq
File "/usr/local/lib/python2.7/dist-packages/seq2seq/init.py", line 1, in
from .cells import *
File "/usr/local/lib/python2.7/dist-packages/seq2seq/cells.py", line 1, in
import recurrentshop
File "build/bdist.linux-x86_64/egg/recurrentshop/init.py", line 1, in

File "build/bdist.linux-x86_64/egg/recurrentshop/engine.py", line 6, in
ImportError: cannot import name _collect_previous_mask

According to #177 this error is caused by an old version of keras, however i am using Keras 2.2.0

@ty5491003
Copy link

ty5491003 commented Jun 28, 2018

i juse solved this problem, u can seehttps://github.com/farizrahman4u/seq2seq/issues/250

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