Skip to content

A Convolutional Neural Network implemented from scratch (using only numpy) in Python.

License

Notifications You must be signed in to change notification settings

vzhou842/cnn-from-scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Convolution Neural Network (CNN) From Scratch

This was written for my 2-part blog post series on CNNs:

To see the code (forward-phase only) referenced in Part 1, visit the forward-only branch.

Usage

Install dependencies:

$ 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.

More

You may also be interested in a Neural Network implemented from scratch in Python, which was written for my introduction to Neural Networks.