Keras visualization toolkit for debugging TensorFlow models
Top 84.0% on sourcepulse
This toolkit provides visualization methods for debugging tf.keras models, targeting deep learning practitioners and researchers. It enables understanding model behavior through techniques like activation maximization and various saliency maps, aiding in model interpretation and debugging.
How It Works
The library offers a flexible API for generating visualizations by accepting a tf.keras.Model
and optional model_modifier
classes. These modifiers can alter the model, for instance, by replacing the final layer's activation to linear. Users specify visualization targets using Score
classes and can enhance the process with input modifiers (e.g., Jitter
, Rotate2D
) and regularizers (e.g., TotalVariation2D
, Norm
). The library supports N-dimensional image inputs, batch processing, and models with multiple inputs/outputs.
Quick Start & Requirements
$ pip install tf-keras-vis
Highlighted Details
Progress
for monitoring visualization generation.Maintenance & Community
The project appears to be actively maintained, with recent updates and a clear roadmap for future features like Deep Dream and Style Transfer.
Licensing & Compatibility
The repository does not explicitly state a license in the provided README. Users should verify licensing for commercial or closed-source use.
Limitations & Caveats
Activation Maximization may produce blurry images with InceptionV3. GradCAM and GradCAM++ may encounter issues with cascading models, recommending FasterScoreCAM as an alternative. Channel-first models and data are not supported.
4 months ago
1 day