04b_train_MLLT_LDA_LIA.sh
759 Bytes
#!/bin/bash
#. 00_init_paths.sh
EXPE_DIR=$1
. ../LIA_kaldiUtils/path.sh
. ../LIA_kaldiUtils/cmd.sh
LM_DIR=$EXPE_DIR/LANGUAGE_MODEL
LM_DATA=$EXPE_DIR/ling_Data/
AM_DIR=$EXPE_DIR/ACOUSTIC_MODEL
AM_DATA=$EXPE_DIR/ac_Data/
FORK=20
# TODO :
# - AM : quinphones, MLP ....
# - LM : perplexity on dev, native 4g, rnnLM
# LDA+MLLT
steps/align_si.sh --nj $FORK $AM_DIR $LM_DIR $AM_DIR/tri2a $AM_DIR/tri2a_ali
steps/train_lda_mllt.sh --splice-opts "--left-context=3 --right-context=3" 4200 40000 $AM_DIR $LM_DIR $AM_DIR/tri2a_ali $AM_DIR/tri2b
utils/mkgraph.sh $LM_DIR $AM_DIR/tri2b $AM_DIR/tri2b/graph
steps/decode.sh --nj $FORK --cmd "$decode_cmd" --config $CONF_DIR/decode.config $AM_DIR/tri2b/graph $EXPE_DIR/TEST/ac_Data $AM_DIR/tri2b/decode_dev