Training the Fashion MNIST cGAN

Learn about training the conditional GAN, the results of conditional GAN, loss during training the discriminator and the generator, as well as the generator output for the Fashion MNIST dataset.

The training loop

The main GAN training loop is updated to pass a label tensor to the discriminator and generator. The following shows only the code inside the epoch loop.

Get hands-on with 1200+ tech skills courses.