Receptive field calculation?
See original GitHub issueHi,
In the receptive field calculation, why is the extra addition made here? From what I understand, for an example of filter_width=2
, a dilations block of [1, 2, 4, 8, 16, 32, 64, 128, 256, 512]
should have a receptive field of 1024, not 1025.
Thanks! Ronen
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:5
Top Results From Across the Web
Computing Receptive Fields of Convolutional Neural Networks
If all strides are 1, then the receptive field will simply be the sum of (kl−1) ( k l − 1 ) over...
Read more >How to Calculate Receptive Field Size in CNN - Baeldung
In this tutorial, we're going to discuss what exactly a receptive field of a CNN is, why it is important and how can...
Read more >A guide to receptive field arithmetic for ... - ML Review
The fourth equation calculates the center position of the receptive field of the first output feature, which is equal to the center position...
Read more >Receptive Field Calculations for Convolutional Neural Networks
Receptive fields are defined by the center and the size. The center of the receptive field is very important since it decides the...
Read more >A Guide to Receptive Field Arithmetic for ... - Medium
Receptive field in each layer can be calculated by using the following equations: The first equation is defined by the same way as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There is one more convolution with filter width = 2 before the dilation stack. That adds 1 to the receptive field.
Hey, i was confused by the calculation for a long time as well. And i searched for a lot of related information. Now, I finally understand. The first picture, above is the general rule of receptive field calculation The second figure is how to convert the kernel size of ordinary convolution to dilated convolution. Therefore, the formula for calculating the receptive field of stacking dilated convolution is(stride=1): which is supposed to be the receptive field calculation so for the dilation=[1,2,4…,512]. receptive field = 1+(1+2+4+…+512) * (2-1)=1+1023=1024 not 1025 So the plus one in the equation is not 1024 plus one, but 1023 plus one