From fc515cbe2e731c15913394629e4dbadc8e95c017 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期五, 08 十一月 2024 13:30:48 +0800
Subject: [PATCH] refactor(deepspeed_conf): 移除旧配置文件
---
examples/aishell/conformer/run.sh | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/examples/aishell/conformer/run.sh b/examples/aishell/conformer/run.sh
index fa6873a..0c8ab50 100755
--- a/examples/aishell/conformer/run.sh
+++ b/examples/aishell/conformer/run.sh
@@ -15,7 +15,7 @@
nj=32
inference_device="cuda" #"cpu", "cuda:0", "cuda:1"
-inference_checkpoint="model.pt.avg5"
+inference_checkpoint="model.pt.avg10"
inference_scp="wav.scp"
inference_batch_size=1
@@ -26,6 +26,8 @@
# exp tag
tag="exp1"
workspace=`pwd`
+
+master_port=12345
. utils/parse_options.sh || exit 1;
@@ -114,6 +116,7 @@
torchrun \
--nnodes 1 \
--nproc_per_node ${gpu_num} \
+ --master_port ${master_port} \
../../../funasr/bin/train.py \
--config-path "${workspace}/conf" \
--config-name "${config}" \
--
Gitblit v1.9.1