train_ptq_infer_python.txt 789 B

123456789101112131415161718192021
  1. ===========================train_params===========================
  2. model_name:layoutxlm_ser_KL
  3. python:python3.7
  4. Global.pretrained_model:
  5. Global.save_inference_dir:null
  6. infer_model:./inference/ser_LayoutXLM_xfun_zh_infer/
  7. infer_export:deploy/slim/quantization/quant_kl.py -c test_tipc/configs/layoutxlm_ser/ser_layoutxlm_xfund_zh.yml -o Train.loader.batch_size_per_card=1 Eval.loader.batch_size_per_card=1
  8. infer_quant:True
  9. inference:ppstructure/kie/predict_kie_token_ser.py --kie_algorithm=LayoutXLM --ser_dict_path=./train_data/XFUND/class_list_xfun.txt
  10. --use_gpu:True|False
  11. --enable_mkldnn:False
  12. --cpu_threads:6
  13. --rec_batch_num:1
  14. --use_tensorrt:False
  15. --precision:int8
  16. --ser_model_dir:
  17. --image_dir:./ppstructure/docs/kie/input/zh_val_42.jpg
  18. null:null
  19. --benchmark:False
  20. null:null
  21. null:null