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