Imagine asking, “Is this a real cat—or a convincing imitation?” In a generative adversarial network (GAN), the discriminator is the component that answers this question. It receives real images and synthetic images produced by the generator, then tries to tell them apart. section 10.5
During GAN training, the two networks work against each other:
- The generator creates images intended to look real. section 10.5
- The discriminator examines real images alongside generated images. section 10.5
- As the competition continues, the generator can produce increasingly realistic images. section 10.5
Human faces
With a dataset of human faces, the discriminator distinguishes genuine faces from generated ones. Try the Which Face Is Real? challenge to test your own judgment. section 10.5







