The receptive field is defined as the region in the input space that a particular CNN’s feature is looking at (i.e. be affected by).—— A guide to receptive field arithmetic for Convolutional Neural Networks
感受野中心的計(jì)算也是個(gè)遞推公式。 在上一節(jié)中計(jì)算得,表示feature map Layerl上前進(jìn)1個(gè)元素相當(dāng)于在輸入圖像上前進(jìn)的像素?cái)?shù)目,如果將feature map上元素與感受野中心對(duì)齊,則jl為感受野中心之間的像素距離。如下圖所示, receptive field center其中,各層的kernel size、padding、stride超參數(shù)已在圖中標(biāo)出,右側(cè)圖為feature map和感受野中心對(duì)齊后的結(jié)果。相鄰Layer間,感受野中心的關(guān)系為:所有的start坐標(biāo)均相對(duì)于輸入圖像坐標(biāo)系。其中,start0=(0.5,0.5),為輸入圖像左上角像素的中心坐標(biāo),startl?1表示Layerl?1左上角元素的感受野中心坐標(biāo),(2kl?1?pl)為L(zhǎng)ayerl與Layerl?1感受野中心相對(duì)于Layerl?1坐標(biāo)系的偏差,該偏差需折算到輸入圖像坐標(biāo)系,其值需要乘上jl?1,即Layerl?1相鄰元素間的像素距離,相乘的結(jié)果為(2kl?1?pl)?jl?1,即感受野中心間的像素距離——相對(duì)輸入圖像坐標(biāo)系。至此,相鄰Layer間感受野中心坐標(biāo)間的關(guān)系就不難得出了,這個(gè)過(guò)程可視化如下。 receptive field center calculation知道了Layerl左上角元素的感受野中心坐標(biāo)(startl,startl),通過(guò)該層相鄰元素間的像素距離jl可以推算其他元素的感受野中心坐標(biāo)。
wiki-Receptive fieldwiki-Receptive Field CalculatorarXiv-Understanding the Effective Receptive Field in Deep Convolutional Neural Networksmedium-A guide to receptive field arithmetic for Convolutional Neural Networksmedium-Topic DL03: Receptive Field in CNN and the Math behind itppt-Convolutional Feature Maps: Elements of Efficient (and Accurate) CNN-based Object DetectionSIGAI-關(guān)于感受野的總結(jié)Calculating Receptive Field of CNN