py-kaldi-asr icon indicating copy to clipboard operation
py-kaldi-asr copied to clipboard

RuntimeError

Open nadeemp78 opened this issue 4 years ago • 7 comments

When i ran chain_online.py, getting RuntimeError. data/e2e_tdnnf loading model... Traceback (most recent call last): File "chain_online.py", line 40, in kaldi_model = KaldiNNet3OnlineModel (MODELDIR, MODEL) File "kaldiasr/nnet3.pyx", line 134, in kaldiasr.nnet3.KaldiNNet3OnlineModel.cinit self.model_wrapper = new NNet3OnlineModelWrapper(beam, RuntimeError: kaldi::KaldiFatalError

Can anyone help me out in knowing why this error came and how to fix it.

nadeemp78 avatar Jan 20 '20 07:01 nadeemp78

Hi, I have the same problem, could you please tell me how did you solve the problem? Thanks.

MengjieQian avatar Nov 05 '20 17:11 MengjieQian

Problem solved. Did not set the path to required files correctly.

MengjieQian avatar Nov 05 '20 19:11 MengjieQian

Problem solved. Did not set the path to required files correctly.

Hello, dear brother : I have the same question: I try english model sucessful, but chinese model failed. so could you tell me some details about you experience , thank you very much

marvin-nj avatar Jan 26 '21 08:01 marvin-nj

Which model are your referring to?

svenha avatar Jan 26 '21 08:01 svenha

Which model are your referring to?

A 16k chinese model trained by myself , accyrately model is ok, it decode sucessfully in kaldi

marvin-nj avatar Jan 27 '21 05:01 marvin-nj

It seems to be hard or impossible to help you in this case: an unknown model AND no details about the failures. A wild guess about the problem would be pitch features for Chinese that you maybe (?) use and are not used in other languages.

svenha avatar Jan 27 '21 10:01 svenha

I fix it after reinstall my kaldiasr, everything is ok now , thank you !

marvin-nj avatar Jan 28 '21 07:01 marvin-nj