Skip to Main Content
Machine Learning with Core ML
book

Machine Learning with Core ML

by Joshua Newnham
June 2018
Intermediate to advanced content levelIntermediate to advanced
378 pages
8h 43m
English
Packt Publishing
Content preview from Machine Learning with Core ML

Classifying sketches 

In this section, we will walk though importing the Core ML model into our project and hooking it up, including using the model to perform inference on the user's sketch and also searching and suggesting substitute images for the user to swap their sketch with. Let's get started with importing the Core ML model into our project. 

Locate the model in the project repositories folder /CoreMLModels/Chapter7/cnnsketchclassifier.mlmodel; with the model selected, drag it into your Xcode project, leaving the defaults for the Import options. Once imported, select the model to inspect the details, which should look similar to the following screenshot:

As with all our models, we verify that the model is included in the target by ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Machine Learning with ML.NET

Hands-On Machine Learning with ML.NET

Jarred Capellman

Publisher Resources

ISBN: 9781788838290Supplemental Content