sicara/tf-explain
Interpretability Methods for tf.keras models with Tensorflow 2.x observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2606
- days_rel: n/a
- days_push: 821
- n_releases_24m: 0
Adoption not part of the score
1037 stars · 110 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
tf-explain is a Python library implementing interpretability methods (Grad CAM, occlusion sensitivity, vanilla gradients, etc.) for tf.keras models as TensorFlow 2.x callbacks. It lets you explain neural network predictions either on trained models or during training with results logged to TensorBoard.
Use cases
- explain why a keras image classifier made a prediction
- visualize grad cam heatmaps for a tensorflow model
- interpret neural network predictions during training
- apply occlusion sensitivity to a tf.keras model
- understand which image regions activate a CNN
- log interpretability visualizations to tensorboard
When to choose
- you use TensorFlow 2.x / Keras and need explainability methods like Grad CAM or occlusion sensitivity
- you want interpretability visualizations both post-training and as training callbacks
- you prefer a lightweight pip-installable library over building explainability code yourself
When to avoid
- you work with PyTorch or other frameworks - it is TensorFlow 2.x only
- you need explainability for NLP or tabular models - methods are image-focused
- you need actively developed features - the project is in maintenance mode with infrequent releases
Facets
library · maturity maintenance
machine-learning data-visualization deep-learning deep-learning machine-learning computer-vision data-visualization python cross-platform interpretability explainable-ai tensorflow keras grad-cam neural-network-visualization callbacks gpu
2 sources
- readme: https://github.com/sicara/tf-explain · fetched 2026-08-28 · c2a8a5c86b13
- registry_pypi: https://pypi.org/pypi/tf-explain/json · fetched 2026-08-29 · bae4d144bf23
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sicara/tf-explain | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="sicara/tf-explain")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem