January 2019
Intermediate to advanced
316 pages
8h 16m
English
The discriminator network is a CNN. Let's implement the discriminator network in the Keras framework.
Perform the following steps to implement the discriminator network:
# Specify hyperparameters# Input image shapeinput_shape = (64, 64, 3)# Input conditioning variable shapelabel_shape = (6,)# Two input layersimage_input = Input(shape=input_shape)label_input = Input(shape=label_shape)
x = Conv2D(64, kernel_size=3, strides ...
Read now
Unlock full access