Commit a0381457 authored by LDOUBLEV's avatar LDOUBLEV
Browse files

fix bug in line185

parent b4d7be33
......@@ -182,7 +182,7 @@ function func_inference(){
if [ ${use_trt} = "False" ] && [ ${precision} != "fp32" ]; then
continue
fi
if [ ${use_trt} = "False" || ${precision} != "int8"] && [ ${_flag_quant} = "True" ]; then
if [[ ${use_trt} = "False" || ${precision} != "int8" ]] && [ ${_flag_quant} = "True" ]; then
continue
fi
for batch_size in ${batch_size_list[*]}; do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment