ppyolo_r50vd_dcn_1x_minicoco.yml 677 字节
Newer Older
W
wangxinxin08 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
_BASE_: [
  '../datasets/coco_detection.yml',
  '../runtime.yml',
  './_base_/ppyolo_r50vd_dcn.yml',
  './_base_/optimizer_1x.yml',
  './_base_/ppyolo_reader.yml',
]

snapshot_epoch: 8
use_ema: false

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