From 93a02feda1848531a48a1794a8de12a962c84a8e Mon Sep 17 00:00:00 2001
From: Xingchen Song(宋星辰) <xingchensong1996@163.com>
Date: 星期五, 07 六月 2024 23:10:13 +0800
Subject: [PATCH] [fix] fix empty asr result (#1794)

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

diff --git a/examples/aishell/conformer/run.sh b/examples/aishell/conformer/run.sh
index ba8b43c..0c8ab50 100755
--- a/examples/aishell/conformer/run.sh
+++ b/examples/aishell/conformer/run.sh
@@ -27,6 +27,8 @@
 tag="exp1"
 workspace=`pwd`
 
+master_port=12345
+
 . utils/parse_options.sh || exit 1;
 
 # Set bash to 'debug' mode, it will exit on :
@@ -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