Closed ngoel17 closed 10 years ago
I managed to reproduce it, seems that it's related to recent changes in Kaldi since it didn't occur with a 2 week old Kaldi SVN revision. Working on it.
Was caused by a (recently introduced?) bug in Kaldi's GStreamer plugin. Update Kaldi SVN, recompile the GStreamer plugin and it should be fixed.
Client is executed twice as follows: $python kaldigstserver/client.py -r 32000 test/data/english_test.raw ONE TWO THREE FOUR FIVE SIX SEVEN EIGHT. ONE TWO THREE FOUR FIVE SIX SEVEN EIGHT. $ python kaldigstserver/client.py -r 32000 test/data/english_test.raw
-- second client execution crashes the worker with following message note - online-feat-input was modified to print Frame, featoffset and feat.NumRows() Kaldi version: 4441
WARNING (IsValidFrame():online-feat-input.cc:531) Unexpected point reached in code: Frame :624, feat_offest:107, Feature Matrix Rows:30 possibly you are skipping frames? ERROR (CacheFrame():online-decodable.cc:47) Request for invalid frame (you need to check IsLastFrame, or, for frame zero, check that the input is valid. terminate called after throwing an instance of 'std::runtime_error' what(): ERROR (CacheFrame():online-decodable.cc:47) Request for invalid frame (you need to check IsLastFrame, or, for frame zero, check that the input is valid.