Skip to content

Commit 45051fc

Browse files
Srikanth MADIKERIqindazhu
authored andcommitted
egs/babel_multilang/s5/local/chain2/run_tdnn.sh with output layers having include-log-softmax=false
1 parent 57738dd commit 45051fc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

egs/babel_multilang/s5/local/chain2/run_tdnn.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ done
9090

9191
if [ "$speed_perturb" == "true" ]; then suffix=_sp; fi
9292
dir=${dir}${suffix}
93-
dir=exp/chain2_cleaned/tdnn_multi_sp_v12/
9493

9594
ivec_feat_suffix=${feat_suffix}
9695
if $use_pitch; then feat_suffix=${feat_suffix}_pitch ; fi
@@ -282,7 +281,7 @@ if [ $stage -le 11 ]; then
282281
#relu-batchnorm-layer name=tdnn_bn dim=$bnf_dim
283282
# adding the layers for diffrent language's output
284283
# dummy output node
285-
output-layer name=output dim=$num_targets max-change=1.5 output-delay=5
284+
output-layer name=output dim=$num_targets max-change=1.5 include-log-softmax=false
286285
output-layer name=output-xent input=tdnn7 dim=$num_targets learning-rate-factor=$learning_rate_factor max-change=1.5
287286
EOF
288287
# added separate outptut layer and softmax for all languages.
@@ -292,8 +291,8 @@ EOF
292291

293292
lang_name=${lang_list[${lang_index}]}
294293
#echo "relu-renorm-layer name=prefinal-affine-lang-${lang_name} input=tdnn7 dim=450 target-rms=0.5"
295-
echo "output-layer name=output-${lang_name} dim=$num_targets output-delay=5 input=tdnn7 max-change=1.5 include-log-softmax=false"
296-
echo "output-layer name=output-${lang_name}-xent input=tdnn7 output-delay=5 dim=$num_targets learning-rate-factor=$learning_rate_factor max-change=1.5"
294+
echo "output-layer name=output-${lang_name} dim=$num_targets input=tdnn7 max-change=1.5 include-log-softmax=false"
295+
echo "output-layer name=output-${lang_name}-xent input=tdnn7 dim=$num_targets learning-rate-factor=$learning_rate_factor max-change=1.5"
297296
done >> $dir/configs/network.xconfig
298297

299298
lang_name=${lang_list[0]}

0 commit comments

Comments
 (0)