Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
The Deep Learning with PyTorch Workshop

You're reading from   The Deep Learning with PyTorch Workshop Build deep neural networks and artificial intelligence applications with PyTorch

Arrow left icon
Product type Paperback
Published in Jul 2020
Publisher Packt
ISBN-13 9781838989217
Length 330 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Hyatt Saleh Hyatt Saleh
Author Profile Icon Hyatt Saleh
Hyatt Saleh
Arrow right icon
View More author details
Toc

Summary

This chapter introduced style transfer, which is a popular task nowadays that can be performed using CNNs. It consists of taking both a content image and a style image as inputs and returning a newly created image as output that keeps the content of one of the images and the style of the other. It is typically used to give images an artistic look by combining random regular images with those of the paintings of great artists.

Although style transfer is performed using CNNs, the process of creating the target image is not achieved by training the network conventionally. This chapter explained how to use pre-trained networks to consider the output of some relevant layers that are especially good at identifying certain features.

This chapter explained each of the steps required to develop code that's capable of performing the task of style transfer, where the first step consisted of loading and displaying the inputs. As we mentioned earlier, there are two inputs...

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 $19.99/month. Cancel anytime
Banner background image