How to go from MNIST to a full CoreML app on your iPhoneX
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
numbers
7.jpg
IMG_0181.JPG
IMG_4057.JPG
IMG_5349.JPG
IMG_9315.JPG
IMG_9925.JPG
README.md
SimpleMnist.mlmodel
coreml_sample.ipynb

README.md

How to go from MNIST to a full CoreML app on your iPhoneX

This is the accompanying code for the blog post https://www.liip.ch/en/blog/numbers-recognition-mnist-on-an-iphone-with-coreml-from-a-to-z.

  • In coreml_sample.ipynb you will find a Jupyter notebook showing you how to train a deep learning convolutional network with Keras and how to convert it to CoreML.
  • In the numbers folder you will find a XCode Project that has included the CoreML model.
  • I've thrown in a number of example images to let you check if the model also works with real-life data.