File tree 1 file changed +4
-4
lines changed
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
30
30
[ -f ./path.sh ] && . ./path.sh; # source the path.
31
31
. parse_options.sh || exit 1;
32
32
33
- if [ $# != 5 ]; then
33
+ if [ $# != 3 ]; then
34
34
echo " Usage: steps/decode_combine_test.sh [options] <graph-dir> <data-dir> <decode-dir>"
35
35
echo " ... where <decode-dir> is assumed to be a sub-directory of the directory"
36
36
echo " where the model is."
@@ -62,8 +62,8 @@ mkdir -p $dir/log
62
62
echo $nj > $dir /num_jobs
63
63
64
64
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;
67
67
done
68
68
69
69
@@ -113,7 +113,7 @@ if [ $stage -le 2 ]; then
113
113
suffix=" -combine"
114
114
fi
115
115
$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 \
117
117
--acoustic-scale=$acwt --allow-partial=true --word-symbol-table=$graphdir /words.txt \
118
118
$srcdir /final.mdl $graphdir /HCLG.fst " $posteriors_scp " " $lat_wspecifier " || exit 1;
119
119
fi
You can’t perform that action at this time.
0 commit comments