From 2e8dc0933f31bf449ecc11ac1b4dc1833fdaad42 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期二, 20 二月 2024 18:01:15 +0800
Subject: [PATCH] train finetune

---
 examples/aishell/branchformer/run.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/examples/aishell/branchformer/run.sh b/examples/aishell/branchformer/run.sh
index 090226b..f4842d0 100755
--- a/examples/aishell/branchformer/run.sh
+++ b/examples/aishell/branchformer/run.sh
@@ -105,7 +105,8 @@
   echo "stage 4: ASR Training"
 
   mkdir -p ${exp_dir}/exp/${model_dir}
-  log_file="${exp_dir}/exp/${model_dir}/train.log.txt"
+  current_time=$(date "+%Y-%m-%d_%H-%M")
+  log_file="${exp_dir}/exp/${model_dir}/train.log.txt.${current_time}"
   echo "log_file: ${log_file}"
 
   gpu_num=$(echo $CUDA_VISIBLE_DEVICES | awk -F "," '{print NF}')

--
Gitblit v1.9.1