| Algorithm A1 Overview of (, )-GAN training | |||
| Require
, , number of epochs , batch size B, learning rate Initialize generator G with parameters , discriminator D with parameters . for to do Sample batch of real data from dataset Sample batch of Gaussian noise vectors Update the discriminator’s parameters using an Adam optimizer with learning rate by descending the gradient: or update the discriminator’s parameters with a simplified GP: Update the generator’s parameters using an Adam optimizer with learning rate and descending the gradient: end for |