Comparison
captum vs grad-cam vs lime
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Model Interpretability for PyTorch
Maintained. Last release 8 months ago, commits in 14 of the last 26 weeks. Weaker on release cadence.
$
pip install captumMany Class Activation Map methods implemented in Pytorch for classification, segmentation, object detection and more
Maintained. Last release 3 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install grad-camLocal Interpretable Model-Agnostic Explanations for machine learning classifiers
Likely abandoned. No release or commit for years (last release over 6 years ago).
$
pip install limeIn short
- lime looks abandoned: avoid it for new projects.
- captum is the most used: 461.2K downloads a month.
- captum also has the best Pythie’s Index (67).
- grad-cam is growing fastest: downloads +37% over the last month.
- Safe default for a new project: captum.