diff --git a/test_tipc/configs/ch_PP-OCRv2/model_linux_gpu_normal_normal_infer_python_linux_gpu_cpu.txt b/test_tipc/configs/ch_PP-OCRv2/model_linux_gpu_normal_normal_infer_python_linux_gpu_cpu.txt index cf4d3fde0221b2a0edaf3d0f9bde5d8ff02991da..243b2f154f7119ef849a31fa9a4230cb6f8c714f 100644 --- a/test_tipc/configs/ch_PP-OCRv2/model_linux_gpu_normal_normal_infer_python_linux_gpu_cpu.txt +++ b/test_tipc/configs/ch_PP-OCRv2/model_linux_gpu_normal_normal_infer_python_linux_gpu_cpu.txt @@ -1,9 +1,11 @@ ===========================ch_ppocr_mobile_v2.0=========================== model_name:ch_PP-OCRv2 python:python3.7 +null:null +null:null infer_model:./inference/ch_PP-OCRv2_det_infer/ infer_export:null -infer_quant:True +infer_quant:False inference:tools/infer/predict_system.py --use_gpu:False|True --enable_mkldnn:False|True diff --git a/test_tipc/configs/ch_ppocr_mobile_v2.0/model_linux_gpu_normal_normal_infer_python_linux_gpu_cpu.txt b/test_tipc/configs/ch_ppocr_mobile_v2.0/model_linux_gpu_normal_normal_infer_python_linux_gpu_cpu.txt index 6a023951713f2993cbec448d88cd4029919d5860..abe5e80ef069881945e637e3788aefba5eca510f 100644 --- a/test_tipc/configs/ch_ppocr_mobile_v2.0/model_linux_gpu_normal_normal_infer_python_linux_gpu_cpu.txt +++ b/test_tipc/configs/ch_ppocr_mobile_v2.0/model_linux_gpu_normal_normal_infer_python_linux_gpu_cpu.txt @@ -1,9 +1,11 @@ ===========================ch_ppocr_mobile_v2.0=========================== model_name:ch_ppocr_mobile_v2.0 python:python3.7 +null:null +null:null infer_model:./inference/ch_ppocr_mobile_v2.0_det_infer/ infer_export:null -infer_quant:True +infer_quant:False inference:tools/infer/predict_system.py --use_gpu:False|True --enable_mkldnn:False|True diff --git a/test_tipc/test_train_inference_python.sh b/test_tipc/test_train_inference_python.sh index 7d70de1e38d2eb1a4c27e12eeea11d8c3d76975b..e55068e6712e6c8d7700ee9adb0707503b554b77 100644 --- a/test_tipc/test_train_inference_python.sh +++ b/test_tipc/test_train_inference_python.sh @@ -89,7 +89,7 @@ infer_key1=$(func_parser_key "${lines[50]}") infer_value1=$(func_parser_value "${lines[50]}") # parser klquant_infer -if [ ${MODE} = "klquant_whole_infer" ]; then +if [ ${MODE} = "klquant_whole_infer" ] || [ ${MODE} = "system_infer" ] ; then dataline=$(awk 'NR==1, NR==17{print}' $FILENAME) lines=(${dataline}) model_name=$(func_parser_value "${lines[1]}")