From 2ff77ee3d6ceddb6e6c1e0173ce9923cea609101 Mon Sep 17 00:00:00 2001 From: WenmuZhou <572459439@qq.com> Date: Wed, 12 Oct 2022 06:14:34 +0000 Subject: [PATCH] set benchmark to true --- .../train_linux_gpu_normal_amp_infer_python_linux_gpu_cpu.txt | 2 +- test_tipc/configs/slanet/train_pact_infer_python.txt | 2 +- test_tipc/configs/slanet/train_ptq_infer_python.txt | 2 +- .../train_linux_gpu_fleet_normal_infer_python_linux_gpu_cpu.txt | 2 +- .../train_linux_gpu_normal_amp_infer_python_linux_gpu_cpu.txt | 2 +- test_tipc/configs/vi_layoutxlm_ser/train_pact_infer_python.txt | 2 +- test_tipc/configs/vi_layoutxlm_ser/train_ptq_infer_python.txt | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/test_tipc/configs/slanet/train_linux_gpu_normal_amp_infer_python_linux_gpu_cpu.txt b/test_tipc/configs/slanet/train_linux_gpu_normal_amp_infer_python_linux_gpu_cpu.txt index 279031bc..f903f0d5 100644 --- a/test_tipc/configs/slanet/train_linux_gpu_normal_amp_infer_python_linux_gpu_cpu.txt +++ b/test_tipc/configs/slanet/train_linux_gpu_normal_amp_infer_python_linux_gpu_cpu.txt @@ -42,7 +42,7 @@ inference:ppstructure/table/predict_table.py --det_model_dir=./inference/en_ppoc --enable_mkldnn:False --cpu_threads:6 --rec_batch_num:1 ---use_tensorrt:False +--use_tensorrt:True --precision:fp32 --table_model_dir: --image_dir:./ppstructure/docs/table/table.jpg diff --git a/test_tipc/configs/slanet/train_pact_infer_python.txt b/test_tipc/configs/slanet/train_pact_infer_python.txt index 848d768a..42ed0cf5 100644 --- a/test_tipc/configs/slanet/train_pact_infer_python.txt +++ b/test_tipc/configs/slanet/train_pact_infer_python.txt @@ -47,7 +47,7 @@ inference:ppstructure/table/predict_table.py --det_model_dir=./inference/en_ppoc --table_model_dir: --image_dir:./ppstructure/docs/table/table.jpg null:null ---benchmark:False +--benchmark:True null:null ===========================infer_benchmark_params========================== random_infer_input:[{float32,[3,488,488]}] diff --git a/test_tipc/configs/slanet/train_ptq_infer_python.txt b/test_tipc/configs/slanet/train_ptq_infer_python.txt index c49a1d88..08188a8f 100644 --- a/test_tipc/configs/slanet/train_ptq_infer_python.txt +++ b/test_tipc/configs/slanet/train_ptq_infer_python.txt @@ -16,6 +16,6 @@ inference:ppstructure/table/predict_table.py --det_model_dir=./inference/ch_PP-O --table_model_dir: --image_dir:./ppstructure/docs/table/table.jpg null:null ---benchmark:False +--benchmark:True null:null null:null diff --git a/test_tipc/configs/vi_layoutxlm_ser/train_linux_gpu_fleet_normal_infer_python_linux_gpu_cpu.txt b/test_tipc/configs/vi_layoutxlm_ser/train_linux_gpu_fleet_normal_infer_python_linux_gpu_cpu.txt index 65d927d2..74953ec2 100644 --- a/test_tipc/configs/vi_layoutxlm_ser/train_linux_gpu_fleet_normal_infer_python_linux_gpu_cpu.txt +++ b/test_tipc/configs/vi_layoutxlm_ser/train_linux_gpu_fleet_normal_infer_python_linux_gpu_cpu.txt @@ -47,7 +47,7 @@ inference:ppstructure/kie/predict_kie_token_ser.py --kie_algorithm=LayoutXLM - --ser_model_dir: --image_dir:./ppstructure/docs/kie/input/zh_val_42.jpg null:null ---benchmark:False +--benchmark:True null:null ===========================infer_benchmark_params========================== random_infer_input:[{float32,[3,224,224]}] diff --git a/test_tipc/configs/vi_layoutxlm_ser/train_linux_gpu_normal_amp_infer_python_linux_gpu_cpu.txt b/test_tipc/configs/vi_layoutxlm_ser/train_linux_gpu_normal_amp_infer_python_linux_gpu_cpu.txt index 0367b559..95daa020 100644 --- a/test_tipc/configs/vi_layoutxlm_ser/train_linux_gpu_normal_amp_infer_python_linux_gpu_cpu.txt +++ b/test_tipc/configs/vi_layoutxlm_ser/train_linux_gpu_normal_amp_infer_python_linux_gpu_cpu.txt @@ -47,7 +47,7 @@ inference:ppstructure/kie/predict_kie_token_ser.py --kie_algorithm=LayoutXLM - --ser_model_dir: --image_dir:./ppstructure/docs/kie/input/zh_val_42.jpg null:null ---benchmark:False +--benchmark:True null:null ===========================infer_benchmark_params========================== random_infer_input:[{float32,[3,224,224]}] diff --git a/test_tipc/configs/vi_layoutxlm_ser/train_pact_infer_python.txt b/test_tipc/configs/vi_layoutxlm_ser/train_pact_infer_python.txt index e711baa0..c1fc48c2 100644 --- a/test_tipc/configs/vi_layoutxlm_ser/train_pact_infer_python.txt +++ b/test_tipc/configs/vi_layoutxlm_ser/train_pact_infer_python.txt @@ -47,7 +47,7 @@ inference:ppstructure/kie/predict_kie_token_ser.py --kie_algorithm=LayoutXLM - --ser_model_dir: --image_dir:./ppstructure/docs/kie/input/zh_val_42.jpg null:null ---benchmark:False +--benchmark:True null:null ===========================infer_benchmark_params========================== random_infer_input:[{float32,[3,224,224]}] diff --git a/test_tipc/configs/vi_layoutxlm_ser/train_ptq_infer_python.txt b/test_tipc/configs/vi_layoutxlm_ser/train_ptq_infer_python.txt index eb127035..faae8713 100644 --- a/test_tipc/configs/vi_layoutxlm_ser/train_ptq_infer_python.txt +++ b/test_tipc/configs/vi_layoutxlm_ser/train_ptq_infer_python.txt @@ -16,6 +16,6 @@ inference:ppstructure/kie/predict_kie_token_ser.py --kie_algorithm=LayoutXLM - --ser_model_dir: --image_dir:./ppstructure/docs/kie/input/zh_val_42.jpg null:null ---benchmark:False +--benchmark:True null:null null:null -- GitLab