train_ptq_infer_python.txt 649 B

123456789101112131415161718192021
  1. ===========================kl_quant_params===========================
  2. model_name:ch_PP-OCRv2_rec_KL
  3. python:python3.7
  4. Global.pretrained_model:null
  5. Global.save_inference_dir:null
  6. infer_model:./inference/ch_PP-OCRv2_rec_infer/
  7. infer_export:deploy/slim/quantization/quant_kl.py -c test_tipc/configs/ch_PP-OCRv2_rec/ch_PP-OCRv2_rec_distillation.yml -o
  8. infer_quant:True
  9. inference:tools/infer/predict_rec.py --rec_image_shape="3,32,320"
  10. --use_gpu:False|True
  11. --enable_mkldnn:False
  12. --cpu_threads:6
  13. --rec_batch_num:1|6
  14. --use_tensorrt:False
  15. --precision:int8
  16. --rec_model_dir:
  17. --image_dir:./inference/rec_inference
  18. null:null
  19. --benchmark:True
  20. null:null
  21. null:null