eclique / keras-gradcam

Keras implementation of GradCAM.
MIT License
115 stars 45 forks source link

keras-gradcam

Keras implementation of GradCAM.

Adapted and optimized code from https://github.com/jacobgil/keras-grad-cam.

Original torch implementation: https://github.com/ramprs/grad-cam.

To run script: python grad_cam.py </path/to/img>.

Notebook has more details on usage and code to efficiently process multiple images.

Description

Repository contains implementation of three approaches to explain base model predictions:

Implementation uses Tensorflow as backend and VGG16 as base model.

Examples