alumae / kaldi-gstreamer-server

Real-time full-duplex speech recognition server, based on the Kaldi toolkit and the GStreamer framwork.
BSD 2-Clause "Simplified" License
1.07k stars 341 forks source link

Runtime Error mfcc.conf #120

Closed Alif112 closed 6 years ago

Alif112 commented 6 years ago

this is my code..

python2.7 kaldigstserver/worker.py -u ws://localhost:8888/worker/ws/speech -c bangla_nnet2.yaml

DEBUG 2018-02-23 19:56:14,688 Starting up worker 2018-02-23 19:56:14 - INFO: decoder2: Creating decoder using conf: {'post-processor': "perl -npe 'BEGIN {use IO::Handle; STDOUT->autoflush(1);} s/(.*)/\1./;'", 'logging': {'version': 1, 'root': {'level': 'DEBUG', 'handlers': ['console']}, 'formatters': {'simpleFormater': {'datefmt': '%Y-%m-%d %H:%M:%S', 'format': '%(asctime)s - %(levelname)7s: %(name)10s: %(message)s'}}, 'disable_existing_loggers': False, 'handlers': {'console': {'formatter': 'simpleFormater', 'class': 'logging.StreamHandler', 'level': 'DEBUG'}}}, 'use-nnet2': True, 'full-post-processor': './sample_full_post_processor.py', 'decoder': {'ivector-extraction-config': 'test/models/bangla/conf/ivector_extractor.conf', 'num-nbest': 10, 'lattice-beam': 6.0, 'acoustic-scale': 0.083, 'do-endpointing': True, 'beam': 10.0, 'max-active': 10000, 'fst': 'test/models/bangla/HCLG.fst', 'mfcc-config': 'test/bangla/conf/mfcc.conf', 'use-threaded-decoder': True, 'traceback-period-in-secs': 0.25, 'model': 'test/models/bangla/final.mdl', 'word-syms': 'test/models/bangla/words.txt', 'endpoint-silence-phones': '1:2:3:4:5:6:7:8:9:10', 'chunk-length-in-secs': 0.25}, 'silence-timeout': 10, 'out-dir': 'tmp', 'use-vad': False} 2018-02-23 19:56:14 - INFO: decoder2: Setting decoder property: ivector-extraction-config = test/models/bangla/conf/ivector_extractor.conf 2018-02-23 19:56:14 - INFO: decoder2: Setting decoder property: num-nbest = 10 2018-02-23 19:56:14 - INFO: decoder2: Setting decoder property: lattice-beam = 6.0 2018-02-23 19:56:14 - INFO: decoder2: Setting decoder property: acoustic-scale = 0.083 2018-02-23 19:56:14 - INFO: decoder2: Setting decoder property: do-endpointing = True 2018-02-23 19:56:14 - INFO: decoder2: Setting decoder property: beam = 10.0 2018-02-23 19:56:14 - INFO: decoder2: Setting decoder property: max-active = 10000 2018-02-23 19:56:14 - INFO: decoder2: Setting decoder property: fst = test/models/bangla/HCLG.fst 2018-02-23 19:56:14 - INFO: decoder2: Setting decoder property: mfcc-config = test/bangla/conf/mfcc.conf 2018-02-23 19:56:14 - INFO: decoder2: Setting decoder property: traceback-period-in-secs = 0.25 2018-02-23 19:56:14 - INFO: decoder2: Setting decoder property: model = test/models/bangla/final.mdl 2018-02-23 19:56:14 - INFO: decoder2: Setting decoder property: word-syms = test/models/bangla/words.txt 2018-02-23 19:56:14 - INFO: decoder2: Setting decoder property: endpoint-silence-phones = 1:2:3:4:5:6:7:8:9:10 2018-02-23 19:56:14 - INFO: decoder2: Setting decoder property: chunk-length-in-secs = 0.25 2018-02-23 19:56:14 - INFO: decoder2: Created GStreamer elements 2018-02-23 19:56:14 - DEBUG: decoder2: Adding <gi.GstAppSrc object at 0x7efdfd7e60a0 (GstAppSrc at 0x13abdb0)> to the pipeline 2018-02-23 19:56:14 - DEBUG: decoder2: Adding <gi.GstDecodeBin object at 0x7efdfd7e61e0 (GstDecodeBin at 0x13940e0)> to the pipeline 2018-02-23 19:56:14 - DEBUG: decoder2: Adding <gi.GstAudioConvert object at 0x7efdfd7e6050 (GstAudioConvert at 0x13bc490)> to the pipeline 2018-02-23 19:56:14 - DEBUG: decoder2: Adding <gi.GstAudioResample object at 0x7efdfd7e6140 (GstAudioResample at 0x13ca270)> to the pipeline 2018-02-23 19:56:14 - DEBUG: decoder2: Adding <gi.GstTee object at 0x7efdfd7e6280 (GstTee at 0x13cd000)> to the pipeline 2018-02-23 19:56:14 - DEBUG: decoder2: Adding <gi.GstQueue object at 0x7efdfd7e62d0 (GstQueue at 0x13d20c0)> to the pipeline 2018-02-23 19:56:14 - DEBUG: decoder2: Adding <gi.GstFileSink object at 0x7efdfd7e6500 (GstFileSink at 0x13d6410)> to the pipeline 2018-02-23 19:56:14 - DEBUG: decoder2: Adding <gi.GstQueue object at 0x7efdfd7e6550 (GstQueue at 0x13d23b0)> to the pipeline 2018-02-23 19:56:14 - DEBUG: decoder2: Adding <gi.Gstkaldinnet2onlinedecoder object at 0x7efdfd7e65a0 (Gstkaldinnet2onlinedecoder at 0x13b6400)> to the pipeline 2018-02-23 19:56:14 - DEBUG: decoder2: Adding <gi.GstFakeSink object at 0x7efdfd7e65f0 (GstFakeSink at 0x1415a10)> to the pipeline 2018-02-23 19:56:14 - INFO: decoder2: Linking GStreamer elements ERROR ([5.3.98~2-3031]:ReadConfigFile():parse-options.cc:469) Cannot open config file: test/bangla/conf/mfcc.conf

