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

iNNvestigate 2.0: LRP-Network-Canonization Module #205

Open
6 tasks
leanderweber opened this issue Aug 7, 2020 · 3 comments
Open
6 tasks

iNNvestigate 2.0: LRP-Network-Canonization Module #205

leanderweber opened this issue Aug 7, 2020 · 3 comments

Comments

@leanderweber
Copy link
Collaborator

Special Model Types to Consider

  • LSTM
  • ResNet
  • DenseNet
  • ...

Mixed Ideas

  • Replace Pooling Layer with Conv2D
  • ...
@miriamelia
Copy link

I get NotImplementedError:

LRP is only tested for convolutional neural networks. Check triggered by layers: [<keras.layers.core.tf_op_layer.TFOpLambda object at 0x2c36c0370>, <keras.layers.core.tf_op_layer.TFOpLambda object at 0x2c3879eb0>, <keras.layers.core.tf_op_layer.TFOpLambda object at 0x2c388da30>, <keras.layers.core.tf_op_layer.TFOpLambda object at 0x2c36c0310>, <keras.layers.wrappers.Bidirectional object at 0x2c38a69d0>, <keras.layers.wrappers.Bidirectional object at 0x2c38ce4f0>]

even though I have version 2.0.1:

conda list
innvestigate 2.0.1 pypi_0 pypi

... so lrp is not implemented for lstms?

@adrhill
Copy link
Collaborator

adrhill commented Oct 11, 2022

Yes, iNNvestigate doesn't support LSTM layers.

@miriamelia
Copy link

miriamelia commented Oct 13, 2022

okay :)
found this implementation, maybe one day it could be implemented in your framework
https://github.com/ArrasL/LRP_for_LSTM

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

No branches or pull requests

3 participants