Merge pull request #1768 from SmileGoat/fix_run

[speechx]make cmvn global in run.sh
pull/1772/head
Hui Zhang 3 years ago committed by GitHub
commit beee3134ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -66,9 +66,9 @@ wer=./aishell_wer
export GLOG_logtostderr=1 export GLOG_logtostderr=1
cmvn=$data/cmvn.ark
if [ ${stage} -le 1 ] && [ ${stop_stage} -ge 1 ]; then if [ ${stage} -le 1 ] && [ ${stop_stage} -ge 1 ]; then
# 3. gen linear feat # 3. gen linear feat
cmvn=$data/cmvn.ark
cmvn-json2kaldi --json_file=$ckpt_dir/data/mean_std.json --cmvn_write_path=$cmvn 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 ./local/split_data.sh $data $data/$aishell_wav_scp $aishell_wav_scp $nj

Loading…
Cancel
Save