卷积/池化后图像大小计算公式
其他
2020-09-09 04:20:32
阅读次数: 0
卷积操作
- 输入图像的大小为
old_width×old_height×3
- 卷积核的数量为
N
- 卷积核的尺寸为
F×F×3(卷积核的通道数应该与输入图像的通道数保持一致,均为3)
- 卷积步长(stride)为
S
- 填充(padding)数量为
P
则卷积后的图像尺寸大小为
new_width×new_height×N(卷积后的图像厚度为卷积核的数量
N)
其中,
new_width=(old_width−F+2×P)/S+1
new_height=(old_height−F+2×P)/S+1
池化操作
- 输入图像的大小为
old_width×old_height×3
- 卷积核的数量为
N
- 卷积核的尺寸为
F×F×3
- 卷积步长(stride)为
S
- 填充(padding)数量为
P
转载自blog.csdn.net/gaolijing_/article/details/104423228