yolov3_mobilenet_v3_qat.yml 678 B

123456789101112131415161718192021222324
  1. # Weights of yolov3_mobilenet_v3_coco
  2. pretrain_weights: https://paddledet.bj.bcebos.com/models/yolov3_mobilenet_v3_large_270e_coco.pdparams
  3. slim: QAT
  4. QAT:
  5. quant_config: {
  6. 'activation_preprocess_type': 'PACT',
  7. 'weight_quantize_type': 'channel_wise_abs_max', 'activation_quantize_type': 'moving_average_abs_max',
  8. 'weight_bits': 8, 'activation_bits': 8, 'dtype': 'int8', 'window_size': 10000, 'moving_rate': 0.9,
  9. 'quantizable_layer_type': ['Conv2D', 'Linear']}
  10. print_model: True
  11. epoch: 50
  12. LearningRate:
  13. base_lr: 0.0001
  14. schedulers:
  15. - !PiecewiseDecay
  16. gamma: 0.1
  17. milestones:
  18. - 35
  19. - 45
  20. - !LinearWarmup
  21. start_factor: 0.
  22. steps: 1000