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

'LSTM' object has no attribute 'kernel' #6

Open
SaremS opened this issue Jun 10, 2018 · 0 comments
Open

'LSTM' object has no attribute 'kernel' #6

SaremS opened this issue Jun 10, 2018 · 0 comments

Comments

@SaremS
Copy link

SaremS commented Jun 10, 2018

Hi,

since I have updated keras from 2.0.4 to 2.2.0, I am getting

line 76, in build
weight = self.layer.kernel
AttributeError: 'LSTM' object has no attribute 'kernel'

when trying to use the ConcreteDropout class (copied from your notebook) with LSTM/SimpleRNN which wasn't the case before; Normal Dense() layers are working fine. I am trying to fix it myself, but maybe you already got a solution for this.

Thanks a lot,
Sarem

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

1 participant