From 1a1e6f008c97c001f22179af64ce25b69a2b7b6b Mon Sep 17 00:00:00 2001 From: Yang Zhou Date: Sun, 24 Apr 2022 17:06:35 +0800 Subject: [PATCH] make cmvn global in run.sh --- speechx/examples/ds2_ol/aishell/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/speechx/examples/ds2_ol/aishell/run.sh b/speechx/examples/ds2_ol/aishell/run.sh index 049c9bf9..0d520278 100755 --- a/speechx/examples/ds2_ol/aishell/run.sh +++ b/speechx/examples/ds2_ol/aishell/run.sh @@ -66,9 +66,9 @@ wer=./aishell_wer export GLOG_logtostderr=1 +cmvn=$data/cmvn.ark if [ ${stage} -le 1 ] && [ ${stop_stage} -ge 1 ]; then # 3. gen linear feat - cmvn=$data/cmvn.ark cmvn-json2kaldi --json_file=$ckpt_dir/data/mean_std.json --cmvn_write_path=$cmvn ./local/split_data.sh $data $data/$aishell_wav_scp $aishell_wav_scp $nj @@ -159,4 +159,4 @@ if [ ${stage} -le 5 ] && [ ${stop_stage} -ge 5 ]; then cat $data/split${nj}/*/result_recognizer > $exp/${label_file}_recognizer utils/compute-wer.py --char=1 --v=1 $text $exp/${label_file}_recognizer > $exp/${wer}.recognizer -fi \ No newline at end of file +fi