Conditional face generation experiments using GAN models on CelebA dataset.
Conditional face generation experiments using GAN models on CelebA dataset.
In order to improve generated image quality, it is also possible to train a model using exponential moving average (EMA) update, as defined in The Unusual Effectiveness of Averaging in GAN Training paper.
The code is based on the update function found here, which allows updating a second generator model’s weights using EMA update using the following equation:
wt+1 = (1 - b) ut + (b) wt (assuming u are the weights of a generator trained via gradient methods)