miloharper / neural-network-animation

Watch a neural network think. Written in Python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Neural Network Animation

Watch a neural network think. Written in Python.

Requires the FFMPEG codec. To install use the command "brew install ffmpeg".

In the video, the synapses are represented by lines. A thickening of a line represents the synaptic connection between two neurons growing stronger. As the thickeness of the lines change, you can see the neural network learning. Flashes of light represent neural activity.

To run the program use the command "python main.py". It will generate a mp4 file in the same folder.

You can read more about it and watch the video here: https://medium.com/@miloharper/how-to-generate-a-video-of-a-neural-network-learning-in-python-62f5c520e85c

About

Watch a neural network think. Written in Python.

License:MIT License


Languages

Language:Python 99.2%Language:JavaScript 0.5%Language:CSS 0.1%Language:HTML 0.1%