Skip to content
Snippets Groups Projects
Commit 248941c9 authored by Dan Povey's avatar Dan Povey
Browse files

Script change to make sgmma work

git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/thang-project@253 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent 664efe75
Branches
No related tags found
No related merge requests found
......@@ -74,14 +74,9 @@ build-tree --verbose=1 --max-leaves=$numleaves \
$dir/treeacc $dir/roots.txt \
$dir/questions.qst $dir/topo $dir/tree 2> $dir/train_tree.log || exit 1;
# the sgmm-init program accepts a GMM, so we just create a temporary GMM "0.gmm"
gmm-init-model --write-occs=$dir/0.occs \
$dir/tree $dir/treeacc $dir/topo $dir/0.gmm 2> $dir/init_gmm.log || exit 1;
sgmm-init $dir/topo $dir/tree $ubm $dir/0.mdl 2> $dir/init_sgmm.log || exit 1;
sgmm-init $dir/0.gmm $ubm $dir/0.mdl 2> $dir/init_sgmm.log || exit 1;
rm $dir/0.gmm
if [ ! -f $dir/gselect.gz ]; then
sgmm-gselect $dir/0.mdl "$feats" ark,t:- 2>$dir/gselect.log | gzip -c > $dir/gselect.gz || exit 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment