https://github.com/martisak/dotnets
Create simple drawings of neural networks using graphviz
https://github.com/martisak/dotnets
graphviz neural-networks
Last synced: 6 months ago
JSON representation
Create simple drawings of neural networks using graphviz
- Host: GitHub
- URL: https://github.com/martisak/dotnets
- Owner: martisak
- License: mit
- Created: 2017-12-11T12:18:53.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-11-06T22:03:23.000Z (almost 5 years ago)
- Last Synced: 2024-08-01T16:41:21.711Z (about 1 year ago)
- Topics: graphviz, neural-networks
- Language: Python
- Size: 332 KB
- Stars: 235
- Watchers: 5
- Forks: 64
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Create a drawing of a feed-forward neural network.
This is a simple Python script to generate pictures of a feed-forward neural network using Python and Graphviz. This is heavily inspired by Thiago G. Martins [How to draw neural network diagrams using Graphviz](https://tgmstat.wordpress.com/2013/06/12/draw-neural-network-diagrams-graphviz/).
## Usage
Pipe to Preview in Mac OS X.```
python dotnets.py | dot -Tpng | open -f -a /Applications/Preview.app
```Or generate a PDF
```
python dotnets.py | dot -Tpdf > test.pdf
```## Example
