Cirf10_quick 与 Cirf10_full 区别

本文介绍了Cifar10数据集上两种不同的训练配置:Cirf10_quick与Cirf10_full。Cirf10_quick采用两层全连接层,学习率在4000次迭代后调整为0.001,在5000次迭代后调整为0.0001;Cirf10_full包含一层全连接层但加入了归一化层,并且学习率分别在6000、6500和7000次迭代后逐步降低。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


1、Cirf10_quick        


        学习率改变的迭代数  4000(0.001)      5000(0.0001)

                网络中没有   归一化层               

全连接有两层:


layer {

  name: "ip1"

  type: "InnerProduct"

  bottom: "pool3"

  top: "ip1"

  param {

    lr_mult: 1

  }

  param {

    lr_mult: 2

  }

  inner_product_param {

    num_output: 64

  }

}

layer {

  name: "ip2"

  type: "InnerProduct"

  bottom: "ip1"

  top: "ip2"

  param {

    lr_mult: 1

  }

  param {

    lr_mult: 2

  }

  inner_product_param {

    num_output: 10

  }

}


2、 Cirf10_full


学习率改变的迭代数  6000(0.001)      6500(0.0001) 7000(0.00001)

                网络中有   norm1 / norm2  归一化层  :


  layer {

  name: "norm1"

  type: "LRN"

  bottom: "pool1"

  top: "norm1"

  lrn_param {

    local_size: 3

    alpha: 5e-05

    beta: 0.75

    norm_region: WITHIN_CHANNEL

  }

}


全连接只有一层(慢):


layer {

  name: "ip1"

  type: "InnerProduct"

  bottom: "pool3"

  top: "ip1"

  param {

    lr_mult: 1

    decay_mult: 250

  }

  param {

    lr_mult: 2

    decay_mult: 0

  }

  inner_product_param {

    num_output: 10

  }

}







评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值