Isola, Phillip, et al. Image-to-Image Translation with Conditional Adversarial Networks. 2016. DOI.org (Datacite), https://doi.org/10.48550/ARXIV.1611.07004.
The Pix2Pix Generative Adversarial Network, or GAN, is an approach to training a deep convolutional neural network for image-to-image translation tasks.
Generator model described in Pix2Pix research paper is the encoder - decoder architecture or U Net architecture. I used Encoder - Decoder Architecture
Below discriminator network is used to train against generator
Used BCEWithLogitsLoss and trained it with Cifar 10 datasets. Black & White images are made for input using OpenCV
Model has trained pretty well and was enough to fool the discriminator
Examples: