卷积运算的参数量与计算量

卷积动画参考链接为:https://blog.csdn.net/haitaolang/article/details/80083691

  第一排(注意是排,而不是个) ,另外还需要注意有bias:
在这里插入图片描述
  第二排(注意是排,而不是个),另外还需要注意有bias:
在这里插入图片描述

参数量计算公式如下所示:

((m * n * d)+1)* k):((shape of width of the filter * shape of height of the filter * number of filters in the previous layer+1)*number of filters)

VGG-16为例,Conv1-1,输入 224 ∗ 224 ∗ 3 224*224*3 2242243,64个 3 ∗ 3 3*3 33 filter,输出feature map 224 ∗ 224 ∗ 64 224*224*64 22422464

参考链接为:https://towardsdatascience.com/understanding-and-calculating-the-number-of-parameters-in-convolution-neural-networks-cnns-fc88790d530d

Conv1-1的参数量为 3 ∗ 3 ∗ 3 ∗ 64 3*3*3*64 33364。存疑!!!

Conv2-1,输入 [公式] ,128个 [公式] filter,输出feature map [公式] 。

Conv2-1的参数量 [公式] 。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值