yolov7_l_qat_dis.yaml 614 字节
Newer Older
1 2

Global:
W
Wenyu 已提交
3
  reader_config: configs/yolov5_reader.yml
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
  input_list: ['image', 'scale_factor']
  arch: YOLO
  Evaluation: True
  model_dir: ./yolov7_l_300e_coco
  model_filename: model.pdmodel
  params_filename: model.pdiparams

Distillation:
  alpha: 1.0
  loss: soft_label

Quantization:
  activation_quantize_type: 'moving_average_abs_max'
  quantize_op_types:
  - conv2d
  - depthwise_conv2d

TrainConfig:
W
Wenyu 已提交
22
  train_iter: 8000
23
  eval_iter: 1000
W
Wenyu 已提交
24 25
  learning_rate: 
    type: CosineAnnealingDecay 
26
    learning_rate: 0.00003
W
Wenyu 已提交
27
    T_max: 8000
28
  optimizer_builder:
W
Wenyu 已提交
29
    optimizer:
30
      type: SGD
W
Wenyu 已提交
31
    weight_decay: 0.00004