Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grad-cam.tensorflow

Gradient class activation maps are a visualization technique for deep learning networks. This is my implementation of Grad-CAM in tensorflow. I rewrite Grad-CAM funcion through it is a part of VGG graph. CAM may be obtained directly by launching graph.

The original paper: https://arxiv.org/pdf/1610.02391v1.pdf

Download the VGG16 weights from https://www.cs.toronto.edu/~frossard/vgg16/vgg16_weights.npz and put it to project directory.

Usage

python3 main.py --input laska.png --output laska_save.png

Results

Input Output
Original image Original image + Visualization

Acknowledgement

All code was taken from https://github.com/Ankush96/grad-cam.tensorflow.git and modified a little.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages