All Projects → hollance → Coreml Survival Guide

hollance / Coreml Survival Guide

Licence: mit
Source code for the book Core ML Survival Guide

Programming Languages

python
139335 projects - #7 most used programming language
swift
15916 projects

Projects that are alternatives of or similar to Coreml Survival Guide

Arkit Sampler
Code examples for ARKit.
Stars: ✭ 1,334 (+694.05%)
Mutual labels:  coreml
Food101 Coreml
A CoreML model which classifies images of food
Stars: ✭ 119 (-29.17%)
Mutual labels:  coreml
Gestureai Coreml Ios
Hand-gesture recognition on iOS app using CoreML
Stars: ✭ 145 (-13.69%)
Mutual labels:  coreml
Ios Learning Materials
📚Curated list of articles, web-resources, tutorials and code repositories that may help you dig a little bit deeper into iOS [and Apple Platforms].
Stars: ✭ 1,380 (+721.43%)
Mutual labels:  coreml
Fast Style Transfer Coreml
Stars: ✭ 109 (-35.12%)
Mutual labels:  coreml
Ssdmobilenet coreml
Real-time object-detection using SSD on Mobilenet on iOS using CoreML, exported using tf-coreml
Stars: ✭ 136 (-19.05%)
Mutual labels:  coreml
Coremldemo
A simple demo for Core ML
Stars: ✭ 90 (-46.43%)
Mutual labels:  coreml
Showandtell
A Show And Tell implementation for iOS 11.0 based on CoreML
Stars: ✭ 155 (-7.74%)
Mutual labels:  coreml
Coreml In Arkit
Simple project to detect objects and display 3D labels above them in AR. This serves as a basic Template for an ARKit project to use CoreML.
Stars: ✭ 1,534 (+813.1%)
Mutual labels:  coreml
Posenet Coreml
I checked the performance by running PoseNet on CoreML
Stars: ✭ 143 (-14.88%)
Mutual labels:  coreml
Sentimentcoremldemo
😃 iOS11 demo application for sentiment polarity analysis.
Stars: ✭ 104 (-38.1%)
Mutual labels:  coreml
Exermote
Using Machine Learning to predict the type of exercise from movement data
Stars: ✭ 108 (-35.71%)
Mutual labels:  coreml
Mnist draw
This is a sample project demonstrating the use of Keras (Tensorflow) for the training of a MNIST model for handwriting recognition using CoreML on iOS 11 for inference.
Stars: ✭ 139 (-17.26%)
Mutual labels:  coreml
Nsfwdetector
A NSFW (aka porn) detector with CoreML
Stars: ✭ 1,364 (+711.9%)
Mutual labels:  coreml
Ios Coreml Yolo
Almost Real-time Object Detection using Apple's CoreML and YOLO v1 -
Stars: ✭ 153 (-8.93%)
Mutual labels:  coreml
Face landmark dnn
Face Landmark Detector based on Mobilenet V1
Stars: ✭ 92 (-45.24%)
Mutual labels:  coreml
Cocoaai
🤖 The Cocoa Artificial Intelligence Lab
Stars: ✭ 134 (-20.24%)
Mutual labels:  coreml
Facenet mtcnn to mobile
convert facenet and mtcnn models from tensorflow to tensorflow lite and coreml (使用 TFLite 将 FaceNet 和 MTCNN 移植到移动端)
Stars: ✭ 166 (-1.19%)
Mutual labels:  coreml
Styletransfer Ios
Stars: ✭ 155 (-7.74%)
Mutual labels:  coreml
Awesome Ml
Discover, download, compile & launch different image processing & style transfer CoreML models on iOS.
Stars: ✭ 142 (-15.48%)
Mutual labels:  coreml

Core ML Survival Guide

This is the source code for the book Core ML Survival Guide -- now updated for iOS 14 and macOS 11.0.

The book

If you don't have the book yet, here's my sales pitch: The Core ML Survival Guide is more than 80 chapters and almost 500 pages of Core ML tips and tricks.

Learn the best ways to convert your models to Core ML, how the mlmodel file format works, how to perform model surgery to fix issues with your mlmodel files, how use MLMultiArray, and much more!

If you're serious about Core ML, you need this book. Seriously! 😄

The source code

Included in this source code repo is the following:

CheckInputImage: Demo app for iOS that shows how to use a very basic image-to-image model to verify how Vision and the neural network preprocessing options modify the input image.

MobileNetV2+SSDLite: Conversion script and demo app for the SSDLite object detection model. (The original model is not included, you'll need to download this first. See the link in ssdlite.py.)

NeuralNetworkBuilder: Demo of how to write your own Core ML converter. Includes the trained Caffe model.

Scripts:

  • convert_multiarrays_to_floats.py: Changes the data type of any MultiArray inputs and outputs from DOUBLE to FLOAT32.
  • convert_to_float16.py: Changes the weights of the model from 32-bit to 16-bit floating point, cutting the model size in half.
  • deeplab.py: Demonstration of how to clean up a model by renaming inputs and outputs, removing unnecessary layers, inserting new layers, etc.
  • helpers.py: Useful utility functions for model surgery.
  • quantize.py: For quantizing and dequantizing models.

Also check out my other repo CoreMLHelpers for a collection of helper code that makes it a little easier to work with Core ML in Swift.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].