HarisIqbal88 / PlotNeuralNet
git clone https://github.com/HarisIqbal88/PlotNeuralNet.git
v1.0.0 · 7y ago
🔥 on GitHub Trending today
Latex code for making neural networks diagrams
—
stars, 24h
—
stars, 7 days
+83
stars, 30 days · #2,737
25k
★ total
3.1k
forks · 70 open issues
Star history starts 2026-10-20; the chart appears after the second daily snapshot.
LanguageTeX
LicenseMIT
Created2018-07-24 (8y ago)
Last push3y ago
Watchers228
OwnerUser
Seen on GitHub Trending
- 2026-10-20 — #6 monthly in tex · +83 ★
GitHub topics
Links
README excerpt
# PlotNeuralNet Latex code for drawing neural networks for reports and presentation. Have a look into examples to see how they are made. Additionally, lets consolidate any improvements that you make and fix any bugs to help more people with this code. ## Examples Following are some network representations: FCN-8 ( view on Overleaf ) FCN-32 ( view on Overleaf ) Holistically-Nested Edge Detection ( view on Overleaf ) ## Getting Started 1. Install the following packages on Ubuntu. * Ubuntu 16.04 [code] * Ubuntu 18.04.2 Base on this website, please install the following packages. [code] * Windows 1. Download and install MikTeX. 2. Download and install bash runner on Windows, recommends Git bash or Cygwin(https://www.cygwin.com/) 2. Execute the example as followed. [code] ## TODO - [X] Python interface - [ ] Add easy legend functionality - [ ] Add more layer shapes like TruncatedPyramid, 2DSheet etc - [ ] Add examples for RNN and likes. ## Latex usage See `examples` directory for usage. ## Python usage First, create a new directory and a new Python file: $ mkdir my_project $ cd my_project vim my_arch.py Add the following code to your new file: [code] Now, run the program as follows: bash ../tikzmake.sh my_arch