← 开源

An implementation of Grad-CAM with keras

Model DevelopmentInterpretabilityPython
增长势头
+024 小时新增 Star0.0%
662
Star
228
Fork
+-1
本周
2
贡献者
创建于 2016-10-23 · 更新于 2026-12-02 · 今日第 19571 名
主要开发者
jacobgiltwuilliam
README

Grad-CAM implementation in Keras

Gradient class activation maps are a visualization technique for deep learning networks.

See the paper: https://arxiv.org/pdf/1610.02391v1.pdf

The paper authors torch implementation: https://github.com/ramprs/grad-cam

This code assumes Tensorflow dimension ordering, and uses the VGG16 network in keras.applications by default (the network weights will be downloaded on first use).

Usage: python grad-cam.py <path_to_image>

Examples

Example image from the original implementation:

'boxer' (243 or 242 in keras)

'tiger cat' (283 or 282 in keras)

排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载