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

Error while running gui_demo.py with our chain dnn model #82

Open
anchalrani opened this issue May 21, 2019 · 0 comments
Open

Error while running gui_demo.py with our chain dnn model #82

anchalrani opened this issue May 21, 2019 · 0 comments

Comments

@anchalrani
Copy link

anchalrani commented May 21, 2019

I have added
self.asr.set_property("frame-subsampling-factor", 3)
self.asr.set_property("acoustic-scale", 1)
self.asr.set_property("nnet-mode", 3)
to gui_demo.py by visiting the issues on git, but the problem is not getting solved.
I am getting the following error:

_**gui-demo.py:14: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import GObject, Gst, Gtk, Gdk
ERROR ([5.5.268~1-f9828]:ExpectToken():io-funcs.cc:209) Expected token "Nnet", got instead "Nnet3".

[ Stack-Trace: ]
kaldi::MessageLogger::LogMessage() const
kaldi::MessageLogger::LogAndThrow::operator=(kaldi::MessageLogger const&)
kaldi::ExpectToken(std::istream&, bool, char const*)
kaldi::nnet2::Nnet::Read(std::istream&, bool)
kaldi::nnet2::AmNnet::Read(std::istream&, bool)

g_object_setv
g_object_set_property

.
.
.

PyEval_EvalFrameEx
PyEval_EvalCodeEx
PyEval_EvalCode

PyRun_FileExFlags
PyRun_SimpleFileExFlags
Py_Main
__libc_start_main
_start

LOG ([5.5.2681-f9828]:ComputeDerivedVars():ivector-extractor.cc:183) Computing derived variables for iVector extractor
LOG ([5.5.268
1-f9828]:ComputeDerivedVars():ivector-extractor.cc:204) Done.
Segmentation fault (core dumped)**_

EARLIER I WAS GETTING FOLLOWING ERROR :
_python2.7 gui-demo.py
gui-demo.py:14: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import GObject, Gst, Gtk, Gdk
ERROR ([5.5.268~1-f9828]:ExpectToken():io-funcs.cc:209) Expected token "Nnet", got instead "Nnet3".

[ Stack-Trace: ]
kaldi::MessageLogger::LogMessage() const
kaldi::MessageLogger::LogAndThrow::operator=(kaldi::MessageLogger const&)
kaldi::ExpectToken(std::istream&, bool, char const*)
kaldi::nnet2::Nnet::Read(std::istream&, bool)
kaldi::nnet2::AmNnet::Read(std::istream&, bool)

g_object_setv
g_object_set_property

.
.
.

PyEval_EvalFrameEx
PyEval_EvalCodeEx
PyEval_EvalCode

PyRun_FileExFlags
PyRun_SimpleFileExFlags
Py_Main
__libc_start_main
_start

LOG ([5.5.2681-f9828]:ComputeDerivedVars():ivector-extractor.cc:183) Computing derived variables for iVector extractor
LOG ([5.5.268
1-f9828]:ComputeDerivedVars():ivector-extractor.cc:204) Done.
ASSERTION_FAILED ([5.5.268~1-f9828]:LeftContext():nnet-nnet.cc:43) Assertion failed: (!components_.empty())

[ Stack-Trace: ]
kaldi::MessageLogger::LogMessage() const
kaldi::KaldiAssertFailure_(char const*, char const*, int, char const*)
kaldi::nnet2::Nnet::LeftContext() const
kaldi::nnet2::DecodableNnet2Online::DecodableNnet2Online(kaldi::nnet2::AmNnet const&, kaldi::TransitionModel const&, kaldi::nnet2::DecodableNnet2OnlineOptions const&, kaldi::OnlineFeatureInterface*)
kaldi::SingleUtteranceNnet2Decoder::SingleUtteranceNnet2Decoder(kaldi::OnlineNnet2DecodingConfig const&, kaldi::TransitionModel const&, kaldi::nnet2::AmNnet const&, fst::Fst<fst::ArcTpl<fst::TropicalWeightTpl > > const&, kaldi::OnlineFeatureInterface*)

clone

Aborted (core dumped)_

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