From 9f04fd130c8436b5a23c4c334d8fb7ea11a95ba6 Mon Sep 17 00:00:00 2001
From: Ziyao Wang <ziyaowang318@gmail.com>
Date: 星期一, 29 七月 2024 09:47:45 +0800
Subject: [PATCH] Fix invalid escape sequence '\w' in RegEx due to 'r' missing (#1967)

---
 examples/aishell/paraformer/run.sh |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/examples/aishell/paraformer/run.sh b/examples/aishell/paraformer/run.sh
index 528f140..ffef61e 100755
--- a/examples/aishell/paraformer/run.sh
+++ b/examples/aishell/paraformer/run.sh
@@ -15,7 +15,7 @@
 nj=32
 
 inference_device="cuda" #"cpu"
-inference_checkpoint="model.pt.avg5"
+inference_checkpoint="model.pt.avg10"
 inference_scp="wav.scp"
 inference_batch_size=32
 
@@ -26,6 +26,8 @@
 # exp tag
 tag="exp1"
 workspace=`pwd`
+
+master_port=12345
 
 . utils/parse_options.sh || exit 1;
 
@@ -113,6 +115,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