ppyolo_r50vd_dcn_1x_minicoco.yml 849 字节
Newer Older
W
wangxinxin08 已提交
1 2 3 4 5 6 7 8 9
_BASE_: [
  '../datasets/coco_detection.yml',
  '../runtime.yml',
  './_base_/ppyolo_r50vd_dcn.yml',
  './_base_/optimizer_1x.yml',
  './_base_/ppyolo_reader.yml',
]

snapshot_epoch: 8
W
wangxinxin08 已提交
10 11
use_ema: true
weights: output/ppyolo_r50vd_dcn_1x_minicoco/model_final
W
wangxinxin08 已提交
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36

TrainReader:
  batch_size: 12

TrainDataset:
  !COCODataSet
    image_dir: train2017
    # refer to https://github.com/giddyyupp/coco-minitrain
    anno_path: annotations/instances_minitrain2017.json
    dataset_dir: dataset/coco
    data_fields: ['image', 'gt_bbox', 'gt_class', 'is_crowd']

epoch: 192

LearningRate:
  base_lr: 0.005
  schedulers:
  - !PiecewiseDecay
    gamma: 0.1
    milestones:
    - 153
    - 173
  - !LinearWarmup
    start_factor: 0.
    steps: 4000
W
wangxinxin08 已提交
37 38 39 40 41 42 43 44

OptimizerBuilder:
  optimizer:
    momentum: 0.9
    type: Momentum
  regularizer:
    factor: 0.0005
    type: L2