[ Stack-Trace: ]

kaldi::MessageLogger::HandleMessage(kaldi::LogMessageEnvelope const&, char const) kaldi::MessageLogger::~MessageLogger() kaldi::ParseOptions::ReadConfigFile(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&) void kaldi::ReadConfigFromFile(std::cxx11::basic_string<char, std::char_traits, std::allocator >, kaldi::MfccOptions) kaldi::OnlineNnet2FeaturePipelineInfo::OnlineNnet2FeaturePipelineInfo(kaldi::OnlineNnet2FeaturePipelineConfig const&)

gst_pad_query gst_pad_query_caps gst_element_get_compatible_pad . . . python2.7() [0x4aa9ab] PyEval_EvalFrameEx PyEval_EvalFrameEx PyEval_EvalCodeEx python2.7() [0x4eb30f] PyRun_FileExFlags PyRun_SimpleFileExFlags Py_Main __libc_start_main _start

terminate called after throwing an instance of 'std::runtime_error' what():
Aborted (core dumped)

alumae commented 6 years ago

Read the error messages and you will find out.

Alif112 commented 6 years ago

i solve it out. thanks. any way

On Fri, Feb 23, 2018 at 11:39 PM, Tanel Alumäe notifications@github.com wrote:

Read the error messages and you will find out.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alumae/kaldi-gstreamer-server/issues/120#issuecomment-368083023, or mute the thread https://github.com/notifications/unsubscribe-auth/AVoouYTUWEUAdJN_abAWzswwy6p1epBJks5tXvfrgaJpZM4SQ6ty .