yolov5_s_qat_dis.yml 552 字节
Newer Older
1 2 3

Global:
  reader_config: configs/yolov5_reader.yml
G
Guanghua Yu 已提交
4
  include_nms: True
5 6 7 8 9 10 11 12 13
  Evaluation: True
  model_dir: ./yolov5_s_300e_coco
  model_filename: model.pdmodel
  params_filename: model.pdiparams

Distillation:
  alpha: 1.0
  loss: soft_label

G
Guanghua Yu 已提交
14
QuantAware:
15 16 17 18 19 20 21
  use_pact: true
  activation_quantize_type: 'moving_average_abs_max'
  quantize_op_types:
  - conv2d
  - depthwise_conv2d

TrainConfig:
W
Wenyu 已提交
22
  train_iter: 3000
23
  eval_iter: 1000
W
Wenyu 已提交
24
  learning_rate: 0.00001
25 26 27 28
  optimizer_builder:
    optimizer:
      type: SGD
    weight_decay: 4.0e-05
W
Wenyu 已提交
29
  target_metric: 0.365