January 2019
Intermediate to advanced
316 pages
8h 16m
English
In this section, let's build the essential networks and prepare them for training. Perform the steps as follows:
# Define the common optimizercommon_optimizer = Adam(0.0002, 0.5)
We will use the Adam optimizer with the learning_rate equal to 0.0002, and the beta_1 value equal to 0.5.
discriminatorA = build_discriminator()discriminatorB = build_discriminator()
As mentioned in the The Architecture of the discriminator network section, a CycleGAN has two discriminator networks.
discriminatorA.compile( ...
Read now
Unlock full access