From ddcbad5e18588ce8da7c71c5de4613f505cf57c7 Mon Sep 17 00:00:00 2001
From: 嘉渊 <wangjiaming.wjm@alibaba-inc.com>
Date: 星期四, 11 五月 2023 15:15:01 +0800
Subject: [PATCH] update repo
---
egs/librispeech_100h/conformer/run.sh | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/egs/librispeech_100h/conformer/run.sh b/egs/librispeech_100h/conformer/run.sh
index d60e827..bca1ed8 100755
--- a/egs/librispeech_100h/conformer/run.sh
+++ b/egs/librispeech_100h/conformer/run.sh
@@ -19,8 +19,8 @@
token_type=bpe
type=sound
scp=wav.scp
-stage=0
-stop_stage=0
+stage=3
+stop_stage=4
# feature configuration
feats_dim=80
@@ -79,9 +79,10 @@
if [ ${stage} -le 0 ] && [ ${stop_stage} -ge 0 ]; then
echo "stage 0: Data preparation"
# Data preparation
-# for x in dev-clean dev-other test-clean test-other train-clean-100; do
-# local/data_prep.sh ${raw_data}/LibriSpeech/${x} ${feats_dir}/data/${x//-/_}
-# done
+ for x in dev-clean dev-other test-clean test-other train-clean-100; do
+ local/data_prep.sh ${raw_data}/LibriSpeech/${x} ${feats_dir}/data/${x//-/_}
+ done
+ mkdir $feats_dir/data/$valid_set
dev_sets="dev_clean dev_other"
for file in wav.scp text; do
( for f in $dev_sets; do cat $feats_dir/data/$f/$file; done ) | sort -k1 > $feats_dir/data/$valid_set/$file || exit 1;
@@ -140,7 +141,6 @@
--resume true \
--output_dir ${exp_dir}/exp/${model_dir} \
--config $asr_config \
- --input_size $feats_dim \
--ngpu $gpu_num \
--num_worker_count $count \
--multiprocessing_distributed true \
--
Gitblit v1.9.1