-
Notifications
You must be signed in to change notification settings - Fork 45
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
Scipy.ndimage.interpolation raises exception on rotate in utils.input_modifiers #58
Comments
@oystersandwich , Thank you for your reporting the error! You can avoid this error by modifying from tf_keras_vis.utils.regularizers import Norm
activations = activation_maximization(score,
steps=256,
input_modifiers=[],
regularizers=[Norm(10.)],
callbacks=[PrintLogger(interval=50)]) (EDITED: Remove Jitter and Add L2Norm.) The cause of this problem is that Thanks! |
@keisen , thanks very much for your quick reply! Cannot say I already fully understand your solution, but I can report the former one with jitter is working:
However, the edited one with |
Thank you for letting me know that.
I may not understand your situation enough, or my test environment may have any problem. |
I looked into this error, but I didn't find the cause of it. Thanks! |
Hi there, thank you for this great library!
I've stepped over a problem on trying to "Visualizing Dense layer using ActivationMaximization" as in your perfect example.
I updated everything and the example worked as expected. When I run with my own fully dense model I get following error (model summary in front, exact same for the other example with conv!):
I debugged through the code but couldn't find any clues yet and would like to help to find out if this is a bug or a setup problem.
Is anything similar known? Any suggestions where to look?
Thanks!
The text was updated successfully, but these errors were encountered: