@@ -87,7 +87,7 @@ if [ ${stage} -le 2 ] && [ ${stop_stage} -ge 2 ]; then
87
87
ctc-prefix-beam-search-decoder-ol \
88
88
--feature_rspecifier=scp:$data /split${nj} /JOB/feat.scp \
89
89
--model_path=$model_dir /avg_1.jit.pdmodel \
90
- --params_path =$model_dir /avg_1.jit.pdiparams \
90
+ --param_path =$model_dir /avg_1.jit.pdiparams \
91
91
--model_output_names=softmax_0.tmp_0,tmp_5,concat_0.tmp_0,concat_1.tmp_0 \
92
92
--dict_file=$vocb_dir /vocab.txt \
93
93
--result_wspecifier=ark,t:$data /split${nj} /JOB/result
@@ -102,7 +102,7 @@ if [ ${stage} -le 3 ] && [ ${stop_stage} -ge 3 ]; then
102
102
ctc-prefix-beam-search-decoder-ol \
103
103
--feature_rspecifier=scp:$data /split${nj} /JOB/feat.scp \
104
104
--model_path=$model_dir /avg_1.jit.pdmodel \
105
- --params_path =$model_dir /avg_1.jit.pdiparams \
105
+ --param_path =$model_dir /avg_1.jit.pdiparams \
106
106
--model_output_names=softmax_0.tmp_0,tmp_5,concat_0.tmp_0,concat_1.tmp_0 \
107
107
--dict_file=$vocb_dir /vocab.txt \
108
108
--lm_path=$lm \
@@ -119,17 +119,18 @@ if [ ${stage} -le 4 ] && [ ${stop_stage} -ge 4 ]; then
119
119
pushd $wfst
120
120
wget -c https://paddlespeech.bj.bcebos.com/s2t/paddle_asr_online/aishell_graph.zip
121
121
unzip aishell_graph.zip
122
+ mv aishell_graph/*
122
123
popd
123
124
fi
124
125
125
- graph_dir=$wfst /aishell_graph
126
+ graph_dir=$wfst /
126
127
127
128
# TLG decoder
128
129
utils/run.pl JOB=1:$nj $data /split${nj} /JOB/recog.wfst.log \
129
130
wfst-decoder-ol \
130
131
--feature_rspecifier=scp:$data /split${nj} /JOB/feat.scp \
131
132
--model_path=$model_dir /avg_1.jit.pdmodel \
132
- --params_path =$model_dir /avg_1.jit.pdiparams \
133
+ --param_path =$model_dir /avg_1.jit.pdiparams \
133
134
--word_symbol_table=$graph_dir /words.txt \
134
135
--model_output_names=softmax_0.tmp_0,tmp_5,concat_0.tmp_0,concat_1.tmp_0 \
135
136
--graph_path=$graph_dir /TLG.fst --max_active=7500 \
0 commit comments