From c6574bf4f4390a9c0dfdd5aa2c4f39eb85e1557e Mon Sep 17 00:00:00 2001
From: Shi Xian <40013335+R1ckShi@users.noreply.github.com>
Date: 星期二, 09 四月 2024 10:41:11 +0800
Subject: [PATCH] Merge pull request #1596 from wanghuii1/main
---
examples/aishell/paraformer/run.sh | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/examples/aishell/paraformer/run.sh b/examples/aishell/paraformer/run.sh
index f96b192..a957b93 100755
--- a/examples/aishell/paraformer/run.sh
+++ b/examples/aishell/paraformer/run.sh
@@ -5,7 +5,7 @@
# general configuration
feats_dir="../DATA" #feature output dictionary
-exp_dir="."
+exp_dir=`pwd`
lang=zh
token_type=char
stage=0
@@ -15,7 +15,7 @@
nj=32
inference_device="cuda" #"cpu"
-inference_checkpoint="model.pt"
+inference_checkpoint="model.pt.avg10"
inference_scp="wav.scp"
inference_batch_size=32
@@ -76,8 +76,7 @@
--config-path "${workspace}/conf" \
--config-name "${config}" \
++train_data_set_list="${feats_dir}/data/${train_set}/audio_datasets.jsonl" \
- ++cmvn_file="${feats_dir}/data/${train_set}/cmvn.json" \
- ++dataset_conf.num_workers=$nj
+ ++cmvn_file="${feats_dir}/data/${train_set}/cmvn.json"
fi
token_list=${feats_dir}/data/${lang}_token_list/$token_type/tokens.txt
--
Gitblit v1.9.1