Commit 09a7bb3c authored by Mirko Hannemann's avatar Mirko Hannemann
Browse files

bugfix of ?\127?\127loading final.mdl


git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@475 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent c740b164
......@@ -46,7 +46,7 @@ srcdir=$3
dir=$4
model=$srcdir/final.mdl
model=final.mdl
mkdir -p $dir
......@@ -69,11 +69,11 @@ if [ -z "$graphs" ]; then # --graphs option not supplied [-z means empty string]
# compute integer form of transcripts.
scripts/sym2int.pl --ignore-first-field $lang/words.txt < $data/text > $dir/train.tra \
|| exit 1;
gmm-align $scale_opts --beam=8 --retry-beam=40 $dir/tree $dir/model $lang/L.fst \
gmm-align $scale_opts --beam=8 --retry-beam=40 $dir/tree $dir/$model $lang/L.fst \
"$feats" ark:$dir/train.tra ark:$dir/ali 2> $dir/align.log || exit 1;
rm $dir/train.tra
else
gmm-align-compiled $scale_opts --beam=8 --retry-beam=40 $dir/model \
gmm-align-compiled $scale_opts --beam=8 --retry-beam=40 $dir/$model \
"$graphs" "$feats" ark:$dir/ali 2> $dir/align.log || exit 1;
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment