Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some question about Patch Discriminator #25

Closed
ColaWithIce opened this issue Dec 1, 2016 · 2 comments
Closed

Some question about Patch Discriminator #25

ColaWithIce opened this issue Dec 1, 2016 · 2 comments

Comments

@ColaWithIce
Copy link

ColaWithIce commented Dec 1, 2016

Hi,

It is a really good work. Thanks for sharing.

Here is what I didn't well understand. You said the patch discriminator acts like convolution operation to the whole image (256 x 256) in the paper and you achieved this by change the depth of the discriminator. But how do you know the size of receptive field (ie. 16 x 16, 70 x 70)? Another saying is how can I know the receptive field size when I increase or decrease the depth of the discriminator. Is there a way to calculate the relationship (od = F(rf))between receptive field size (rf x rf) and output size of discriminator (od x od)?

Another one is that the structure of 256 by 256 discriminator seems to be 286 X 286 receptive field not what you wrote 574 X 574 in the paper.

@tinghuiz
Copy link
Collaborator

The R-CNN repo provides a nice utility for calculating receptive field sizes: https://github.com/rbgirshick/rcnn/blob/master/utils/receptive_field_sizes.m.

You are right that the 256x256 architecture presented in Appendix 5.1.2 has receptive field of 286x286. There should be another C512 appended in the end (as is the case in the code). Thanks for pointing out the typo. We will update the paper in the future version.

@mrgloom
Copy link

mrgloom commented Feb 12, 2021

You are right that the 256x256 architecture presented in Appendix 5.1.2 has receptive field of 286x286.

Does it make sense to have receptive field bigger than input image size?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants