Skip to content
r.

torch-cam

frgfm/torch-cam · Public GitHub repository

Class activation maps for your PyTorch models (CAM, Grad-CAM, Grad-CAM++, Smooth Grad-CAM++, Score-CAM, SS-CAM, IS-CAM, XGrad-CAM, Layer-CAM, Finer-CAM, LeGrad, RefineCAM)

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

torch-cam live demo screenshot
Captured from the live demo · 2026-11-02

About this project

Author-written excerpt from the project README.

Explain PyTorch decisions: activation maps for image classifiers, detectors, segmenters and VLMs, and token contributions for text classifiers.

Debugging one surprising classifier result? Use the predicted-versus-expected agent workflow, install the portable skill in your coding agent with npx skills add frgfm/torch-cam, or start from llms.txt.

Requirements and intended audience

Explain PyTorch decisions: activation maps for image classifiers, detectors, segmenters and VLMs, and token contributions for text classifiers.

Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-10-21. Source: https://github.com/frgfm/torch-cam/blob/main/README.md

Recorded maintenance information

Last recorded source update: 2026-11-02. Saved release: v0.5.0 · 2026-10-03. These dates do not guarantee ongoing maintenance.

Technologies
Python
Licence
Apache-2.0. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-16. This does not test every feature.

Browse related categories