Building a neural network that produces art

In this section, we are going to build a Java application for creating art. Before jumping into the code and application, let's look at the high-level description on how is it implemented. We will use transfer learning with the pre-trained VGG-16 architecture, trained on ImageNet dataset, which is a bunch of convolution layers in the following diagram:

Basically, as we go deeper, the depth of the third dimension increases, while the first two dimensions shrink in time.

At first, we are going to fit a content image as an input through a forward pass as shown in the following diagram. Then, we will ...

Get Hands-On Java Deep Learning for Computer Vision now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.