Training is the life blood of your model. You've created something, but without a way to train and show it to the world, it is meaningless. This class is going to provide your model with a way to train and a method for you to spot check the training.
Remember to complete all of the steps up until this point! Once you get that done, you need to create the train.py
and run.py
files in the full-gan
folder. Also, if you haven't done so already, go ahead and create the data
folder inside of the full-gan
folder. Ensure that you have put the full-gan
folder at the $HOME/full-gan
location, or you might need to update your run.sh
script.
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.