From 82c0ddb46b96bb086c5e064bd06969fca63ac5b6 Mon Sep 17 00:00:00 2001
From: 嘉渊 <wangjiaming.wjm@alibaba-inc.com>
Date: 星期四, 25 五月 2023 17:10:55 +0800
Subject: [PATCH] update repo
---
egs/wenetspeech/conformer/run.sh | 2 +-
egs/wenetspeech/conformer/local/data.sh | 11 +----------
2 files changed, 2 insertions(+), 11 deletions(-)
diff --git a/egs/wenetspeech/conformer/local/data.sh b/egs/wenetspeech/conformer/local/data.sh
index dcfba5f..d5c548f 100755
--- a/egs/wenetspeech/conformer/local/data.sh
+++ b/egs/wenetspeech/conformer/local/data.sh
@@ -17,19 +17,10 @@
stop_stage=100
set=L
data_dir="data"
+WENETSPEECH=
log "$0 $*"
. utils/parse_options.sh
-
-. ./path.sh || exit 1;
-. ./cmd.sh || exit 1;
-. ./db.sh || exit 1;
-
-if [ ! -e "${WENETSPEECH}" ]; then
- log "Fill the value of 'WENETSPEECH' of db.sh"
- log "or download the data set follwing the instruction in https://wenet-e2e.github.io/WenetSpeech/"
- exit 1
-fi
if [ ! -d "${WENETSPEECH}/audio" ] && [ ! -f "${WENETSPEECH}/WenetSpeech.json" ]; then
echo "Valid WENETSPEECH data not found in ${WENETSPEECH}."
diff --git a/egs/wenetspeech/conformer/run.sh b/egs/wenetspeech/conformer/run.sh
index 0945e66..bf0dc1f 100644
--- a/egs/wenetspeech/conformer/run.sh
+++ b/egs/wenetspeech/conformer/run.sh
@@ -72,7 +72,7 @@
if [ ${stage} -le 0 ] && [ ${stop_stage} -ge 0 ]; then
echo "stage 0: Data preparation"
# Data preparation
- local/data.sh "--set ${set}"
+ local/data.sh --set ${set} --nj 64 --data_dir $feats_dir --WENETSPEECH $raw_data
# mkdir $feats_dir/data
# mv $feats_dir/$train_set $feats_dir/data/$train_set
# for x in $test_sets; do
--
Gitblit v1.9.1