Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More Kaldi API changes? #31

Open
mikenewman1 opened this issue Dec 1, 2017 · 1 comment
Open

More Kaldi API changes? #31

mikenewman1 opened this issue Dec 1, 2017 · 1 comment

Comments

@mikenewman1
Copy link

I tried to switch in a new model (built with the latest Kaldi) and I hit this error

ERROR: FstImpl::ReadHeader: FST not of type vector: <unspecified>
ERROR (fcgi-nnet3-decoder[5.3.15~1-f14e]:ReadFstKaldi():kaldi-fst-io.cc:40) Could not read fst from HCLG.fst

[ Stack-Trace: ]

kaldi::MessageLogger::HandleMessage(kaldi::LogMessageEnvelope const&, char const*)
kaldi::MessageLogger::~MessageLogger()
fst::ReadFstKaldi(std::string)
apiai::Nnet3LatgenFasterDecoder::Initialize(kaldi::OptionsItf&)
apiai::FcgiDecodingApp::Run(int, char**)
main

I found this posting
https://groups.google.com/forum/#!msg/kaldi-help/0SuCkeHyUmU/qIW-INChAAAJ
in which Dan Povey suggested the fix
I believe ReadFstKaldi() should now be ReadFstKaldiGeneric(), to allow reading const_fst.
I made the change in Nnet3LatgenFasterDecoder.cc and this particular load error went away. But the recognition itself is trashed, which suggests to me that there is something else going on.

@realill
Copy link
Contributor

realill commented Jan 5, 2018

Unfortunately this project is unable to keep up with all kaldi changes.

So we probably should reference "old" kaldi build that supported by this server or find maintainer who can keep up with all the changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants