January 2019
Intermediate to advanced
316 pages
8h 16m
English
We have already explored the architecture of the discriminator network in The architecture of the discriminator network section. Let's start by writing the layers for the discriminator network in the Keras framework and then create a Keras model, using the functional API of the Keras framework.
Perform the following steps to implement the discriminator network in Keras:
leakyrelu_alpha = 0.2momentum = 0.8input_shape = (256, 256, 3)
input_layer = Input(shape=input_shape)
Read now
Unlock full access