martisak / dotnets

Create simple drawings of neural networks using graphviz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

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

Simple net

About

Create simple drawings of neural networks using graphviz

License:MIT License


Languages

Language:Python 90.8%Language:Makefile 9.2%