Neural Network Visualizer
General Description
A module which creates a neural network image with the given architecture. It's a handy tool to see how your network is built as compared to a model summary.
Installation
Before installation
Before installing the module, run the below command at your prompt to install the graphviz
$ sudo apt install graphviz
Normal installation
$ sudo pip3 install neuralnet-visualize
Development installation
$ git clone https://github.com/AnuragAnalog/nn_visualize.git
$ cd nn_visualize
After installation
After installing the module, if you want to upgrade the module, run the below command.
sudo pip3 install neuralnet-visualize --upgrade
Future Works
- Add Convolutional layers, Maxpooling, Flatten layers
- Add Sequence model layers
- Directly from the pickle files
- Specific colors for activation functions
- Directly convert from pytorch models
Neural Network Visualizer Version History
0.2.3
- Added from_pytorch method
- Fixed a bug of multiple titles in an image
- Changed the logic of from_tensorflow method
- Fixed a bug, unique layer names for non trainable layers
0.2.2
- Added more docstring
- Can now be downloaded in py2
0.2.1
- Added title to the image
- Optimized some code
0.2.0
- Made it independent of tensorflow
- Fixed some bugs
0.1.4
- Fixed some bugs
- Added more layers maxpooling, avgpooling, flatten
- changed the shape of conv2d layer
0.1.3
- Added class docstrings with examples
- Added some more parameters for conv layer
- Disabled custom addition of layers after from_tensorflow call
0.1.2
- Added Conv layer, with kernel size parameter
- Refactored add_layer function
- Added Conv layer to from_tensorflow
0.1.1
- Added some possible exceptions
- Restructred basic functions in while initial import
0.1.0
- Added documentation
0.0.4
- Refactored summarize function
- Added a code part which colors output layer to red
- Added from_tensorflow method
0.0.3
- Added more display orientations
- Refactored the build network and add layer code
- Added some more file extensions to which image can be saved
- Added summarize function
0.0.2
- Added colors to type of layers
- Added Dense layers
0.0.1
Intial Version
- Starting code
Metadata
Release files for neuralnet-visualize 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| neuralnet_visualize-0.2.3.tar.gz | 7.7 kB | Without provenance | Details for neuralnet_visualize-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| neuralnet_visualize-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for neuralnet_visualize-0.2.3-py3-none-any.whl |
Total release size: 19.8 kB
Release files / neuralnet_visualize-0.2.3.tar.gz
| Download URL | neuralnet_visualize-0.2.3.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51c8b62a02c255226b330e989820931924157ecca368c833660a8df250b1fe9d
|
|
BLAKE2b-256 checksum How to use checksums |
f8a5aa14fc5fb4986cdf30bfc929fcceefdc8345dfe04e53cd7db1962d04ccc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.6.9
|
Release files / neuralnet_visualize-0.2.3-py3-none-any.whl
| Download URL | neuralnet_visualize-0.2.3-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08309efa6a885599c1f0b2fae766f6af12b88595b70ea33387a2bfffef4a1b4d
|
|
BLAKE2b-256 checksum How to use checksums |
e3ce3dbdea4b7dcad23fd58337d679b9f269b605c68dfe9d5c8a5d51c9f79dcf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.6.9
|
Security for neuralnet-visualize 0.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.