未验证 提交 4cd3dcc5 编写于 作者: D Double_V 提交者: GitHub

Update test_inference_cpp.sh

上级 6620a06b
...@@ -39,9 +39,9 @@ status_log="${LOG_PATH}/results_infer_cpp.log" ...@@ -39,9 +39,9 @@ status_log="${LOG_PATH}/results_infer_cpp.log"
function func_infer_cpp(){ function func_infer_cpp(){
# inference cpp # inference cpp
if test $use_gpu_value -gt 0; then if test $use_gpu_value -gt 0; then
_save_log_path="${LOG_PATH}/infer_cpp_use_cpu.log" _save_log_path="${LOG_PATH}/infer_cpp_use_${use_gpu_key}.log"
else else
_save_log_path="${LOG_PATH}/infer_cpp_${use_gpu_key}.log" _save_log_path="${LOG_PATH}/infer_cpp_use_cpu.log"
fi fi
# run infer cpp # run infer cpp
inference_cpp_cmd="./deploy/inference_cpp/build/clas_system" inference_cpp_cmd="./deploy/inference_cpp/build/clas_system"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册