phillipi / pix2pix

Image-to-image translation with conditional adversarial nets
https://phillipi.github.io/pix2pix/
Other
10.08k stars 1.71k forks source link

About the receptive field of the discriminator achitecture #217

Open ShuGuoJ opened 2 years ago

ShuGuoJ commented 2 years ago

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?

phillipi commented 2 years ago

Code for calculating the receptive field is here, and see rest of thread for more info: https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix/issues/39#issuecomment-336737526

ALISAXXW commented 1 year ago

您的邮件已收到,我会尽快回复~~~