From eb1574b813e230b156fc09eaaf03227b1b0b4134 Mon Sep 17 00:00:00 2001
From: weilikai <jasper@talkus.fun>
Date: 星期六, 20 九月 2025 22:41:05 +0800
Subject: [PATCH] fix: support loading .pcm (16k 1c 16bit) audio files in load_utils.py (#2667) (#2668)
---
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