The repository maintainers often include a common_issues.md file. A frequent problem is the "mode collapse" where the generator produces only one output. The fix? Lower the learning rate of the discriminator to 0.0002 and use label smoothing (as defined in the book's Chapter 4).
# Initialize the generator and discriminator generator = Generator() discriminator = Discriminator()