solov2_r50_fpn_3x_coco.yml 1.0 KB
Newer Older
G
Guanghua Yu 已提交
1
_BASE_: [
2 3
  '../datasets/coco_instance.yml',
  '../runtime.yml',
G
Guanghua Yu 已提交
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
  '_base_/solov2_r50_fpn.yml',
  '_base_/optimizer_1x.yml',
  '_base_/solov2_reader.yml',
]
weights: output/solov2_r50_fpn_3x_coco/model_final
epoch: 36

LearningRate:
  base_lr: 0.01
  schedulers:
  - !PiecewiseDecay
    gamma: 0.1
    milestones: [24, 33]
  - !LinearWarmup
    start_factor: 0.
    steps: 1000

TrainReader:
  sample_transforms:
23
  - Decode: {}
G
Guanghua Yu 已提交
24
  - Poly2Mask: {}
25
  - RandomResize: {interp: 1,
G
Guanghua Yu 已提交
26 27
                     target_size: [[640, 1333], [672, 1333], [704, 1333], [736, 1333], [768, 1333], [800, 1333]],
                     keep_ratio: True}
28 29 30
  - RandomFlip: {}
  - NormalizeImage: {is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]}
  - Permute: {}
G
Guanghua Yu 已提交
31
  batch_transforms:
32 33
  - PadBatch: {pad_to_stride: 32}
  - Gt2Solov2Target: {num_grids: [40, 36, 24, 16, 12],
G
Guanghua Yu 已提交
34 35 36 37 38
                        scale_ranges: [[1, 96], [48, 192], [96, 384], [192, 768], [384, 2048]],
                        coord_sigma: 0.2}
  batch_size: 2
  shuffle: true
  drop_last: true