| Algorithm A3 Overview of Vanilla-SLkGAN training | |||
| Require k, 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 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 |