更换文档检测模型
This commit is contained in:
26
paddle_detection/configs/slim/quant/tinypose_qat.yml
Normal file
26
paddle_detection/configs/slim/quant/tinypose_qat.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
pretrain_weights: https://paddledet.bj.bcebos.com/models/keypoint/tinypose_128x96.pdparams
|
||||
slim: QAT
|
||||
|
||||
QAT:
|
||||
quant_config: {
|
||||
'activation_preprocess_type': 'PACT',
|
||||
'weight_quantize_type': 'channel_wise_abs_max', 'activation_quantize_type': 'moving_average_abs_max',
|
||||
'weight_bits': 8, 'activation_bits': 8, 'dtype': 'int8', 'window_size': 10000, 'moving_rate': 0.9,
|
||||
'quantizable_layer_type': ['Conv2D', 'Linear']}
|
||||
print_model: False
|
||||
|
||||
epoch: 50
|
||||
LearningRate:
|
||||
base_lr: 0.001
|
||||
schedulers:
|
||||
- !PiecewiseDecay
|
||||
gamma: 0.1
|
||||
milestones:
|
||||
- 30
|
||||
- 40
|
||||
- !LinearWarmup
|
||||
start_factor: 0.
|
||||
steps: 100
|
||||
|
||||
TrainReader:
|
||||
batch_size: 256
|
||||
Reference in New Issue
Block a user