Digest and Test: Implementing Our First GAN

Reinforce your understanding and test your knowledge of the topics covered in this chapter.

We'll cover the following

In this chapter, we learned how to implement our first GAN. We covered some basic theories related to the GAN framework and how they relate to architecture design, especially focusing on the similar capacity of the discriminator and generator. We also covered, in detail, the theory behind upsampling layers, weight normalizations, and loss functions seen in GANs.

We learned how to implement the DCGAN discriminator and generator architecture, including their optimizers and loss functions. We learned how to implement the training procedure in GANs, wherein the discriminator and generator take turns optimizing their parameters. Finally, we learned how to sample the generator to get image outputs and visualize those outputs for our amusement and to train the models.

Test your understanding

Put your knowledge to the test with a quiz designed to reinforce your understanding.

Get hands-on with 1200+ tech skills courses.