January 2019
Intermediate to advanced
316 pages
8h 16m
English
In the preceding two steps, we successfully trained the generator network, the discriminator network, and the encoder network. In this section, we will improve the encoder and the generator networks. In these steps, we will be using the face recognition (FR) network, which generates a 128-dimensional embedding of a particular input fed to it, to improve the generator and the encoder network.
Perform the following steps:
encoder = build_encoder()encoder.load_weights("encoder.h5")# Load the generator networkgenerator.load_weights("generator.h5")
Read now
Unlock full access