C1W1 test_disc_reasonable

The generator’s goal is for the discriminator to be fooled by the fake images the generator creates, so for the generator, the loss is based on the discriminator’s results on the fake image. If we detached, then we’d never see any change and the generator wouldn’t learn anything.

Here’s a good discussion that goes into more detail

2 Likes