Giter Site home page Giter Site logo

mnist_lenet's Introduction

MNIST recognition

implement the LeNet for digit recognition using frameworks as follows:

  1. Tensorflow
  2. Keras
  3. Caffe
  4. PyTorch

objective

My goal in this project is to get familiar with these frameworks.

Why MNIST

MNIST seems to be a "hello world" in DL. And also a very good choice to get hands on CNN.

Usage

prequiste

you will need many things, but fortunately all is easy to install and cofigue.

  • python
  • tensorflow
  • tensorboard
  • tqdm: this was used for logged imfo
  • pytorch
  • keras

run

run like this

python main.py  --train --train_num 1000 --load --framework tensorflow
  • --train : indicate that you want to train the model. If this flag is set on, a --train_num must followed
  • --load : use while you want to load a local model
  • --framework: choose your framework: tensorflow, pytorch or keras ...

there are other flags, like the --log_dir indicating the directory to store the log info

Experiments

Experiments were made. See meta/doc/report.md for detailed result and analysis.

I made some modifications on the lenet architecture in order to find what matters and what not

mnist_lenet's People

Contributors

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