dialogflow / asr-server

FastCGI support for Kaldi ASR
Apache License 2.0
184 stars 86 forks source link

Check NumFramesDecoded when using intermediate #25

Open tklam opened 6 years ago

tklam commented 6 years ago

It happens that after AcceptWaveform() the number of frames decoded can still be 0 for a few passes. If NumFraamesDecoded() is not considered, the following error will occur:

ERROR (fcgi-nnet3-decoder[5.2.68~1391-aedc2]:GetLattice():online-nnet3-decoding.cc:57) You cannot get a lattice if you decoded no frames.

googlebot commented 6 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


tklam commented 6 years ago

I signed it!

googlebot commented 6 years ago

CLAs look good, thanks!

realill commented 6 years ago

I will merge it if someone will validate that it is working.