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

What is the role of "receptive field"? #9

Closed
timqqt opened this issue Nov 18, 2019 · 2 comments
Closed

What is the role of "receptive field"? #9

timqqt opened this issue Nov 18, 2019 · 2 comments

Comments

@timqqt
Copy link

timqqt commented Nov 18, 2019

Hi guys,

I am working on developing your algorithm. I am wondering what is the role of "receptive field" in your code? Why we need this to shift our sampling offset? Could you tell me your intuition about tuning this parameters? Thanks.

@angeloskath
Copy link
Collaborator

Hi,

The receptive field is used to map correctly the locations of the image to the locations of the sampling distribution. So imagine a network with a receptive field of 5, stride 1 and no padding. We feed a downsampled image 100x100 which results in 96x96 positions to sample from. The first position corresponds to the pixel at indices 2,2 and not 0,0 . This is why we need the receptive field. So we can properly map the indices to the downsampled first and the original image afterwards.

Let me know if you need more information.

Cheers,
Angelos

@angeloskath
Copy link
Collaborator

I am closing the issue but feel free to reopen it if you have further questions.

Angelos

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

2 participants