PyTorch-CycleGAN
PyTorch-CycleGAN copied to clipboard
How did you implement PatchGAN??
Thank you so much for implementing CycleGAN in pytorch more readable!
I would like to know which part is PatchGAN??
PatchGAN corresponds to the discriminator part :
https://github.com/aitorzip/PyTorch-CycleGAN/blob/67da8f9e2b69bd68763451803c7700aaccc92f18/models.py#L64
I don"t think we use PatchGAN, can we think avg_pool2d means PatchGAN?
Hi all, I was stuck here too but I've figured it out. After the last conv layer of the PatchGAN (before average pool) the receptive field size is 70. So each neuron on the single channel feature map (which is 30x30) coming out of that conv layer has information from a 70x70 patch of the input. The corresponding patches overlap one another on the input.