Giter VIP home page Giter VIP logo

cnn-from-scratch's Introduction

Convolutional Neural Network from scratch

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.

alt text alt text

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

Followings are also required if working/testing on the app.py

  • Flask - A microframework for Python
  • Gunicorn - A Python WSGI HTTP Server for UNIX

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 and then run the following command to start training model
python run.py

Output:

alt text

  • To load pre-trained models, change the pickle filename from output.pickle to trained.pickle in run.py: line No. - 27-28 and comment out the training part form the code in run.py: line No. - 77-104

Contributing

KWoC Action Plan

KWoC Google Group

Short term Issues

See the issue section of this repositiory

Long term project

Plan is to make a Web App which can predict the digit between 0 to 9 if the user writes anything on the app drawing board(using the functions written in convnet.py). Following are the steps in which we may proceed:

  • A python based Flask API which recieves image as input and gives digit prediction for that image as output
  • Front-end of the Web App which should have a drawing board on which the user will draw
  • Integration of the API with the front-end

Respond on the google group from the list above to know details and start the contribution

Acknowledgments

cnn-from-scratch's People

Contributors

zishansami102 avatar sanskar107 avatar

Stargazers

iamarpro avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.