https://github.com/phtrempe/conviz
Conviz is a convolutional neural network layer visualization library developed in Python and used with Keras.
https://github.com/phtrempe/conviz
convolutional-layers convolutional-networks convolutional-neural-networks keras python python-3 python3 tensorflow theano visualization
Last synced: 4 months ago
JSON representation
Conviz is a convolutional neural network layer visualization library developed in Python and used with Keras.
- Host: GitHub
- URL: https://github.com/phtrempe/conviz
- Owner: PhTrempe
- License: mit
- Created: 2017-03-22T19:51:45.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-04T21:05:44.000Z (about 9 years ago)
- Last Synced: 2025-07-21T04:05:17.003Z (11 months ago)
- Topics: convolutional-layers, convolutional-networks, convolutional-neural-networks, keras, python, python-3, python3, tensorflow, theano, visualization
- Language: Python
- Homepage: https://github.com/PhTrempe/conviz
- Size: 1.25 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
| Better Code Hub compliance |
|:--------------------------:|
| [](https://bettercodehub.com/) |
## Description
Conviz is a convolutional neural network layer visualization library developed
in Python and used with Keras.
## How to Install
```
pip install conviz
```
## A Small Example to Get You Started
```python
from conviz.models import cifar10
from conviz.utils.image_util import ImageUtil
from conviz.visualizer import Visualizer
# Loads a model trained on the CIFAR10 dataset
model = cifar10.load()
# Creates and binds a visualizer to the model
visualizer = Visualizer(model)
# Gets the layer of the model to visualize
layer = model.get_layer("conv1")
# Generates the visualization for the selected layer as a 4 by 4 grid of filters
img = visualizer.visualize(layer, (4, 4), ga_rate=0.1, num_steps=1000)
# Saves the generated visualization image to a file
ImageUtil.save_image(img, "./conv1.png")
```