ERROR (online-wav-gmm-decode-faster[5.4.122~1-08012]:OnlineLdaInput():online-feat-input.cc:209) Invalid parameters supplied to OnlineLdaInput

393 views
Skip to first unread message

zczha...@gmail.com

unread,
May 13, 2018, 11:28:00 PM5/13/18
to kaldi-help

Hi, 

I'm trying to do an online decoding for aishell model, however, it occurs the following error:
online-wav-gmm-decode-faster --verbose=1 --rt-min=0.8 --rt-max=0.85 --max-active=4000 --beam=12.0 --acoustic-scale=0.0769 --left-context=3 --right-context=3 scp:./work/input.scp online-data/models/tri3a/final.mdl online-data/models/tri3a/HCLG.fst online-data/models/tri3a/words.txt 1:2:3:4:5 ark,t:./work/trans.txt ark,t:./work/ali.txt online-data/models/tri3a/12.mat 
File: 220
ERROR (online-wav-gmm-decode-faster[5.4.122~1-08012]:OnlineLdaInput():online-feat-input.cc:209) Invalid parameters supplied to OnlineLdaInput

[ Stack-Trace: ]
online-wav-gmm-decode-faster() [0x8ace68]
kaldi::MessageLogger::HandleMessage(kaldi::LogMessageEnvelope const&, char const*)
kaldi::MessageLogger::~MessageLogger()
kaldi::OnlineLdaInput::OnlineLdaInput(kaldi::OnlineFeatInputItf*, kaldi::Matrix<float> const&, int, int)
main
__libc_start_main
_start

The online decoding file I was using is online-wav-gmm-decode-faster from src/onlinebin

I have successfully online-decoding with the model of tri1 and tri2, but it's not work for tri3a, just as the error shown above.

What's wrong with my online-decoding? Any suggestions for me?

Thanks
Zhang

Daniel Povey

unread,
May 13, 2018, 11:51:49 PM5/13/18
to kaldi-help
It looks to me like the aishell model is built with left-context and
right-context of 4 (which are the defaults), while you seem to be
specifying 3.
> --
> Go to http://kaldi-asr.org/forums.html find out how to join
> ---
> You received this message because you are subscribed to the Google Groups
> "kaldi-help" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to kaldi-help+...@googlegroups.com.
> To post to this group, send email to kaldi...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/kaldi-help/9902154c-7eba-4c56-a0e8-e0dbc1c18146%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages