From 2a66366be4c2715870e4859fd5a5db6e8a9dc00a Mon Sep 17 00:00:00 2001
From: chenmengzheAAA <123789350+chenmengzheAAA@users.noreply.github.com>
Date: 星期四, 14 九月 2023 19:00:17 +0800
Subject: [PATCH] Merge pull request #956 from alibaba-damo-academy/chenmengzheAAA-patch-4

---
 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