Giter Site home page Giter Site logo

nzasif / cnn-mnist Goto Github PK

View Code? Open in Web Editor NEW

This project forked from janzd/cnn-mnist

0.0 0.0 0.0 19.44 MB

CNN classification model built in Keras used for Digit Recognizer task on Kaggle (https://www.kaggle.com/c/digit-recognizer)

Python 100.00%

cnn-mnist's Introduction

CNN for MNIST dataset

Classification of MNIST digits by means of convolutional neural networks with character shape normalization in the pre-processing phase and data augmentation by affine transformations and addition of random noise.

The code is written using Keras deep learning library.

Used in Digit Recognizer competition on Kaggle https://www.kaggle.com/c/digit-recognizer

Network architecture

Layer Type Parameters Input Size Output Size
Input - 28x28x1 -
Convolution (1) 64 filters, kernel 5x5, padding 2 28x28x1 28x28x64
ReLU - 28x28x64 28x28x64
Convolution (2) 128 filters, kernel 5x5, padding 2 28x28x64 28x28x128
ReLU - 28x28x128 28x28x128
MaxPooling (1) stride 2 28x28x128 14x14x128
Convolution (3) 256 filters, kernel 5x5, padding 2 14x14x128 14x14x256
Convolution (4) 256 filters, kernel 3x3, padding 1 14x14x256 14x14x256
ReLU - 14x14x256 14x14x256
MaxPooling (2) stride 2 14x14x256 7x7x256
Dropout 0.2 - -
Convolution (5) 512 filters, kernel 3x3, padding 1 7x7x256 7x7x512
ReLU - - -
Dropout 0.2 - -
Convolution (6) 512 filters, kernel 3x3, padding 1 7x7x512 7x7x512
ReLU - - -
MaxPooling (3) stride 2 7x7x512 3x3x512
Dropout 0.5 - -
Fully-connected (7) 2048 4608 2048
ReLU - - -
Fully-connected (8) #classes 2048 #classes
Softmax - - -

cnn-mnist's People

Contributors

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