Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions egs/wsj/s5/steps/online/nnet3/prepare_online_decoding.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ if [ ! -z "$iedir" ]; then
for f in final.{mat,ie,dubm} splice_opts global_cmvn.stats online_cmvn.conf; do
[ ! -f $iedir/$f ] && echo "$0: no such file $iedir/$f" && exit 1;
done
if $add_pitch; then
iedim=`matrix-dim $iedir/final.mat | awk '{print $1}'`
amdim=`nnet3-am-info $srcdir/${iter}.mdl | grep "input-dim:" | awk '{print $2}'`
[ $(($amdim-$iedim)) -eq 0 ] && echo "$0: remove pitch from the input of ivector extractor" && exit 1;
fi
fi


Expand Down