Skip to content

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

@SaremS

Description

@SaremS

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions