Neural network visualization toolkit for tf.keras
Project description
tf-keras-vis
tf-keras-vis is a visualization toolkit for debugging Keras models with Tensorflow2, but not original Keras.
The features of tf-keras-vis are based on keras-vis, but tf-keras-vis's APIs doesn't have compatibility with keras-vis's because, instead of getting it, we prioritized to get following features.
- Support processing multipul images at a time as a batch
- Support tf.keras.Model that has multipul inputs (and, of course, multipul outpus too)
- Allow use optimizers that embeded in tf.keras
And then we will add some algorisms such as below.
- SmoothGrad: removing noise by adding noise (DONE)
- Deep Dream
- Style transfer
Requirements
- Python 3.5, 3.6 or 3.7
- tensorflow>=2.0.0
Installation
- PyPI
$ pip install tf-keras-vis tensorflow
- Docker
$ docker pull keisen/tf-keras-vis
Usage
For now, Please see examples/attentions.ipynb, examples/visualize_dense_layer.ipynb and examples/visualize_conv_filters.ipynb.
T.B.D.
API Documentation
T.B.D
Known Issues
- With InceptionV3, ActivationMaximization doesn't work well, that's, it might generate meanninglessly bulr image.
- With cascading model, Gradcam doesn't work well, that's, it might occur some error.
- Unsupported
channels-first
models and datas.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tf-keras-vis-0.2.0.tar.gz
(10.6 kB
view hashes)
Built Distribution
Close
Hashes for tf_keras_vis-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfa73cee98f7c146841ab6a9da3b24bfa2285cf59a2e1ce9421385a2a22669b1 |
|
MD5 | 167961ae3532bc305930ba1f8291186b |
|
BLAKE2b-256 | b607b9bb4ef4db3569f3f2d993fe6d3dceed5bad369da75cad72f257c3d63a1f |