Giter VIP home page Giter VIP logo

basic-cnn-implementation's Introduction

Basic-CNN-Implementation

This is a beginner-level implementation of the Convolutional Neural Network or CNN, which is an essential algorithm in image processing.

Here the CIFAR-100 dataset has been used which includes 60,000 colorful images in total. 50,000 of them are used for the training set and 10,000 are used for the testing set. Each image is 32x32 pixels in size or dimension. Since it is a colorful image, it will have 3 filters corresponding to the 3 channels of RGB.

I have built our CNN model with 5 convolution layers and 3 max pooling operations. After it generates a 1x1xN matrix, I flatten it and feed it into the Fully Connected layer which will classify the images. This is done because the FC layer only takes vector inputs.

By changing parameters like learning rates, the number of epochs and the number of steps per epoch, we try to improve the accuracy at every test.

Initially, I have done it 7 times and reached an accuracy of 31.9% from 19.7%.

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.