{"adoption": {"forks": 227, "observed_at": "2026-08-28T04:06:35.699930+00:00", "stars": 2304}, "canonical_url": "https://ross.abutalabs.com/products/torch-cam", "card": {"archived": false, "artifact_type": "library", "description": "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)", "domain": ["deep-learning", "computer-vision", "machine-learning"], "enriched": true, "function": ["machine-learning", "deep-learning", "image-processing", "data-visualization"], "health_score": 95, "homepage": "https://frgfm.github.io/torch-cam/", "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["frgfm/torch-cam"], "name": "frgfm/torch-cam", "platform": ["python"], "pushed_at": "2026-08-26T08:03:10+00:00", "repo": "frgfm/torch-cam", "stars": 2304, "tags": ["pytorch", "grad-cam", "class-activation-map", "saliency-map", "explainability", "cnn", "interpretability"], "topics": ["pytorch", "python", "deep-learning", "cnn", "activation-maps", "gradcam-plus-plus", "gradcam", "saliency-map", "interpretability", "interpretable-deep-learning", "smoothgrad", "score-cam", "class-activation-map", "grad-cam"], "urls": [], "use_cases": ["visualize which image regions a CNN classifier focuses on", "debug surprising model predictions with saliency maps", "compare Grad-CAM, Score-CAM, and other CAM methods on a PyTorch model", "explain classification outputs for a pretrained ResNet", "research and prototype new class activation map techniques", "generate activation map overlays for model interpretability reports"], "what_it_is": "TorchCAM is a Python library that extracts class activation maps (CAMs) from PyTorch CNN classifiers, supporting many CAM variants such as Grad-CAM, Score-CAM, Layer-CAM, and more. It offers a minimal hook-based API for visualizing which spatial features influence a model's classification outputs.", "when_to_avoid": ["you need interpretability for transformers or non-CNN architectures", "you work in TensorFlow, JAX, or another non-PyTorch framework", "you need production-grade model explanation pipelines rather than exploratory visualization"], "when_to_choose": []}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/torch-cam", "repo": "frgfm/torch-cam", "role": "main", "score": 72}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.699930+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:39:43.435328+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "38cffcf2c41fa8ab054c7891b51f772c9a2290feea0c29704c07089378cc1752", "fetched_at": "2026-08-28T04:06:35.699930+00:00", "kind": "readme", "missing": false, "url": "https://github.com/frgfm/torch-cam"}, {"content_hash": "cdc38b08ad4005988fb6bec54a034be16a9dc9c299573f55fae12ecf6ab58c7a", "fetched_at": "2026-08-29T10:20:07.256895+00:00", "kind": "homepage", "missing": false, "url": "https://frgfm.github.io/torch-cam/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.699930+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:39:43.435328+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "38cffcf2c41fa8ab054c7891b51f772c9a2290feea0c29704c07089378cc1752", "fetched_at": "2026-08-28T04:06:35.699930+00:00", "kind": "readme", "missing": false, "url": "https://github.com/frgfm/torch-cam"}, {"content_hash": "cdc38b08ad4005988fb6bec54a034be16a9dc9c299573f55fae12ecf6ab58c7a", "fetched_at": "2026-08-29T10:20:07.256895+00:00", "kind": "homepage", "missing": false, "url": "https://frgfm.github.io/torch-cam/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:39:43.435328+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "38cffcf2c41fa8ab054c7891b51f772c9a2290feea0c29704c07089378cc1752", "fetched_at": "2026-08-28T04:06:35.699930+00:00", "kind": "readme", "missing": false, "url": "https://github.com/frgfm/torch-cam"}, {"content_hash": "cdc38b08ad4005988fb6bec54a034be16a9dc9c299573f55fae12ecf6ab58c7a", "fetched_at": "2026-08-29T10:20:07.256895+00:00", "kind": "homepage", "missing": false, "url": "https://frgfm.github.io/torch-cam/"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.699930+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.699930+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.699930+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:39:43.435328+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "38cffcf2c41fa8ab054c7891b51f772c9a2290feea0c29704c07089378cc1752", "fetched_at": "2026-08-28T04:06:35.699930+00:00", "kind": "readme", "missing": false, "url": "https://github.com/frgfm/torch-cam"}, {"content_hash": "cdc38b08ad4005988fb6bec54a034be16a9dc9c299573f55fae12ecf6ab58c7a", "fetched_at": "2026-08-29T10:20:07.256895+00:00", "kind": "homepage", "missing": false, "url": "https://frgfm.github.io/torch-cam/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.699930+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.699930+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:39:43.435328+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "38cffcf2c41fa8ab054c7891b51f772c9a2290feea0c29704c07089378cc1752", "fetched_at": "2026-08-28T04:06:35.699930+00:00", "kind": "readme", "missing": false, "url": "https://github.com/frgfm/torch-cam"}, {"content_hash": "cdc38b08ad4005988fb6bec54a034be16a9dc9c299573f55fae12ecf6ab58c7a", "fetched_at": "2026-08-29T10:20:07.256895+00:00", "kind": "homepage", "missing": false, "url": "https://frgfm.github.io/torch-cam/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.699930+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.699930+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.699930+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:39:43.435328+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "38cffcf2c41fa8ab054c7891b51f772c9a2290feea0c29704c07089378cc1752", "fetched_at": "2026-08-28T04:06:35.699930+00:00", "kind": "readme", "missing": false, "url": "https://github.com/frgfm/torch-cam"}, {"content_hash": "cdc38b08ad4005988fb6bec54a034be16a9dc9c299573f55fae12ecf6ab58c7a", "fetched_at": "2026-08-29T10:20:07.256895+00:00", "kind": "homepage", "missing": false, "url": "https://frgfm.github.io/torch-cam/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.699930+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:35.699930+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:39:43.435328+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "38cffcf2c41fa8ab054c7891b51f772c9a2290feea0c29704c07089378cc1752", "fetched_at": "2026-08-28T04:06:35.699930+00:00", "kind": "readme", "missing": false, "url": "https://github.com/frgfm/torch-cam"}, {"content_hash": "cdc38b08ad4005988fb6bec54a034be16a9dc9c299573f55fae12ecf6ab58c7a", "fetched_at": "2026-08-29T10:20:07.256895+00:00", "kind": "homepage", "missing": false, "url": "https://frgfm.github.io/torch-cam/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:39:43.435328+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "38cffcf2c41fa8ab054c7891b51f772c9a2290feea0c29704c07089378cc1752", "fetched_at": "2026-08-28T04:06:35.699930+00:00", "kind": "readme", "missing": false, "url": "https://github.com/frgfm/torch-cam"}, {"content_hash": "cdc38b08ad4005988fb6bec54a034be16a9dc9c299573f55fae12ecf6ab58c7a", "fetched_at": "2026-08-29T10:20:07.256895+00:00", "kind": "homepage", "missing": false, "url": "https://frgfm.github.io/torch-cam/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:39:43.435328+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "38cffcf2c41fa8ab054c7891b51f772c9a2290feea0c29704c07089378cc1752", "fetched_at": "2026-08-28T04:06:35.699930+00:00", "kind": "readme", "missing": false, "url": "https://github.com/frgfm/torch-cam"}, {"content_hash": "cdc38b08ad4005988fb6bec54a034be16a9dc9c299573f55fae12ecf6ab58c7a", "fetched_at": "2026-08-29T10:20:07.256895+00:00", "kind": "homepage", "missing": false, "url": "https://frgfm.github.io/torch-cam/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:39:43.435328+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "38cffcf2c41fa8ab054c7891b51f772c9a2290feea0c29704c07089378cc1752", "fetched_at": "2026-08-28T04:06:35.699930+00:00", "kind": "readme", "missing": false, "url": "https://github.com/frgfm/torch-cam"}, {"content_hash": "cdc38b08ad4005988fb6bec54a034be16a9dc9c299573f55fae12ecf6ab58c7a", "fetched_at": "2026-08-29T10:20:07.256895+00:00", "kind": "homepage", "missing": false, "url": "https://frgfm.github.io/torch-cam/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 22}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2354, "days_push": 7, "days_rel": 310, "gap_med": null, "n_releases_24m": 1}, "score": 72, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}