fix name of decoding script in some old nnet2 recipes (thanks: miguelcm86@gmail.com)

This commit is contained in:
Daniel Povey 2016-05-18 15:24:44 -04:00
Родитель ea7f04b244
Коммит b45a70b936
3 изменённых файлов: 16 добавлений и 16 удалений

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

@ -13,7 +13,7 @@ dir=exp/nnet5d_gpu
. ./cmd.sh
. utils/parse_options.sh
(
(
if [ ! -z "$temp_dir" ] && [ ! -e $dir/egs ]; then
mkdir -p $dir
@ -32,19 +32,19 @@ dir=exp/nnet5d_gpu
--p 2 \
data/train_si284 data/lang exp/tri4b_ali_si284 $dir || exit 1
steps/decode_nnet_cpu.sh --cmd "$decode_cmd" --nj 10 \
steps/nnet2/decode.sh --cmd "$decode_cmd" --nj 10 \
--transform-dir exp/tri4b/decode_tgpr_dev93 \
exp/tri4b/graph_tgpr data/test_dev93 $dir/decode_tgpr_dev93
steps/decode_nnet_cpu.sh --cmd "$decode_cmd" --nj 8 \
steps/nnet2/decode.sh --cmd "$decode_cmd" --nj 8 \
--transform-dir exp/tri4b/decode_tgpr_eval92 \
exp/tri4b/graph_tgpr data/test_eval92 $dir/decode_tgpr_eval92
steps/decode_nnet_cpu.sh --cmd "$decode_cmd" --nj 10 \
steps/nnet2/decode.sh --cmd "$decode_cmd" --nj 10 \
--transform-dir exp/tri4b/decode_bd_tgpr_dev93 \
exp/tri4b/graph_bd_tgpr data/test_dev93 $dir/decode_bd_tgpr_dev93
steps/decode_nnet_cpu.sh --cmd "$decode_cmd" --nj 8 \
steps/nnet2/decode.sh --cmd "$decode_cmd" --nj 8 \
--transform-dir exp/tri4b/decode_bd_tgpr_eval92 \
exp/tri4b/graph_bd_tgpr data/test_eval92 $dir/decode_bd_tgpr_eval92
)

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

@ -1,7 +1,7 @@
#!/bin/bash
# This is neural net training on top of adapted 40-dimensional features.
#
#
. ./cmd.sh
@ -16,13 +16,13 @@ test2=$3
--num-hidden-layers 4 --hidden-layer-dim 1024 \
--cmd "$decode_cmd" \
data/train data/lang exp/tri4b_ali exp/nnet5c || exit 1
steps/decode_nnet_cpu.sh --cmd "$decode_cmd" --nj 7 \
steps/nnet2/decode.sh --cmd "$decode_cmd" --nj 7 \
--transform-dir exp/tri4b/decode_${uid}_$test1 \
exp/tri4b/graph_$uid data/$test1 exp/nnet5c/decode_${uid}_$test1
if [ -d $test2 ]; then
steps/decode_nnet_cpu.sh --cmd "$decode_cmd" --nj 4 \
steps/nnet2/decode.sh --cmd "$decode_cmd" --nj 4 \
--transform-dir exp/tri4b/decode_${uid}_$test2 \
exp/tri4b/graph_${uid} data/$test2 exp/nnet5c/decode_${uid}_$test2
fi

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

@ -15,14 +15,14 @@ dir=exp/nnet5e_gpu
# learning rate, relative to run_5c.sh
. ././cmd.sh
. ./path.sh
! cuda-compiled && cat <<EOF && exit 1
This script is intended to be used with GPUs but you have not compiled Kaldi with CUDA
! cuda-compiled && cat <<EOF && exit 1
This script is intended to be used with GPUs but you have not compiled Kaldi with CUDA
If you want to use GPUs (and have them), go to src/, and configure and make on a machine
where "nvcc" is installed.
EOF
. utils/parse_options.sh
(
(
if [ ! -z "$temp_dir" ] && [ ! -e $dir/egs ]; then
mkdir -p $dir
@ -41,19 +41,19 @@ EOF
--ensemble-size $ensemble_size --initial-beta $initial_beta --final-beta $final_beta \
data/train_si284 data/lang exp/tri4b_ali_si284 $dir || exit 1
steps/decode_nnet_cpu.sh --cmd "$decode_cmd" --nj 10 \
steps/nnet2/decode.sh --cmd "$decode_cmd" --nj 10 \
--transform-dir exp/tri4b/decode_tgpr_dev93 \
exp/tri4b/graph_tgpr data/test_dev93 $dir/decode_tgpr_dev93
steps/decode_nnet_cpu.sh --cmd "$decode_cmd" --nj 8 \
steps/nnet2/decode.sh --cmd "$decode_cmd" --nj 8 \
--transform-dir exp/tri4b/decode_tgpr_eval92 \
exp/tri4b/graph_tgpr data/test_eval92 $dir/decode_tgpr_eval92
steps/decode_nnet_cpu.sh --cmd "$decode_cmd" --nj 10 \
steps/nnet2/decode.sh --cmd "$decode_cmd" --nj 10 \
--transform-dir exp/tri4b/decode_bd_tgpr_dev93 \
exp/tri4b/graph_bd_tgpr data/test_dev93 $dir/decode_bd_tgpr_dev93
steps/decode_nnet_cpu.sh --cmd "$decode_cmd" --nj 8 \
steps/nnet2/decode.sh --cmd "$decode_cmd" --nj 8 \
--transform-dir exp/tri4b/decode_bd_tgpr_eval92 \
exp/tri4b/graph_bd_tgpr data/test_eval92 $dir/decode_bd_tgpr_eval92
)