Keras models as ASCII diagrams
Project description
Print ASCII diagrams of your Keras models to visualize the layers and their shapes:
InputLayer (None, 50, 300) Reshape (None, 1, 50, 300) Convolution2D (None, 250, 48, 1) Relu (None, 250, 48, 1) MaxPooling2D (None, 250, 1, 1) Flatten (None, 250) Dropout (None, 250) Dense (None, 7) Softmax (None, 7)
To install
pip install keras_diagram
To use
from keras_diagram import ascii
model = Sequential()
model.add(...)
print ascii(model)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
keras_diagram-1.0.0.tar.gz
(4.0 kB
view hashes)
Built Distributions
Close
Hashes for keras_diagram-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13c695c28646aa5d32daa8085cada19b0e3d52e7abc43a5fac39dbd1ea3b86b5 |
|
MD5 | 85ffdb1e3adebe0824c30265417d9d6b |
|
BLAKE2b-256 | 72388dd16f92c7da72d00883e65585c659850517ef04070bbb1e9add192c3706 |
Close
Hashes for keras_diagram-1.0.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d9355e3c694d16491c93a0718cd7d757f5caca571ae385065ad31e70914dde8 |
|
MD5 | a377923edbfa8bb376f66305bf5ff6f2 |
|
BLAKE2b-256 | abab1e2705df9aea56cea95cabe0d89ba1e3b498c1c78ff7144f826069a60c85 |