diff --git a/examples/speechcommand_v1/s0/run.sh b/examples/speechcommand_v1/s0/run.sh index f7334d5..0149e54 100755 --- a/examples/speechcommand_v1/s0/run.sh +++ b/examples/speechcommand_v1/s0/run.sh @@ -6,20 +6,8 @@ export CUDA_VISIBLE_DEVICES="0" -stage=2 -stop_stage=4 -num_keywords=11 - -config=conf/mdtc.yaml -norm_mean=false -norm_var=false -gpu_id=4 - -checkpoint= -dir=exp/mdtc - -num_average=10 -score_checkpoint=$dir/avg_${num_average}.pt +stage=-1 +stop_stage=0 # your data dir download_dir=/mnt/mnt-data-3/jingyong.hou/data @@ -47,18 +35,3 @@ if [ ${stage} -le 0 ] && [ ${stop_stage} -ge 0 ]; then done fi - -if [ ${stage} -le 1 ] && [ ${stop_stage} -ge 1 ]; then - echo "Compute CMVN and Format datasets" - tools/compute_cmvn_stats.py --num_workers 16 --train_config $config \ - --in_scp data/train/wav.scp \ - --out_cmvn data/train/global_cmvn - - for x in train valid test; do - tools/wav_to_duration.sh --nj 8 data/$x/wav.scp data/$x/wav.dur - tools/make_list.py data/$x/wav.scp data/$x/text \ - data/$x/wav.dur data/$x/data.list - done -fi - -