ppyolo_r50vd_qat_pact.yml 842 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. pretrain_weights: https://paddledet.bj.bcebos.com/models/ppyolo_r50vd_dcn_1x_coco.pdparams
  2. slim: QAT
  3. QAT:
  4. quant_config: {
  5. 'activation_preprocess_type': 'PACT',
  6. 'weight_quantize_type': 'channel_wise_abs_max', 'activation_quantize_type': 'moving_average_abs_max',
  7. 'weight_bits': 8, 'activation_bits': 8, 'dtype': 'int8', 'window_size': 10000, 'moving_rate': 0.9,
  8. 'quantizable_layer_type': ['Conv2D', 'Linear']}
  9. print_model: True
  10. epoch: 50
  11. LearningRate:
  12. base_lr: 0.0005
  13. schedulers:
  14. - !PiecewiseDecay
  15. gamma: 0.1
  16. milestones:
  17. - 30
  18. - 45
  19. - !LinearWarmup
  20. start_factor: 0.
  21. steps: 1000
  22. OptimizerBuilder:
  23. optimizer:
  24. momentum: 0.9
  25. type: Momentum
  26. regularizer:
  27. factor: 0.0005
  28. type: L2
  29. PPYOLOFPN:
  30. coord_conv: true
  31. block_size: 3
  32. keep_prob: 0.9
  33. spp: true
  34. drop_block: false