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

cannot import name 'Layer' from 'keras.engine' #54

Open
falibabaei opened this issue Jul 9, 2020 · 1 comment
Open

cannot import name 'Layer' from 'keras.engine' #54

falibabaei opened this issue Jul 9, 2020 · 1 comment

Comments

@falibabaei
Copy link

falibabaei commented Jul 9, 2020

I want to add a custom attention layer to my model but when I run the code in
#15 (mzbac commented on Feb 8, 2018), I received the following error
cannot import name 'Layer' from 'keras.engine'
I think the problem is with importing Recurrent from keras.layers.recurrent
any suggestions to solve this issue?

@yuanphoenix
Copy link

Do you konw how to solve this problem?

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