Home Projects torch-cam
torch-cam
Python

torch-cam

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)

by frgfm · GitHub
Stars
Forks
License
Created
Last commit
Language
activation-mapsclass-activation-mapcnnApache-2.0Python
View on GitHub
In plain words

Generate visual maps that show which parts of images your AI models focus on when making decisions.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
torch-cam — GitHub preview card
📈 Star history
2 3022 300
2026-07-072026-08-31
📈 Track torch-cam

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

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)

torch-cam has 2.3k stars on GitHub. It has been forked 224 times. torch-cam is written mainly in Python. It has been in active development since 2020. torch-cam is available under the Apache-2.0 license. Its main topics are activation-maps, class-activation-map, cnn, deep-learning.

Frequently asked questions

What is torch-cam?

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)

Is torch-cam open source?

torch-cam is an open-source project. It is released under the Apache-2.0 license.

Is torch-cam free?

Yes. torch-cam is free and open source — you can use, modify and self-host it.

What license does torch-cam use?

torch-cam is available under the Apache-2.0 license.

What language is torch-cam written in?

torch-cam is written mainly in Python.

🏅 Maintainer of this project?
olud.ai badge — torch-cam

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=frgfm-torch-cam)](https://olud.ai/project/frgfm-torch-cam.html)
More badge options →
🧬 Shares DNA with🧬 View the DNA map →

Measured from GitHub topics shared by both projects, weighted by how rare each topic is.