Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Machine Learning with Core ML

You're reading from   Machine Learning with Core ML An iOS developer's guide to implementing machine learning in mobile apps

Arrow left icon
Product type Paperback
Published in Jun 2018
Publisher Packt
ISBN-13 9781788838290
Length 378 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (16) Chapters Close

Title Page
Packt Upsell
Contributors
Preface
1. Introduction to Machine Learning FREE CHAPTER 2. Introduction to Apple Core ML 3. Recognizing Objects in the World 4. Emotion Detection with CNNs 5. Locating Objects in the World 6. Creating Art with Style Transfer 7. Assisted Drawing with CNNs 8. Assisted Drawing with RNNs 9. Object Segmentation Using CNNs 10. An Introduction to Create ML 1. Other Books You May Enjoy Index

Summary


In this chapter, we introduced the concept of style transfer; a technique that aims to separate the content of an image from its style. We discussed how it achieves this by leveraging a trained CNN, where we saw how deeper layers of a network extract features that distill information about the content of an image, while discarding any extraneous information. 

Similarly, we saw that shallower layers extracted the finer details, such as texture and color, which we could use to isolate the style of a given image by looking for the correlations between the feature maps (also known as convolutional kernels or filters) in each layer. These correlations are what we use to measure style and how we steer our network. Having isolated the content and style, we generated a new image by combining the two.

We then highlighted the limitations of performing style transfer in real time (with current technologies) and introduced a slight variation. Instead of optimizing the style and content each time...

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 £13.99/month. Cancel anytime
Visually different images