Apple Create ML: Creating an Image Classifier Model
developer.apple.com
developer.apple.com
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
Here are the weights: https://www.dropbox.com/s/c49a5zqqt1ml89o/Aquarium%202.mlmod...
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?
However the other pro lines (MBP15/16 iMac Pro; Mac Pro) are all equipped with dGPUs
Also my Macbook Pro has an 8GB GPU.
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/
There are two discrete concepts: training and inference. You can think of training a bit like the source code and inference a bit like running the compiled binary. The different frameworks have their own serialization formats for their model weights.
If the goal is to do inference using CoreML weights trained in CreateML on non-Apple platforms (eg on a server or android device), converting them to ONNX is a way to do that.
You probably won’t be able to pick up training on another framework though.
Having that (3-clause BSD-licensed) code will help in writing the reverse converters.
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....