Commit 1e901d12 authored by Vassil Panayotov's avatar Vassil Panayotov
Browse files

An entry for egs/voxforge added in egs/README.txt (under WIP recipes)

Added a script invoked from run.sh but missing from local/


git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@1132 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent a0aa2964
......@@ -43,3 +43,4 @@ Recipes in progress (these may be less polished than the ones above).
timit: TIMIT, which is an old corpus of carefully read speech.
LDC corpous LDC93S1
voxforge: A recipe for the free speech data available from voxforge.org
#!/bin/bash
# This is as run_sgmm2.sh but excluding the "speaker-dependent weights",
# so not doing the symmetric SGMM.
. cmd.sh
## SGMM on top of LDA+MLLT+SAT features.
if [ ! -f exp/ubm4a/final.mdl ]; then
steps/train_ubm.sh --silence-weight 0.5 --cmd "$train_cmd" 400 data/train data/lang exp/tri3b_ali exp/ubm4a || exit 1;
fi
steps/train_sgmm2.sh --spk-dep-weights false --cmd "$train_cmd" 5000 7000 \
data/train data/lang exp/tri3b_ali exp/ubm4a/final.ubm exp/sgmm2x_4a || exit 1;
utils/mkgraph.sh data/lang exp/sgmm2x_4a exp/sgmm2x_4a/graph || exit 1;
steps/decode_sgmm2.sh --config conf/decode.config --nj 20 --cmd "$decode_cmd" \
--transform-dir exp/tri3b/decode exp/sgmm2x_4a/graph data/test exp/sgmm2x_4a/decode || exit 1;
steps/decode_sgmm2.sh --use-fmllr true --config conf/decode.config --nj 20 --cmd "$decode_cmd" \
--transform-dir exp/tri3b/decode exp/sgmm2x_4a/graph data/test exp/sgmm2x_4a/decode_fmllr || exit 1;
# Now we'll align the SGMM system to prepare for discriminative training.
steps/align_sgmm2.sh --nj 8 --cmd "$train_cmd" --transform-dir exp/tri3b \
--use-graphs true --use-gselect true data/train data/lang exp/sgmm2x_4a exp/sgmm2x_4a_ali || exit 1;
steps/make_denlats_sgmm2.sh --nj 8 --sub-split 20 --cmd "$decode_cmd" --transform-dir exp/tri3b \
data/train data/lang exp/sgmm2x_4a_ali exp/sgmm2x_4a_denlats
steps/train_mmi_sgmm2.sh --cmd "$decode_cmd" --transform-dir exp/tri3b --boost 0.2 \
data/train data/lang exp/sgmm2x_4a_ali exp/sgmm2x_4a_denlats exp/sgmm2x_4a_mmi_b0.2
for iter in 1 2 3 4; do
steps/decode_sgmm2_rescore.sh --cmd "$decode_cmd" --iter $iter \
--transform-dir exp/tri3b/decode data/lang data/test exp/sgmm2x_4a/decode exp/sgmm2x_4a_mmi_b0.2/decode_it$iter &
done
wait
steps/decode_combine.sh data/test data/lang exp/tri1/decode exp/tri2a/decode exp/combine_1_2a/decode || exit 1;
steps/decode_combine.sh data/test data/lang exp/sgmm2x_4a/decode exp/tri3b_mmi/decode exp/combine_sgmm2x_4a_3b/decode || exit 1;
# combining the sgmm run and the best MMI+fMMI run.
steps/decode_combine.sh data/test data/lang exp/sgmm2x_4a/decode exp/tri3b_fmmi_c/decode_it5 exp/combine_sgmm2x_4a_3b_fmmic5/decode || exit 1;
steps/decode_combine.sh data/test data/lang exp/sgmm2x_4a_mmi_b0.2/decode_it4 exp/tri3b_fmmi_c/decode_it5 exp/combine_sgmm2x_4a_mmi_3b_fmmic5/decode || exit 1;
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