-
Notifications
You must be signed in to change notification settings - Fork 19.5k
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
Getting model activations with K.function doesn't work since v2.2.0 #10372
Comments
Please provide a standalone error reproduction code snippet (something that can be copy/pasted and run as-in, producing this error). |
Here's a standalone code that reproduces the error with Keras 2.2.0 and works with v2.1.6:
The error:
|
Similar issue found while using the visualization tool
|
Similar issue here too. I'm trying to run the example script for 'Activation Maximization on VGGNet'.
|
@ViaFerrata After checking your code, I found the
to remove the first |
Hi there,
I'm running into problems with getting the activations of a model using
K.function
since Keras 2.2.0. With 2.1.6, everything works fine. I'm using the tensorflow backend with a convnet with multiple outputs.A (shortened) code snippet can be found below:
The last line yields the following error since 2.2.0:
Any idea what could have changed in 2.2.0?
The text was updated successfully, but these errors were encountered: