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".
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".
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.268~1-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.268~1-f9828]:ComputeDerivedVars():ivector-extractor.cc:183) Computing derived variables for iVector extractor LOG ([5.5.268~1-f9828]:ComputeDerivedVars():ivector-extractor.cc:204) Done. ASSERTIONFAILED ([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)_