Image size after convolusion:
$frac{n-k+2p}{s}+1$
where n is the width (or height) of the image,
k is the kernel size,
p is the padding,
s is the stride.
上面公式简写为:
Image size after pooling:
$frac{n-f}{s}+1$
where n is the width (or height) of the image,
f is the pooling size,
s is the stride.
本站文章如无特殊说明,均为本站原创,如若转载,请注明出处:图像经过卷积后的尺寸计算公式 - Python技术站