From 4287fd21933ae968b5455a8784edda4acaa1407a Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Thu, 3 Mar 2022 19:50:52 +0800 Subject: [PATCH] add model_name to save_log --- 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 4ad83c66..16024caf 100644 --- a/test_tipc/test_train_inference_python.sh +++ b/test_tipc/test_train_inference_python.sh @@ -316,14 +316,14 @@ else set_train_params1=$(func_set_params "${train_param_key1}" "${train_param_value1}") set_use_gpu=$(func_set_params "${train_use_gpu_key}" "${train_use_gpu}") if [ ${#ips} -le 26 ];then - save_log="${LOG_PATH}/${trainer}_gpus_${gpu}_autocast_${autocast}" + save_log="${LOG_PATH}/${model_name}/${trainer}_gpus_${gpu}_autocast_${autocast}" nodes=1 else IFS="," ips_array=(${ips}) IFS="|" nodes=${#ips_array[@]} - save_log="${LOG_PATH}/${trainer}_gpus_${gpu}_autocast_${autocast}_nodes_${nodes}" + save_log="${LOG_PATH}/${model_name}/${trainer}_gpus_${gpu}_autocast_${autocast}_nodes_${nodes}" fi -- GitLab