Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Machine Learning with Core ML

You're reading from  Machine Learning with Core ML

Product type Book
Published in Jun 2018
Publisher Packt
ISBN-13 9781788838290
Pages 378 pages
Edition 1st Edition
Languages

Table of Contents (16) Chapters

Title Page
Packt Upsell
Contributors
Preface
Introduction to Machine Learning Introduction to Apple Core ML Recognizing Objects in the World Emotion Detection with CNNs Locating Objects in the World Creating Art with Style Transfer Assisted Drawing with CNNs Assisted Drawing with RNNs Object Segmentation Using CNNs An Introduction to Create ML Other Books You May Enjoy Index

Considerations 


When performing ML on the edge, you lose some of the luxuries you tend to have when running on a more powerful device (albeit this is shifting all the time). Here is a list of considerations to keep in mind:

  • Model size: Previously, we walked through building a simple linear regression model. The model itself consists of two floats (bias and weight coefficients), which of course are negligible in terms of memory requirements. But, as you dive into the world of deep learning, it's common to find models hundreds of megabytes in size. For example, the VGG16 model is a 16-layer conventional neural network architecture trained on the ImageNet dataset used for image classification, available on Apple's site. It is just over 500 megabytes. Currently, Apple allows apps 2 gigabytes in size, but asking your user to download such a large file may well put them off. 
  • Memory: It's not just the executable size that you need to be mindful of, but also the amount of working memory available...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}