Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vzhou842/cnn-from-scratch
A Convolutional Neural Network implemented from scratch (using only numpy) in Python.
https://github.com/vzhou842/cnn-from-scratch
computer-vision convolutional-neural-networks guide machine-learning neural-network python
Last synced: about 21 hours ago
JSON representation
A Convolutional Neural Network implemented from scratch (using only numpy) in Python.
- Host: GitHub
- URL: https://github.com/vzhou842/cnn-from-scratch
- Owner: vzhou842
- License: mit
- Created: 2019-05-22T02:32:42.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-02T16:20:53.000Z (5 months ago)
- Last Synced: 2024-12-22T19:12:37.512Z (8 days ago)
- Topics: computer-vision, convolutional-neural-networks, guide, machine-learning, neural-network, python
- Language: Python
- Homepage: https://victorzhou.com/blog/intro-to-cnns-part-1/
- Size: 16.6 KB
- Stars: 292
- Watchers: 11
- Forks: 102
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-learning - Tutorial for CNN - Most recommended, the easiest tutorial for CNN, or [Neural network from scratch](https://github.com/vzhou842/neural-network-from-scratch). (Learning)
README
# 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](https://victorzhou.com/blog/intro-to-cnns-part-1/)
- [CNNs, Part 2: Training a Convolutional Neural Network](https://victorzhou.com/blog/intro-to-cnns-part-2/)To see the code (forward-phase only) referenced in Part 1, visit the [forward-only](https://github.com/vzhou842/cnn-from-scratch/tree/forward-only) branch.
## Usage
Install dependencies:
```bash
$ pip install -r requirements.txt
```Then, run it with no arguments:
```bash
$ python cnn.py
$ python cnn_keras.py
```You can also [run this code in your browser](https://repl.it/@vzhou842/A-CNN-from-scratch-Part-2).
## More
You may also be interested in [a Neural Network implemented from scratch in Python](https://github.com/vzhou842/neural-network-from-scratch), which was written for my [introduction to Neural Networks](https://victorzhou.com/blog/intro-to-neural-networks/).