picodet_s_416_lcnet_quant.yml 618 B

12345678910111213141516171819202122
  1. pretrain_weights: https://paddledet.bj.bcebos.com/models/picodet_s_416_coco_lcnet.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: False
  10. TrainReader:
  11. batch_size: 48
  12. LearningRate:
  13. base_lr: 0.024
  14. schedulers:
  15. - !CosineDecay
  16. max_epochs: 300
  17. - !LinearWarmup
  18. start_factor: 0.1
  19. steps: 300