CAM

深度可分离卷积:普通卷积是33128,得到HW;深度可分离卷积是128个33的卷积核,得到HW128。
函数1:33、groups=in_channels;11卷积。
函数2:3*3卷积。
函数3:blocks个函数1。
类MobleNetV1和类的实例化,net = MobleNetV1(1000)。
for name,layer in net.named_children():
if name != “fc”:
x = layer(x)
print(name, ‘output shape:’, x.shape)
else:
x = x.view(x.size(0), -1)
x = layer(x)
print(name, ‘output shape:’, x.shape)
返回包含子模块的迭代器,同时产生模块的名称以及模块本身。如:CAM

相关文章:

  • 2021-04-08
  • 2021-10-14
  • 2021-04-23
  • 2021-12-25
  • 2021-09-25
  • 2021-06-27
  • 2021-08-25
  • 2021-05-19
猜你喜欢
  • 2021-08-06
  • 2021-08-19
  • 2021-07-02
  • 2021-07-23
  • 2022-12-23
  • 2021-12-14
  • 2022-01-19
相关资源
相似解决方案