Comparison
captum vs eli5 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 captumDebug machine learning classifiers and explain their predictions
Low maintenance activity. Last release 19 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install eli5Many 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.