← 开源

A Simple pytorch implementation of GradCAM and GradCAM++

Jupyter Notebook
增长势头
+024 小时新增 Star0.0%
401
Star
101
Fork
1
贡献者
创建于 2018-08-02 · 更新于 2026-11-17 · 今日第 26253 名
主要开发者
README

A Simple pytorch implementation of GradCAM[1], and GradCAM++[2]


Supported torchvision models

  • alexnet
  • vgg
  • resnet
  • densenet
  • squeezenet

Usage

please refer to example.ipynb for general usage and refer to documentations of each layer-finding functions in utils.py if you want to know how to set target_layer_name properly.

References:

[1] Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localization, Selvaraju et al, ICCV, 2017
[2] Grad-CAM++: Generalized Gradient-based Visual Explanations for Deep Convolutional Networks, Chattopadhyay et al, WACV, 2018

排名相邻

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载