January 2019
Intermediate to advanced
316 pages
8h 16m
English
The discriminator network is a classifier network; it contains a set of downsampling layers and classifies whether a given image is real or fake.
Let's start by writing the code for the network:
input_layer = Input(shape=(64, 64, 3))
stage1_dis = Conv2D(64, (4, 4), padding='same', strides=2, input_shape=(64, 64, 3), use_bias=False)(input_layer)stage1_dis = LeakyReLU(alpha=0.2)(stage1_dis)
Read now
Unlock full access