Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
A scratch implementation of Convolutional Neural Network in Python using only numpy and validated over CIFAR-10 & MNIST Dataset
| Date | Stars |
|---|---|
| 2026-07-31 | 277 |
| 2026-08-06 | 277 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
# Convolutional Neural Network from scratch [](http://cnndigits.pythonanywhere.com/) ### [Live Demo](http://cnndigits.pythonanywhere.com/) Objective of this work was to write the `Convolutional Neural Network` without using any Deep Learning Library to gain insights of what is actually happening and thus the algorithm is not optimised enough and hence is slow on large dataset like CIFAR-10. This piece of code could be used for `learning purpose` and could be implemented with trained parameter available in the respective folders for any testing applications like `Object Detection` and `Digit recognition`.<br/> `It's Accuracy on MNIST test set is above 97%.`  ## Architecture INPUT - CONV1 - RELU - CONV2 - RELU- MAXPOOL - FC1 - OUT   ## Getting Started These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. ### Prerequisites * [Numpy](http://www.numpy.org/) - Multidimensioanl Mathematical Computing * [Matplotlib](https://matplotlib.org/contents.html) - Used to plot Graph * [Pickle](https://docs.python.org/3/library/pickle.html) - Used to save trained models/object * [MNIST Dataset](http://yann.lecun.com/exdb/mnist/) - Dataset for Digit Recognition * [CIFAR-10 Dataset](http://www.cs.toronto.edu/~kriz/cifar.html) - Dataset for Object Recognition Followings are also required if working/testing on the app.py * [Flask]() - A microframework for Python * [Gunicorn]() - A Python WSGI HTTP Server for UNIX * [OpenCV]() - An open-source library that includes several hundreds of computer vision algorithms ### Directories - `CIFAR-10 `: Object detection with [CIFAR-10]() - `MNIST `: Handwritten Digits Recognition with [MNIST]() ### Installing * Clone the repository ``` git clone https://github.com/zishansami102/CNN-from-Scratch ``` * Downlad the dataset and copy that to it's corresponding folder(CIFAR-10/MNIST). * Move into the required directory (/CNN-from-Scratch/MNIST or /CNN-from-Scratch/CIFAR-10) and then run the following command to start training model ``` python train.py ``` Output:  * To load pre-trained models, change the pickle filename from 'output.pickle' to 'trained.pickle' in run.py: `line No. - 30-31` and comment out the training part form the code in run.py: `line No. - 42-111` ### Application Testing/Running * In the the directory /CNN-from-Scratch run the following command. ``` python app.py ``` App will start running on the local server http://127.0.0.1:5000 as shown below :  ## Contributing Mail me at [email protected] if you want to contribute to this project <br/> ## Acknowledgments * [CS231n.stanford.edu](http://cs231n.stanford.edu/) - Most of the theorotical concepts are taken from here * [dorajam](https://github.com/dorajam/Convolutional-Network) - Used to gain more concepts * [Mathematical Concepts](http://www.jefkine.com/general/2016/09/05/backpropagation-in-convolutional-neural-networks/) - Still need to be implemented, but helpful to gain insight ## Other Proud Works: An AI Powered Website Builder Makeweb.ai - [Build websites with AI, publish in seconds](https://makeweb.ai/) EazySEO.co - [Automate your SEO start to end](https://eazyseo.co/)
Excerpt of 3,511 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:d48320aba1ce8c4e, llm:Repository topics and description: 'cnn-from-scratch, convolutional-neural-networks, deep-learning, digit-recognition, mnist, object-detection' and description: 'A scratch implementation of Convolutional Neural Network in Python using only numpy and validated over CIFAR-10 & MNIST Dataset'
matched fp:d48320aba1ce8c4e, llm:Repository topics and description: 'cnn-from-scratch, convolutional-neural-networks, deep-learning, digit-recognition, mnist, object-detection' and description: 'A scratch implementation of Convolutional Neural Network in Python using only numpy and validated over CIFAR-10 & MNIST Dataset'
matched fp:d48320aba1ce8c4e, llm:Repository topics and description: 'cnn-from-scratch, convolutional-neural-networks, deep-learning, digit-recognition, mnist, object-detection' and description: 'A scratch implementation of Convolutional Neural Network in Python using only numpy and validated over CIFAR-10 & MNIST Dataset'