зеркало из https://github.com/mozilla/kaldi.git
bugfix of ?\127?\127loading final.mdl
git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@475 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
This commit is contained in:
Родитель
c740b16450
Коммит
09a7bb3cf8
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче