From 34c14d82947831c202d1fdd59909c2b97c976037 Mon Sep 17 00:00:00 2001
From: 嘉渊 <wangjiaming.wjm@alibaba-inc.com>
Date: 星期二, 25 四月 2023 23:14:19 +0800
Subject: [PATCH] update
---
egs/aishell/paraformer/run.sh | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/egs/aishell/paraformer/run.sh b/egs/aishell/paraformer/run.sh
index 14fc7a1..1181c1f 100755
--- a/egs/aishell/paraformer/run.sh
+++ b/egs/aishell/paraformer/run.sh
@@ -3,7 +3,7 @@
. ./path.sh || exit 1;
# machines configuration
-CUDA_VISIBLE_DEVICES="0,1"
+CUDA_VISIBLE_DEVICES="2,3"
gpu_num=2
count=1
gpu_inference=true # Whether to perform gpu decoding, set false for cpu decoding
@@ -21,7 +21,7 @@
token_type=char
scp=wav.scp
type=sound
-stage=1
+stage=2
stop_stage=3
# feature configuration
@@ -33,7 +33,7 @@
data_url=www.openslr.org/resources/33
# exp tag
-tag=""
+tag="exp2"
. utils/parse_options.sh || exit 1;
@@ -100,7 +100,7 @@
echo "<blank>" > ${token_list}
echo "<s>" >> ${token_list}
echo "</s>" >> ${token_list}
- utils/text2token.py -s 1 -n 1 --space "" ${feats_dir}/data/train/text | cut -f 2- -d" " | tr " " "\n" \
+ utils/text2token.py -s 1 -n 1 --space "" ${feats_dir}/data/$train_set/text | cut -f 2- -d" " | tr " " "\n" \
| sort | uniq | grep -a -v -e '^\s*$' | awk '{print $0}' >> ${token_list}
echo "<unk>" >> ${token_list}
fi
--
Gitblit v1.9.1