ppyoloe_s_qat_dis.yaml 702 字节
Newer Older
G
Guanghua Yu 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Global:
  reader_config: configs/yolo_reader.yml
  input_list: ['image']
  arch: PPYOLOE    # When export exclude_nms=True, need set arch: PPYOLOE
  Evaluation: True
  model_dir: ./ppyoloe_crn_s_300e_coco
  model_filename: model.pdmodel
  params_filename: model.pdiparams

Distillation:
  alpha: 1.0
  loss: soft_label

Quantization:
16
  onnx_format: true
G
Guanghua Yu 已提交
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
  use_pact: true
  activation_quantize_type: 'moving_average_abs_max'
  quantize_op_types:
  - conv2d
  - depthwise_conv2d

TrainConfig:
  train_iter: 5000
  eval_iter: 1000
  learning_rate:  
    type: CosineAnnealingDecay
    learning_rate: 0.00003
    T_max: 6000
  optimizer_builder:
    optimizer: 
      type: SGD
    weight_decay: 4.0e-05