-
Notifications
You must be signed in to change notification settings - Fork 233
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
[BUG] AnalyzerNetworkBase
analyzers error when using BatchNormalization
layers
#292
Labels
Comments
This was referenced Oct 11, 2022
Open
Hello, i am also encountering this issue. How do have a work around it? I saw that you can try to change to Dense layer. Is there a code that i could reference from? |
The workaround using a Dense layer is described here: #283 (comment) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On iNNvestigate
v2.0.1
, creating an analyzer inheriting fromAnalyzerNetworkBase
errors when the model contains aBatchNormalization
layer, e.g.:This might be due to batch normalisation layers keeping moving averages of the mean and standard deviation of the training data, causing problems with the Keras history when reversing the computational graph in iNNvestigate's
create_analyzer_model
.Minimal example reproducing the issue
Full stacktrace
The text was updated successfully, but these errors were encountered: