The discriminator is simpler in comparison to the generator. Deep convolutional networks are commonplace in classification research. The key thing to remember with GANs, however, is that the training should be adversarial—simply grabbing state-of-the-art classification techniques may not give the generator the ability to learn. In essence, there is a balancing act to structuring your discriminator.
Code implementation – discriminator
Getting ready
As always, keep track of your directory and make sure that you are placing newly developed structures in the right place, as follows:
DCGAN
├── data
├── docker
├── README.md
├── run...