freerussianasr / recipes

16 stars 8 forks source link

troubles with kaldi and russian #9

Open m1ckyro5a opened 5 years ago

m1ckyro5a commented 5 years ago

Hello, guys. I want to install kaldi with russian language by this guide https://github.com/grib0ed0v/kaldi-for-russian. On stage 7 If I try to run script run.sh, then there will be error :

fstrmepslocal fstisstochastic exp/tri1/graph/HCLGa.fst 0 0 add-self-loops --self-loop-scale=0.1 --reorder=true exp/tri1/final.mdl ASSERTION_FAILED (add-self-loops[5.4.245~1-8c0e]:AddSelfLoops():hmm-utils.cc:571) : 'fst->Start() != fst::kNoStateId'

[ Stack-Trace: ]

kaldi::MessageLogger::HandleMessage(kaldi::LogMessageEnvelope const&, char const) kaldi::MessageLogger::~MessageLogger() kaldi::KaldiAssertFailure_(char const, char const, int, char const) kaldi::AddSelfLoops(kaldi::TransitionModel const&, std::vector<int, std::allocator > const&, float, bool, bool, fst::VectorFst<fst::ArcTpl<fst::TropicalWeightTpl >, fst::VectorState<fst::ArcTpl<fst::TropicalWeightTpl >, std::allocator<fst::ArcTpl<fst::TropicalWeightTpl > > > >*) main __libc_start_main _start

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

What can I do with this problem?

Rai220 commented 5 years ago

Try to check this issue. It helps me. https://github.com/grib0ed0v/kaldi-for-russian/issues/1

m1ckyro5a commented 5 years ago

@Rai220 Thanks for help. Another question : how to transfrom wav with russian words to text using kaldi?