-
Notifications
You must be signed in to change notification settings - Fork 110
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 Report] - Error in true_divide -> All ResnetV2 Keras Models #130
Comments
@Meywether This might be due to heatmap.min being equal to heatmap.max. You might want to remove the last softmax layer of the Resnet to prevent this from happening. |
@RaphaelMeudec is right here. Even I had the same issue. I resolved it by removing the last layer from my pre-trained model. |
Hello @RaphaelMeudec and @nishantagarwal ,
So I created a second model by using: model2.summary() shows me that the props layer is gone, but still getting the same error I thought that May I ask you to provide me a code snippet ? Best regards Meywether |
I have the same problem as @Meywether , with a custom keras model with multi output ( segmentation and classification). |
Dear Sicara,
thanks for this great easy-to-use library.
I do have to mention a bug in your script if I am using one of the ResnetV2 Models:
Starting with a small modified version of your provided example, tf-explain throws following error by using:
The "V1" Versions are working properly. -> Tested with all three variants!
The script throws following error:
Thanks in advance!
Best regards
Meywether
Attached: My version of your provided example:
The text was updated successfully, but these errors were encountered: