From 29a096e292fa6ad40721536ed066eb076b5d1fda Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Tue, 25 Jan 2022 11:51:16 +0000 Subject: [PATCH] add echo and set null --- test_tipc/benchmark_train.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test_tipc/benchmark_train.sh b/test_tipc/benchmark_train.sh index 6eb25665..c7094f2d 100644 --- a/test_tipc/benchmark_train.sh +++ b/test_tipc/benchmark_train.sh @@ -147,8 +147,9 @@ else mkdir -p $log_path log_name="${repo_name}_${model_name}_bs${batch_size}_${precision}_${run_process_type}_${run_mode}_${device_num}_log" func_sed_params "$FILENAME" "4" "$gpu_id" # sed used gpu_id - func_sed_params "$FILENAME" "13" "$null" # sed --profile_option as null + func_sed_params "$FILENAME" "13" "null" # sed --profile_option as null cmd="bash test_tipc/test_train_inference_python.sh ${FILENAME} benchmark_train > ${log_path}/${log_name} 2>&1 " + echo $cmd eval $cmd eval "cat ${log_path}/${log_name}" fi -- GitLab