I wrote up the details here: https://blog.jasonhee.com/training-machine-learning-models-t...
If you try it, I'd really like to know what it gets wrong. Screenshots of failures help the most. I'd also like to hear how well it runs on your phone, since I've only tested it on a handful of devices.