【问题标题】:Number of parameter for convolutional filter卷积滤波器的参数个数
【发布时间】:2019-05-11 11:10:20
【问题描述】:

假设您有一个 10x10x3 的彩色图像输入,并且您想要分别使用 10 个和 20 个过滤器堆叠两个内核大小为 3x3 的卷积层。你要为这两层训练多少个参数?

【问题讨论】:

    标签: conv-neural-network


    【解决方案1】:

    卷积层的参数个数可以计算为

    (宽 x 高 x cin + 偏差)x cout

    对于第一层参数将是

    (3 x 3 x 3 + 1) x 10 which is 280
    

    现在是第二层

    (3 x 3 x 10 + 1) x 20, here c_in 10 is from previous layer, so this layer 
    have 1820 parameter
    and total parameter is 1820 + 280 which is 2100
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-11-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-11-22
      • 2021-01-03
      • 1970-01-01
      相关资源
      最近更新 更多