Commit ec10007a authored by Dan Povey's avatar Dan Povey
Browse files

Minor fixes to s3/ scripts.

git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/discrim@468 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent aa73da51
...@@ -55,7 +55,7 @@ local/decode.sh steps/decode_deltas.sh exp/tri1/decode ...@@ -55,7 +55,7 @@ local/decode.sh steps/decode_deltas.sh exp/tri1/decode
# align tri1 # align tri1
steps/align_deltas.sh --graphs "ark,s,cs:gunzip -c exp/tri1/graphs.fsts.gz|" \ steps/align_deltas.sh --graphs "ark,s,cs:gunzip -c exp/tri1/graphs.fsts.gz|" \
$data/train data/lang exp/tri1 exp/tri1_ali data/train data/lang exp/tri1 exp/tri1_ali
# train tri2a [delta+delta-deltas] # train tri2a [delta+delta-deltas]
steps/train_deltas.sh data/train data/lang exp/tri1_ali exp/tri2a steps/train_deltas.sh data/train data/lang exp/tri1_ali exp/tri2a
......
...@@ -51,7 +51,7 @@ mingauss=3 # minimum size of codebook ...@@ -51,7 +51,7 @@ mingauss=3 # minimum size of codebook
init_style=$8 # (0, init-tied-codebooks) (1, tied-lbg) init_style=$8 # (0, init-tied-codebooks) (1, tied-lbg)
rho_stats=$9 # set to > 0 to activate prop/interp of suff. stats. (weights only) rho_stats=$9 # set to > 0 to activate prop/interp of suff. stats. (weights only)
rho_iters=${10} # set to > 0 to actiavte smoothing of new model with prior model (weights only) rho_iters=${10} # set to > 0 to activate smoothing of new model with prior model (weights only)
emiters=5 # interim EM iterations for lbg-style initialization emiters=5 # interim EM iterations for lbg-style initialization
...@@ -107,7 +107,13 @@ fi ...@@ -107,7 +107,13 @@ fi
echo "Initializing model" echo "Initializing model"
tied-full-gmm-init-model $dir/tree $lang/topo $dir/tree.map $dir/ubm-full.{?,??,???} $dir/1.mdl 2> $dir/init_model.log || exit 1;
ubmnames=
for (( x=0; x < max_leaves_first; x++ )); do
ubmnames="$ubmnames $dir/ubm-full.$x"
done
tied-full-gmm-init-model $dir/tree $lang/topo $dir/tree.map $ubmnames $dir/1.mdl 2> $dir/init_model.log || exit 1;
rm $dir/treeacc rm $dir/treeacc
......
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