File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ echo "$0 $@" # Print the command line for logging
3030[ -f ./path.sh ] && . ./path.sh; # source the path.
3131. parse_options.sh || exit 1;
3232
33- if [ $# != 5 ]; then
33+ if [ $# != 3 ]; then
3434 echo " Usage: steps/decode_combine_test.sh [options] <graph-dir> <data-dir> <decode-dir>"
3535 echo " ... where <decode-dir> is assumed to be a sub-directory of the directory"
3636 echo " where the model is."
@@ -62,8 +62,8 @@ mkdir -p $dir/log
6262echo $nj > $dir /num_jobs
6363
6464
65- for f in $sdata /1/feats.scp $sdata /1/cmvn.scp $srcdir /final.mdl $graphdir /HCLG.fst $oldlm_fst $newlm_fst ; do
66- [ ! -f $f ] && echo " decode_si .sh: no such file $f " && exit 1;
65+ for f in $sdata /1/feats.scp $sdata /1/cmvn.scp $srcdir /final.mdl $graphdir /HCLG.fst; do
66+ [ ! -f $f ] && echo " decode_combine_test .sh: no such file $f " && exit 1;
6767done
6868
6969
@@ -113,7 +113,7 @@ if [ $stage -le 2 ]; then
113113 suffix=" -combine"
114114 fi
115115 $cmd JOB=1:$nj $dir /log/decode.JOB.log \
116- latgen-faster-mapped$suffix --max-active=$maxactive --beam=$beam --lattice-beam=$lattice_beam
116+ latgen-faster-mapped$suffix --max-active=$maxactive --beam=$beam --lattice-beam=$lattice_beam \
117117 --acoustic-scale=$acwt --allow-partial=true --word-symbol-table=$graphdir /words.txt \
118118 $srcdir /final.mdl $graphdir /HCLG.fst " $posteriors_scp " " $lat_wspecifier " || exit 1;
119119fi
You can’t perform that action at this time.
0 commit comments