#41 · Primary category: Computer Vision
pytorch-grad-cam
Advanced AI Explainability for computer vision. Support for CNNs, Vision Transformers, Classification, Object detection, Segmentation, Image similarity and more.
Project last updated:08/13/26
GitHub Stars
13.0K
Forks
1.7K
Contributors
54
License
MIT
Why we included this project
Training or shipping a PyTorch vision model almost always means answering one question at some point: what is the network actually looking at? This library packages a large collection of pixel-attribution methods, from the original GradCAM through newer options like ScoreCAM, LayerCAM, and HiResCAM, behind a consistent API that lets you swap techniques by changing a few lines. It is not limited to image classifiers; the same code handles object detection, semantic segmentation, embedding similarity, and even CLIP-style text prompts, so it is useful for debugging real workflows, not just research notebooks. There is also built-in smoothing, full batched inference, and faithfulness metrics for checking whether the explanations you generate can be trusted. If you do applied computer vision work, this is one of the first libraries to reach for when a model misbehaves.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
opencv
Open Source Computer Vision Library
RuView
π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.
PaddleOCR
Turn any PDF or image document into structured data for your AI. A powerful, lightweight OCR toolkit that bridges the gap between images/PDFs and LLMs. Supports 100+ languages.
MinerU
Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
tesseract
Tesseract Open Source OCR Engine (main repository)