zhoubolei/CAM
Class Activation Mapping observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3796
- days_rel: n/a
- days_push: 1450
- n_releases_24m: 0
Adoption not part of the score
1883 stars · 461 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Reference implementation of Class Activation Mapping (CAM), a CVPR'16 technique that visualizes which image regions a CNN attends to when predicting a class. It includes MATLAB/Caffe demo code with pre-trained GoogLeNet, VGG16, and AlexNet models plus a PyTorch script for generating heatmaps from modern networks.
Use cases
- visualize what regions of an image a CNN focuses on for its prediction
- generate class activation heatmaps from pretrained ResNet or DenseNet in PyTorch
- extract weakly-supervised object bounding boxes from image-level labels
- interpret and debug CNN classification decisions
- reproduce the CVPR'16 CAM paper experiments on ImageNet and Places
When to choose
- you need the original CAM method for research reproduction or citation
- you want heatmap visualization without modifying network architecture using GAP-based models
- you need pre-trained CAM models for Caffe on ImageNet or Places
When to avoid
- you need modern explainability methods like Grad-CAM with finer localization
- your project requires actively maintained tooling or recent framework support
- you work outside Python/PyTorch or MATLAB/Caffe ecosystems
Facets
library · maturity maintenance
machine-learning computer-vision image-processing data-visualization deep-learning computer-vision image-processing machine-learning python cross-platform class-activation-mapping cnn-visualization saliency-maps weakly-supervised-localization cvpr-2016 pytorch caffe matlab
2 sources
- readme: https://github.com/zhoubolei/CAM · fetched 2026-08-28 · e54316ef222c
- homepage: http://cnnlocalization.csail.mit.edu/ · fetched 2026-08-29 · 819f3154190c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| zhoubolei/CAM | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem