Getting ready
We are going to implement the algorithm described in the paper, A Neural Algorithm of Artistic Style (https://arxiv.org/abs/1508.06576) by Leon A. Gatys, Alexander S. Ecker, and Matthias Bethge. So, it would be good to read the paper first (https://arxiv.org/abs/1508.06576). This recipe will reuse a pretrained model VGG19 available online (http://www.vlfeat.org/matconvnet/models/beta16/imagenet-vgg-verydeep-19.mat), which should be downloaded locally. Our style image will be a famous painting of Van Gogh available online (https://commons.wikimedia.org/wiki/File:VanGogh-starry_night.jpg), and our content image is a picture of Marilyn Monroe downloaded from Wikipedia (https://commons.wikimedia.org/wiki/File:Marilyn_Monroe_in_1952.jpg ...
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.
Read now
Unlock full access