04a_train_triphone_LIA.sh 1.02 KB
#!/bin/bash

EXPE_DIR=$1
 
. ../LIA_kaldiUtils/path.sh
. ../LIA_kaldiUtils/cmd.sh
#echo $PATH
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=8

# triphones

#steps/align_si.sh --boost-silence 1.25 --nj 20 --cmd "$train_cmd" $AM_DIR $LM_DIR $AM_DIR/mono $AM_DIR/mono_ali
#train_deltas.sh  4200 40000  $AM_DIR  $LM_DIR $AM_DIR/mono_ali/ $AM_DIR/tri1/
#mkgraph.sh $LM_DIR $AM_DIR/tri1 $AM_DIR/tri1/graph
#steps/decode.sh --nj 6 --cmd "$decode_cmd" --config $CONF_DIR/decode.config $AM_DIR/tri1/graph  $EXPE_DIR/TEST/ac_Data/ $AM_DIR/tri1/decode_dev




# triphones + delta delta

#steps/align_si.sh  --nj 20 --cmd "$train_cmd" $AM_DIR $LM_DATA $AM_DIR/tri1 $AM_DIR/tri1_ali
#steps/train_deltas.sh  4200 40000 $AM_DIR $LM_DATA $AM_DIR/tri1_ali $AM_DIR/tri2a
#utils/mkgraph.sh  $LM_DIR  $AM_DIR/tri2a $AM_DIR/tri2a/graph
steps/decode.sh --nj 6   --cmd "$decode_cmd" --config $CONF_DIR/decode.config   $AM_DIR/tri2a/graph  $EXPE_DIR/TEST/ac_Data $AM_DIR/tri2a/decode_dev