January 2019
Intermediate to advanced
316 pages
8h 16m
English
The adversarial network is a combined network that uses the generator, the discriminator, and VGG19. In this section, we will create an adversarial network.
Perform the following steps to create an adversarial network:
input_low_resolution = Input(shape=(64, 64, 3))
The adversarial network will receive an image of a shape of (64, 64, 3), which is why we have created an input layer.
fake_hr_images = generator(input_low_resolution)
fake_features = vgg(fake_hr_images)
Read now
Unlock full access