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
For running the "tutorials" You'll need:
- Python 2 or 3
- Numpy
- TensorFlow
- Jupyter Notebook
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).
To follow the tutorial samples, run: jupyter notebook
.
If you want to check TensorBoard: run tensorboard --logdir=/tmp/tensorflow_log
Thank you!
- TF and DL without a Phd by Martin Gorner, Google
- Classifying Handwritten Digits with TF.Learn, by Josh Gordon
- How to Make a TF Image Classifier, by Siraj Raval
- TensorFlow Tutorials, by Hvass Labs
- CS231n: Convolutional Neural Networks for Visual Recognition
- Getting started with TensorFlow
- Not another mnist tutorial with tensorflow
- Training convolutional neural network for image classification