ppyoloe_plus_crn_t_p2_60e_pphuman.yml 1.2 KB
Newer Older
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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
_BASE_: [
  '../datasets/coco_detection.yml',
  '../runtime.yml',
  '../ppyoloe/_base_/optimizer_300e.yml',
  '../ppyoloe/_base_/ppyoloe_plus_crn_tiny_auxhead.yml',
  '../ppyoloe/_base_/ppyoloe_plus_reader_tiny.yml',
]

log_iter: 100
snapshot_epoch: 4
weights: output/ppyoloe_plus_crn_tiny_60e_pphuman/model_final

pretrain_weights: https://paddledet.bj.bcebos.com/models/ppyoloe_plus_crn_tiny_auxhead_300e_coco.pdparams
depth_mult: 0.33
width_mult: 0.375


num_classes: 1
TrainDataset:
  !COCODataSet
    image_dir: ""
    anno_path: annotations/train.json
    dataset_dir: dataset/pphuman
    data_fields: ['image', 'gt_bbox', 'gt_class', 'is_crowd']

EvalDataset:
  !COCODataSet
    image_dir: ""
    anno_path: annotations/val.json
    dataset_dir: dataset/pphuman

TestDataset:
  !ImageFolder
    anno_path: annotations/val.json
    dataset_dir: dataset/pphuman


TrainReader:
  batch_size: 8


epoch: 60
LearningRate:
  base_lr: 0.001
  schedulers:
    - !CosineDecay
      max_epochs: 72
    - !LinearWarmup
      start_factor: 0.
      epochs: 1


PPYOLOEHead:
  static_assigner_epoch: -1
  nms:
    name: MultiClassNMS
    nms_top_k: 1000
    keep_top_k: 300
    score_threshold: 0.01
    nms_threshold: 0.7