January 2019
Intermediate to advanced
316 pages
8h 16m
English
The adversarial network is a combined network. It uses all four networks in a single Keras model. The main purpose of creating an adversarial network is to train the generator networks. When we train the adversarial network, it only trains the generator networks, but freezes the training of the discriminator networks. Let's create an adversarial model with the desired functionality.
inputA = Input(shape=(128, 128, 3))inputB = Input(shape=(128, 128, 3))
Both inputs will take images of a dimension of (128, 128, 3). These are symbolic input variables and don't hold actual values. They are used to create a Keras model (TensorFlow graph). ...
Read now
Unlock full access