There are two big parts to training a GAN—the training class that we will define and describe and the script that runs that training class. There are two main sections, training class definition and run script definition, and they will cover the basics of each of these pieces.