Skip to content

Easily create GraphViz diagrams of neural networks

Notifications You must be signed in to change notification settings

urbansec/NNsketcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

NNsketcher

NNsketcher is a simple tool for creating diagrams of fully connected neural networks using GraphViz.

It is adapted from Madhavun Candadai's dotnets program to be slightly more flexible.

Thank you to Madhavun Candadai and Thiago G. Martins for these resources!

Modified from:

https://github.com/martisak/dotnets/blob/master/dotnets.py

Inspired by:

https://tgmstat.wordpress.com/2013/06/12/draw-neural-network-diagrams-graphviz/

Requirements

NNsketcher is written for python 3.

  • GraphViz is required to generate imagery.
  • NNsketcher generates GraphViz code.

Use

This is a sample command to use the tool:

python3 nnsketcher.py --input 5 --output 3 --hidden 8 --layers 10 | dot -Tpng > test1.png

Sample Output

Sample Output

About

Easily create GraphViz diagrams of neural networks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages