From 9fcb3cc06b4e324f0913d2f61b89becc2baeef1b Mon Sep 17 00:00:00 2001
From: hnluo <haoneng.lhn@alibaba-inc.com>
Date: 星期一, 11 九月 2023 17:40:03 +0800
Subject: [PATCH] Merge pull request #932 from alibaba-damo-academy/dev_lhn

---
 egs/wenetspeech/conformer/local/data.sh |   14 +++-----------
 1 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/egs/wenetspeech/conformer/local/data.sh b/egs/wenetspeech/conformer/local/data.sh
index dcfba5f..2b0a4be 100755
--- a/egs/wenetspeech/conformer/local/data.sh
+++ b/egs/wenetspeech/conformer/local/data.sh
@@ -13,23 +13,15 @@
 
 # general configuration
 nj=10
-stage=1
+stage=2
 stop_stage=100
 set=L
 data_dir="data"
+WENETSPEECH=
+train_cmd=
 
 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}."

--
Gitblit v1.9.1