From 7fbea77a791a9528cb3e6d709c587e395a8de9b4 Mon Sep 17 00:00:00 2001 From: shangliang Xu Date: Fri, 8 Apr 2022 20:10:49 +0800 Subject: [PATCH] [TIPC] fix log path in shell (#5638) --- test_tipc/test_train_inference_python.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_tipc/test_train_inference_python.sh b/test_tipc/test_train_inference_python.sh index e76c60a53..da8cb37e0 100644 --- a/test_tipc/test_train_inference_python.sh +++ b/test_tipc/test_train_inference_python.sh @@ -92,7 +92,7 @@ benchmark_value=$(func_parser_value "${lines[49]}") infer_key1=$(func_parser_key "${lines[50]}") infer_value1=$(func_parser_value "${lines[50]}") -LOG_PATH="./test_tipc/output" +LOG_PATH="./test_tipc/output/${model_name}" mkdir -p ${LOG_PATH} status_log="${LOG_PATH}/results_python.log" @@ -305,7 +305,7 @@ else status_check $? "${export_cmd}" "${status_log}" #run inference - save_export_model_dir="${save_export_value}/${model_name}" + save_export_model_dir="${save_log}/${model_name}" eval $env func_inference "${python}" "${inference_py}" "${save_export_model_dir}" "${LOG_PATH}" "${train_infer_img_dir}" "${flag_quant}" -- GitLab