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

RROR (fstisstochastic[5.5.1077~1-ed31c6]:ReadFstKaldiGeneric():kaldi-fst-io.cc:59) Reading FST: error reading FST header from #70

Open
taqneen-ai opened this issue Oct 19, 2023 · 0 comments

Comments

@taqneen-ai
Copy link

taqneen-ai commented Oct 19, 2023

I have this issue
Hi.
While running run.sh script, stuck with an error:

`tree-info exp/tri1/tree
tree-info exp/tri1/tree
fstpushspecial
fstdeterminizestar --use-log=true
fstminimizeencoded
fsttablecompose data/lang_test/L_disambig.fst data/lang_test/G.fst
fstisstochastic data/lang_test/tmp/LG.fst
-0.203813 -0.204425
[info]: LG not stochastic.
fstcomposecontext --context-size=3 --central-position=1 --read-disambig-syms=data/lang_test/phones/disambig.int --write-disambig-syms=data/lang_test/tmp/disambig_ilabels_3_1.int data/lang_test/tmp/ilabels_3_1.697494 data/lang_test/tmp/LG.fst
ERROR: FstHeader::Read: Bad FST header: standard input
mv: cannot stat 'data/lang_test/tmp/ilabels_3_1.697494': No such file or directory
fstisstochastic data/lang_test/tmp/CLG_3_1.fst
ERROR: FstHeader::Read: Bad FST header: data/lang_test/tmp/CLG_3_1.fst
ERROR (fstisstochastic[5.5.1077~1-ed31c6]:ReadFstKaldiGeneric():kaldi-fst-io.cc:59) Reading FST: error reading FST header from data/lang_test/tmp/CLG_3_1.fst

[ Stack-Trace: ]
//home/taqneen/Desktop/kaldi/src/lib/libkaldi-base.so(kaldi::MessageLogger::LogMessage() const+0x70c) [0x7effe7a1f1ce]
fstisstochastic(kaldi::MessageLogger::LogAndThrow::operator=(kaldi::MessageLogger const&)+0x25) [0x557d5fd9edd1]
//home/taqneen/Desktop/kaldi/src/lib/libkaldi-fstext.so(fst::ReadFstKaldiGeneric(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, bool)+0x1c5) [0x7effe7a82bd1]
fstisstochastic(main+0x18d) [0x557d5fd9dd16]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7effe7029d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80) [0x7effe7029e40]
fstisstochastic(_start+0x25) [0x557d5fd9dac5]

kaldi::KaldiFatalError[info]: CLG not stochastic.
make-h-transducer --disambig-syms-out=exp/tri1/graph/disambig_tid.int --transition-scale=1.0 data/lang_test/tmp/ilabels_3_1 exp/tri1/tree exp/tri1/final.mdl
ERROR (make-h-transducer[5.5.1077~1-ed31c6]:Input():kaldi-io.cc:756) Error opening input stream data/lang_test/tmp/ilabels_3_1

[ Stack-Trace: ]
//home/taqneen/Desktop/kaldi/src/lib/libkaldi-base.so(kaldi::MessageLogger::LogMessage() const+0x70c) [0x7fe6b12ed1ce]
make-h-transducer(kaldi::MessageLogger::LogAndThrow::operator=(kaldi::MessageLogger const&)+0x25) [0x5641485b810d]
//home/taqneen/Desktop/kaldi/src/lib/libkaldi-util.so(kaldi::Input::Input(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool*)+0xbe) [0x7fe6b13bc892]
make-h-transducer(main+0x262) [0x5641485b794b]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7fe6b0c29d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80) [0x7fe6b0c29e40]
make-h-transducer(_start+0x25) [0x5641485b7625]
`

I have on my device (42 GB memory and 270 GB swap memory)
Screenshot from 2023-10-20 01-51-12

Any ideas?

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

1 participant