276 points · by tosh · 5y ago · 57 comments
Final result: https://twitter.com/braddwyer/status/1330654868839784451
The full walkthrough video: https://www.youtube.com/watch?v=kBn7Cd8Z8yE
Check out the Oxford Pets dataset as a starting point (you can download in Create ML format from here): https://public.roboflow.com/object-detection/oxford-pets
Roboflow (our startup) can import the annotation files from all of those tools and convert them to Create ML's format for you.
https://news.ycombinator.com/item?id=25254954
I open sourced it today: https://github.com/andresavic/AmongKey
thanks for making this open source!
These new chips run Create ML really well, no surprises there.
Now I just wish I could convert my model to Tensorflow! (or serve it over iCloud somehow?)
Shameless plug: I made a Youtube video on how to use Style Transfer in CreateML see https://www.youtube.com/watch?v=adfCMup9YnM
I supposed this might serve as a good demonstration of how the neural engine performs?
edit: Perhaps running inference in the iOS simulator on the macs would also be a comparison point?
Having that (3-clause BSD-licensed) code will help in writing the reverse converters.
It's actually pretty performant. I trained an object detector (from scratch) on my 2016 MBP in about 6 hours[1].
As of macOS 11 also support transfer learning for object detection which starts from pre-trained weights and should converge more quickly if your dataset is similar to COCO[2] but I haven't tested it out yet.
[1] https://blog.roboflow.com/createml/ [2] https://blog.roboflow.com/coco-dataset/
Also my Macbook Pro has an 8GB GPU.
There are a lot of great pieces of software out there for non-technical users.
[0] https://www.notion.so/pgyurov/Camera-Trap-Pipeline-Solution-...
https://developer.apple.com/videos/play/wwdc2020/10043/
and style transfer to Create ML this year:
You can also find examples on how to use the exported model on Lobe's Github.
0: https://developer.apple.com/documentation/createml
1: https://blogs.microsoft.com/blog/2018/09/13/microsoft-acquir...
1: https://www.zdnet.com/article/ai-big-data-and-the-iphone-her....