fcos_r50_fpn_multiscale_2x_coco.yml 1002 字节
Newer Older
F
Feng Ni 已提交
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 36 37 38 39 40 41 42 43
_BASE_: [
  '../datasets/coco_detection.yml',
  '../runtime.yml',
  '_base_/fcos_r50_fpn.yml',
  '_base_/optimizer_1x.yml',
  '_base_/fcos_reader.yml',
]

weights: output/fcos_r50_fpn_multiscale_2x_coco/model_final

TrainReader:
  sample_transforms:
  - DecodeOp: {}
  - RandomFlipOp: {prob: 0.5}
  - NormalizeImageOp: {is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]}
  - ResizeImage:
      target_size: [640, 672, 704, 736, 768, 800]
      max_size: 1333
      interp: 1
      use_cv2: true
  - PermuteOp: {}
  batch_transforms:
  - PadBatchOp: {pad_to_stride: 128}
  - Gt2FCOSTarget:
      object_sizes_boundary: [64, 128, 256, 512]
      center_sampling_radius: 1.5
      downsample_ratios: [8, 16, 32, 64, 128]
      norm_reg_targets: True
  batch_size: 2
  shuffle: true
  drop_last: true

epoch: 24

LearningRate:
  base_lr: 0.01
  schedulers:
  - !PiecewiseDecay
    gamma: 0.1
    milestones: [16, 22]
  - !LinearWarmup
    start_factor: 0.3333333333333333
    steps: 500