DeepLabv3+训练细节总结

本文详细总结了DeepLabv3+的训练协议,包括使用ResNet-101或修改后的Xception,基于ImageNet-1K预训练,在PASCAL VOC 2012数据集上进行训练。采用了'poly'学习率策略,初始学习率为0.007,并使用了513×513的输入尺寸。在验证集上,模型以8的 atrous rate 进行推理,以获取更详细的特征图。训练过程中还涉及了数据增强,如图像缩放和随机左右翻转。

Training Protocol

  • backbone: ResNet-101 or modified aligned Xception
  • pretrain: ImageNet-1K
  • dataset: PASCAL VOC 2012 (20 foreground object classes, 1 background class)
    10582 (trainaug) training images, 1449 (val), 1456 (test)
  • lr schedule: “poly” policy (initial lr: 0.007)
    initial learning rate is multiplied by (1−itermax_iter)power(1-\frac{iter}{max\_iter})^{power}(1max_iteriter)power with power=0.9power=0.9power=0.9
  • crop size: 513×513
    For atrous convolution with large rates to be effective, large crop size is required.
  • fine-tune batch normalization parameters when output stride= 16
    output stride: the ratio of input image spatial resolution to final output resolution.
    added modules (ASPP, decoder, etc) on top of ResNet all include batch normalization parameters.
  • batch size=16
    The batch normalization parameters are trained with decay = 0.9997.
    After training on the trainaug set with 30K iterations and initial learning rate = 0.007, we then freeze batch normalization parameters, employ output stride = 8, and train on the official PASCAL VOC 2012 trainval set for another 30K iterations and smaller base learning rate = 0.001.
  • random scale data augmentation: scaling input image (from 0.5 to 2.0) and randomly left-right flipping during training
  • include batch normalization parameters in the proposed decoder module
  • train end-to-end
  • Upsampling logits

Inference strategy on val set

  • output stride=8
    the model is trained with output stride=16, and apply output stride=8 to get more detailed feature map during inference.
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值