The goal of this assignment is to generate images with GAN networks. Specifically, we start with a vanilla DCGAN and then proceed with CycleGan that sample from two different domains. We will use DCGAN on grumpy cats images and CycleGan on cats and Pokemons images
The formula to compute the size for output is given below
The architecture of the DC GAN is decribed as below
Two type of data augmentation is implemented in this experiment
Basic: With only image normalization with mean = 0.5 and std = 0.5
Deluxe: With random crop, random horizontal flip and image normalization
The curves in all of the four graphs look as GAN manages to train. The D loss decreases as the G loss oscilates around 1 with smaller oscillation as it learns.
For this experiment, only deluxe dat augmentation is used
The architecture of the CycleGAN is decribed as below
X to Y
Y to X
X to Y
X to Y
X to Y
Y to X
X to Y
Y to X
X to Y
Y to X
X to Y
X to Y
X to Y
Y to X
X to Y
Y to X
Fire to Water
Water to Fire
Fire to Water
Water to Fire
Fire to Water
Water to Fire
Fire to Water
Water to Fire
Fire to Water
Water to Fire
Fire to Water
Water to Fire
Fire to Water
Water to Fire
Fire to Water
Water to Fire
Fire to Water
Water to Fire
Fire to Water
Water to Fire
Fire to Water
Water to Fire
Fire to Water
Water to Fire
Fire to Water
Water to Fire
Fire to Water
Water to Fire