图像经过卷积后的尺寸计算公式

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.

 

posted @ 2020-08-07 16:59  Picassooo  阅读(3460)  评论(0)    收藏  举报