tedlium,nnet1: updating according to Eric Rieblings suggestions

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@4519 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
This commit is contained in:
Karel Vesely 2014-10-08 08:29:35 +00:00
Родитель 78ca6f560f
Коммит c19b400d0c
1 изменённых файлов: 1 добавлений и 7 удалений

Просмотреть файл

@ -73,10 +73,8 @@ if [ $stage -le 2 ]; then
$data_fmllr/train_tr90 $data_fmllr/train_cv10 data/lang $ali $ali $dir || exit 1;
# Decode (reuse HCLG graph)
steps/nnet/decode.sh --nj $decode_nj --cmd "$decode_cmd" --config conf/decode_dnn.config --acwt 0.1 \
--num-threads 3 --parallel-opts "-pe smp 4" \
$gmmdir/graph $data_fmllr/dev $dir/decode_dev || exit 1;
steps/nnet/decode.sh --nj $decode_nj --cmd "$decode_cmd" --config conf/decode_dnn.config --acwt 0.1 \
--num-threads 3 --parallel-opts "-pe smp 4" \
$gmmdir/graph $data_fmllr/test $dir/decode_test || exit 1;
fi
@ -103,11 +101,9 @@ if [ $stage -le 4 ]; then
# Decode (reuse HCLG graph)
for ITER in 1; do
steps/nnet/decode.sh --nj $decode_nj --cmd "$decode_cmd" --config conf/decode_dnn.config \
--num-threads 3 --parallel-opts "-pe smp 4" \
--nnet $dir/${ITER}.nnet --acwt $acwt \
$gmmdir/graph $data_fmllr/dev $dir/decode_dev || exit 1;
steps/nnet/decode.sh --nj $decode_nj --cmd "$decode_cmd" --config conf/decode_dnn.config \
--num-threads 3 --parallel-opts "-pe smp 4" \
--nnet $dir/${ITER}.nnet --acwt $acwt \
$gmmdir/graph $data_fmllr/test $dir/decode_test || exit 1;
done
@ -131,13 +127,11 @@ if [ $stage -le 6 ]; then
steps/nnet/train_mpe.sh --cmd "$cuda_cmd" --num-iters 4 --acwt $acwt --do-smbr true \
$data_fmllr/train data/lang $srcdir ${srcdir}_ali ${srcdir}_denlats $dir || exit 1
# Decode (reuse HCLG graph)
for ITER in 4; do
for ITER in 1 2 3 4; do
steps/nnet/decode.sh --nj $decode_nj --cmd "$decode_cmd" --config conf/decode_dnn.config \
--num-threads 3 --parallel-opts "-pe smp 4" \
--nnet $dir/${ITER}.nnet --acwt $acwt \
$gmmdir/graph $data_fmllr/dev $dir/decode_dev_it$ITER || exit 1;
steps/nnet/decode.sh --nj $decode_nj --cmd "$decode_cmd" --config conf/decode_dnn.config \
--num-threads 3 --parallel-opts "-pe smp 4" \
--nnet $dir/${ITER}.nnet --acwt $acwt \
$gmmdir/graph $data_fmllr/test $dir/decode_test_it$ITER || exit 1;
done