phillipi / pix2pix

Image-to-image translation with conditional adversarial nets

Home Page:https://phillipi.github.io/pix2pix/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About the receptive field of the discriminator achitecture

ShuGuoJ opened this issue · comments

In section 6.1.2 of the paper released in arXiv, how can calculate the receptive field of the discriminator? The receptive field of a 16x16 discriminator "C64-C128" composed of two layers of convolution with a kernel size of 4 and a stride of 2 is 16x16, instead of 10 (4 + 3x(4-1)), is it corrected?

Code for calculating the receptive field is here, and see rest of thread for more info: junyanz/pytorch-CycleGAN-and-pix2pix#39 (comment)