dialogflow / asr-server

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

aspire model nnet3 #34

Open satell opened 6 years ago

satell commented 6 years ago

how can we use ASpIRE Chain Model with this ASR ?

i tried to use it but i get this error ERROR: FstImpl::ReadHeader: FST not of type vector: ERROR (fcgi-nnet3-decoder[5.2.183~1351-32310]: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::cxx11::basic_string<char, std::char_traits, std::allocator >) apiai::Nnet3LatgenFasterDecoder::Initialize(kaldi::OptionsItf&) apiai::FcgiDecodingApp::Run(int, char**) main libc_start_main _start

terminate called after throwing an instance of 'std::runtime_error' what():
Aborted (core dumped)

bravecorvus commented 6 years ago

Bump

bravecorvus commented 6 years ago

@satell I am also trying to implement Aspire within the ASR server. Did you ever figure this out?

mdoulaty commented 6 years ago

@satell have a look at https://github.com/dialogflow/asr-server/pull/39 this would solve the graph reading problem (it's a simple fix with the function name that reads the graph)