WGAN—Understanding the Wasserstein Distance
Explore the concept of Wasserstein GAN to understand how it enhances GAN training by using the Wasserstein distance metric. Learn why traditional GAN losses cause instability and gradient vanishing, and how WGAN's approach with gradient penalty and weight clipping stabilizes training for better image generation performance.
We'll cover the following...
GANs have been known to be hard to train, especially if we have tried to build one from scratch. In this lesson, we will talk about how to use a better distance measure to improve the training of GANs, namely, the Wasserstein GAN.
The groundwork for
Analyzing the problems with vanilla GAN loss
Let’s go over the commonly used loss functions for GANs:
, which is the vanilla form of GAN loss.
The experimental results have shown that these loss functions work well in several applications. However, let’s dig deep into these functions and see what could go wrong when they don’t work so well. ...
In this formula,