GradCAM Save

A PyTorch implementation of Grad-CAM based on ICCV 2017 paper "Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localization"

Project README

GradCAM

A PyTorch implementation of Grad-CAM based on ICCV 2017 paper Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localization.

Requirements

conda install pytorch torchvision -c pytorch
  • opencv
conda install opencv

Usage

python vis_grad_cam.py --image_name dog_and_cat.png --save_name result.png
optional arguments:
--image_name              the tested image name [default value is both.png]
--save_name               saved image name [default value is grad_cam.png]

Result

result result

Open Source Agenda is not affiliated with "GradCAM" Project. README Source: leftthomas/GradCAM
Stars
52
Open Issues
1
Last Commit
6 years ago
Repository

Open Source Agenda Badge

Open Source Agenda Rating