A Convolution Neural Network (CNN) From Scratch
This was written for my 2-part blog post series on CNNs:
- CNNs, Part 1: An Introduction to Convolution Neural Networks
- CNNs, Part 2: Training a Convolutional Neural Network
To see the code (forward-phase only) referenced in Part 1, visit the forward-only branch.
$ pip install -r requirements.txt
Then, run it with no arguments:
$ python cnn.py $ python cnn_keras.py
You can also run this code in your browser.
You may also be interested in a Neural Network implemented from scratch in Python, which was written for my introduction to Neural Networks.