From c826c42e6185158f58dfa702f15a7bf6b5bf50fa Mon Sep 17 00:00:00 2001 From: dongshuilong Date: Wed, 11 Aug 2021 11:41:12 +0000 Subject: [PATCH] fix benchmark bugs --- tests/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.sh b/tests/test.sh index 1885b757..c717f77d 100644 --- a/tests/test.sh +++ b/tests/test.sh @@ -185,7 +185,7 @@ function func_inference(){ elif [ ${use_gpu} = "True" ] || [ ${use_gpu} = "gpu" ]; then for use_trt in ${use_trt_list[*]}; do for precision in ${precision_list[*]}; do - if [ ${precision} = "False" ] && [ ${use_trt} = "False" ]; then + if [ ${precision} = "True" ] && [ ${use_trt} = "False" ]; then continue fi if [[ ${use_trt} = "False" || ${precision} =~ "int8" ]] && [ ${_flag_quant} = "True" ]; then -- GitLab