Skip to content

Exploring mnist dataset with TensorFlow and getting 99% accuracy in tests

Notifications You must be signed in to change notification settings

hereismari/mnist-tensorflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exploring MNIST with TensorFlow

mnist

There are a lot of awesome tutorials about how to classify handwritten digits from MNIST database, so my plan is to put some of these tutorials together, evolving from a very simple model to a nice model that achieves 99% accuracy in the test data.

Here is an android app that I did as a final result of this exercise 😄!

Have fun!

Note: most of the code presented here is originally from the tutorials in the Reference section, please follow those for more details

Getting started

For running the "tutorials" You'll need:

Getting the data

The MNIST databased used here was the one available at TensorFlow (read more about it), so you don't have to do much.
You can download the data here, if you want.

For the examples in this repository we'll use all the available data and train the models with stochastic gradient descent (except 01-KNN).

Let's do it!

To follow the tutorial samples, run: jupyter notebook.
If you want to check TensorBoard: run tensorboard --logdir=/tmp/tensorflow_log

References

Thank you!

  1. TF and DL without a Phd by Martin Gorner, Google
  2. Classifying Handwritten Digits with TF.Learn, by Josh Gordon
  3. How to Make a TF Image Classifier, by Siraj Raval
  4. TensorFlow Tutorials, by Hvass Labs
  5. CS231n: Convolutional Neural Networks for Visual Recognition
  6. Getting started with TensorFlow
  7. Not another mnist tutorial with tensorflow
  8. Training convolutional neural network for image classification

About

Exploring mnist dataset with TensorFlow and getting 99% accuracy in tests

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages