tensorflow-wavenet
tensorflow-wavenet copied to clipboard
Receptive field calculation?
Hi,
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
same question here.
Take a look at this link
Still did not get whiy there is an extra addition
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