srvk / eesen

The official repository of the Eesen project
http://arxiv.org/abs/1507.08240
Apache License 2.0
824 stars 342 forks source link

Error when composing decoding graph using ls_decode_graph.sh #192

Closed sundeepteki closed 5 years ago

sundeepteki commented 6 years ago

I get the following error when preparing the decoding graph. I've replicated the same error 3 times. I'd highly appreciate any pointers to resolve this recurring issue. I'm using Ubuntu 16.04.


ERROR: VectorFst::Read: read failed: ERROR (fstdeterminizestar:ReadFstKaldi():fstext/fstext-utils-inl.h:1278) Could not read fst from standard input ERROR (fstdeterminizestar:ReadFstKaldi():fstext/fstext-utils-inl.h:1278) Could not read fst from standard input

[stack trace: ] eesen::KaldiGetStackTrace[abi:cxx11]() eesen::KaldiErrorMessage::~KaldiErrorMessage() fst::ReadFstKaldi(std::__cxx11::basic_string<char, std::char_traits, std::allocator >) fstdeterminizestar(main+0x37b) [0x4d7582] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fd0a518e830] fstdeterminizestar(_start+0x29) [0x4d7129]

ERROR: FstHeader::Read: Bad FST header: - ERROR (fstminimizeencoded:ReadFstKaldi():fstext/fstext-utils-inl.h:1273) Reading FST: error reading FST header from standard input ERROR (fstminimizeencoded:ReadFstKaldi():fstext/fstext-utils-inl.h:1273) Reading FST: error reading FST header from standard input

[stack trace: ] eesen::KaldiGetStackTrace[abi:cxx11]() eesen::KaldiErrorMessage::~KaldiErrorMessage() fst::ReadFstKaldi(std::__cxx11::basic_string<char, std::char_traits, std::allocator >) fstminimizeencoded(main+0x1cb) [0x49a841] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fb157a67830] fstminimizeencoded(_start+0x29) [0x49a5a9]

ERROR: FstHeader::Read: Bad FST header: standard input

fmetze commented 6 years ago

It seems like an input file cannot be found. Without knowing which recipe you are executing, it is hard to diagnose what is going on, but my best guess is that the preparation of one of the L.fst, G.fst, or T.fst input FSTs failed, and then determination and minimization fails as below.

On Jun 22, 2018, at 11:39 PM, Sundeep Teki notifications@github.com wrote:

I get the following error when preparing the decoding graph. I've replicated the same error 3 times. I'd highly appreciate any pointers to resolve this recurring issue. I'm using Ubuntu 16.04.

ERROR: VectorFst::Read: read failed: ERROR (fstdeterminizestar:ReadFstKaldi():fstext/fstext-utils-inl.h:1278) Could not read fst from standard input ERROR (fstdeterminizestar:ReadFstKaldi():fstext/fstext-utils-inl.h:1278) Could not read fst from standard input

[stack trace: ] eesen::KaldiGetStackTraceabi:cxx11 applewebdata://9BD7B322-CE86-42D1-BB57-DF0930AE072C eesen::KaldiErrorMessage::~KaldiErrorMessage() fst::ReadFstKaldi(std::__cxx11::basic_string<char, std::char_traits, std::allocator >) fstdeterminizestar(main+0x37b) [0x4d7582] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fd0a518e830] fstdeterminizestar(_start+0x29) [0x4d7129]

ERROR: FstHeader::Read: Bad FST header: - ERROR (fstminimizeencoded:ReadFstKaldi():fstext/fstext-utils-inl.h:1273) Reading FST: error reading FST header from standard input ERROR (fstminimizeencoded:ReadFstKaldi():fstext/fstext-utils-inl.h:1273) Reading FST: error reading FST header from standard input

[stack trace: ] eesen::KaldiGetStackTraceabi:cxx11 applewebdata://9BD7B322-CE86-42D1-BB57-DF0930AE072C eesen::KaldiErrorMessage::~KaldiErrorMessage() fst::ReadFstKaldi(std::__cxx11::basic_string<char, std::char_traits, std::allocator >) fstminimizeencoded(main+0x1cb) [0x49a841] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fb157a67830] fstminimizeencoded(_start+0x29) [0x49a5a9]

ERROR: FstHeader::Read: Bad FST header: standard input

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/srvk/eesen/issues/192, or mute the thread https://github.com/notifications/unsubscribe-auth/AEnA8ZJM9u3A5NiKwSPIWILw3_c5BQ2pks5t_bh0gaJpZM4U0oDG.

Florian Metze http://www.cs.cmu.edu/directory/florian-metze Associate Research Professor Carnegie Mellon University

fmetze commented 5 years ago

No activity, closing