October 2018
Intermediate to advanced
252 pages
6h 49m
English
In this section, we look at how generator loss is calculated and the discriminator is made smarter by feeding it the loss between real and valid images:
def train(self, epochs, batch_size=128, save_interval=50): # Load the dataset (X_train, _), (_, _) = fashion_mnist.load_data() # Rescale ...