July 2019
Intermediate to advanced
512 pages
19h 39m
English
Now that, we have learned that the least square loss function improves the generator's image quality, how can we rewrite our GANs loss function in terms of least squares?
Let's say a and b are the actual labels for the generated images and real images respectively, then we can write the loss function of the discriminator in terms of least square loss as follows:

Similarly, let's say c is the actual label that the generator wants the discriminator to believe that the generated image is the real image, so label c represents the real image. Then we can write the loss function of a generator in terms of least square loss as follows: ...
Read now
Unlock full access