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

Predicted Class Name not plottted in Ch2-what-does-my-neural-network-think.ipynb #148

Open
CloudaYolla opened this issue Jun 11, 2021 · 1 comment

Comments

@CloudaYolla
Copy link

Hi,
Thanks for the amazing book. I recently finished the book and started trying out exercises.

In this notebook [1], the predictions like "10% cardigan" are not plotted in the -output.jpg image. What am I missing?

Thank you.

[1] https://github.com/PracticalDL/Practical-Deep-Learning-Book/blob/master/code/chapter-2/2-what-does-my-neural-network-think.ipynb

sidgan referenced this issue Jun 19, 2021
After receiving errors running the original code locally (I kept receiving error with the original gradcam().explain() line), I edited the code and combined it with the official gradcam documentation from the Keras website. This runs without error for me on windows.
@sidgan
Copy link
Collaborator

sidgan commented Jun 21, 2021

Hi @CloudaYolla you may consider making a small PR as suggested in 47fd74b#comments which will add the predictions line.

The missing line somehow got dropped while upgrading with newer PRs.

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

No branches or pull requests

2 participants