ppyolov2_r50vd_dcn_qat.yml 759 B

123456789101112131415161718192021222324252627282930313233
  1. pretrain_weights: https://paddledet.bj.bcebos.com/models/ppyolov2_r50vd_dcn_365e_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. snapshot_epoch: 8
  12. LearningRate:
  13. base_lr: 0.0005
  14. schedulers:
  15. - !PiecewiseDecay
  16. gamma: 0.1
  17. milestones:
  18. - 30
  19. - 45
  20. - !LinearWarmup
  21. start_factor: 0.
  22. steps: 2000
  23. TrainReader:
  24. batch_size: 8
  25. PPYOLOPAN:
  26. drop_block: false
  27. block_size: 3
  28. keep_prob: 0.9
  29. spp: true