The GAN network combines the discriminator and generator from previous recipes into a conditional adversarial configuration for training.
Code – the GAN network
Getting ready
Keep track of the fact that you remembered to add gan.py to your working directory:
├── docker
│ ├── build.sh
│ ├── clean.sh
│ └── Dockerfile
├── README.md
├── run.sh
└── src
| ├── generator.py
| ├── gan.py