train_ptq_infer_python.txt 831 B

123456789101112131415161718192021
  1. ===========================train_params===========================
  2. model_name:vi_layoutxlm_ser_KL
  3. python:python3.7
  4. Global.pretrained_model:
  5. Global.save_inference_dir:null
  6. infer_model:./inference/ser_vi_layoutxlm_xfund_infer/
  7. infer_export:deploy/slim/quantization/quant_kl.py -c ./configs/kie/vi_layoutxlm/ser_vi_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 --output=output --ocr_order_method=tb-yx
  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:True
  20. null:null
  21. null:null