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

Invalid parameters supplied to OnlineLdaInput #256

Open
PietroG72 opened this issue Oct 18, 2021 · 0 comments
Open

Invalid parameters supplied to OnlineLdaInput #256

PietroG72 opened this issue Oct 18, 2021 · 0 comments

Comments

@PietroG72
Copy link

I'm trying to use my Kaldi model but obtain this error:

Invalid parameters supplied to OnlineLdaInput

What do I wrong?

Logs

worker.log:

libudev: udev_has_devtmpfs: name_to_handle_at on /dev: Operation not permitted
libdc1394 error: Failed to initialize libdc1394
DEBUG 2021-10-18 07:26:30,085 Starting up worker
2021-10-18 07:26:30 - INFO: decoder: Creating decoder using conf: {'timeout-decoder': 10, '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'}}}, 'decoder': {'word-syms': '/opt/models/words.txt', 'model': '/opt/models/final.mdl', 'lda-mat': '/opt/models/final.mat', 'fst': '/opt/models/HCLG.fst', 'silence-phones': '1'}, 'silence-timeout': 60, 'out-dir': 'tmp', 'use-vad': False}
2021-10-18 07:26:30 - INFO: decoder: Setting decoder property: word-syms = /opt/models/words.txt
2021-10-18 07:26:30 - INFO: decoder: Setting decoder property: model = /opt/models/final.mdl
2021-10-18 07:26:30 - INFO: decoder: Setting decoder property: lda-mat = /opt/models/final.mat
2021-10-18 07:26:30 - INFO: decoder: Setting decoder property: fst = /opt/models/HCLG.fst
2021-10-18 07:26:30 - INFO: decoder: Setting decoder property: silence-phones = 1
2021-10-18 07:26:30 - INFO: decoder: Created GStreamer elements
2021-10-18 07:26:30 - DEBUG: decoder: Adding <main.GstAppSrc object at 0x7feb070c72d0 (GstAppSrc at 0x11a2db0)> to the pipeline
2021-10-18 07:26:30 - DEBUG: decoder: Adding <main.GstDecodeBin object at 0x7feb070c7320 (GstDecodeBin at 0x123c060)> to the pipeline
2021-10-18 07:26:30 - DEBUG: decoder: Adding <main.GstAudioConvert object at 0x7feb070c73c0 (GstAudioConvert at 0x122a130)> to the pipeline
2021-10-18 07:26:30 - DEBUG: decoder: Adding <main.GstAudioResample object at 0x7feb070c7280 (GstAudioResample at 0x1031f70)> to the pipeline
2021-10-18 07:26:30 - DEBUG: decoder: Adding <main.GstTee object at 0x7feb070c7370 (GstTee at 0x1252000)> to the pipeline
2021-10-18 07:26:30 - DEBUG: decoder: Adding <main.GstQueue object at 0x7feb070c7460 (GstQueue at 0x1256170)> to the pipeline
2021-10-18 07:26:30 - DEBUG: decoder: Adding <main.GstFileSink object at 0x7feb070c74b0 (GstFileSink at 0x1259200)> to the pipeline
2021-10-18 07:26:30 - DEBUG: decoder: Adding <main.GstQueue object at 0x7feb070c7500 (GstQueue at 0x1256460)> to the pipeline
2021-10-18 07:26:30 - DEBUG: decoder: Adding <main.GstCutter object at 0x7feb070c7550 (GstCutter at 0x125e010)> to the pipeline
2021-10-18 07:26:30 - DEBUG: decoder: Adding <main.GstOnlineGmmDecodeFaster object at 0x7feb070c75a0 (GstOnlineGmmDecodeFaster at 0x1271000)> to the pipeline
2021-10-18 07:26:30 - DEBUG: decoder: Adding <main.GstFakeSink object at 0x7feb070c75f0 (GstFakeSink at 0x1270c40)> to the pipeline
2021-10-18 07:26:30 - INFO: decoder: Linking GStreamer elements
2021-10-18 07:26:30 - INFO: decoder: Setting pipeline to READY
2021-10-18 07:26:30 - INFO: decoder: Set pipeline to READY
2021-10-18 07:26:30 - INFO: main: Opening websocket connection to master server
2021-10-18 07:26:30 - INFO: main: Opened websocket connection to server
2021-10-18 07:28:48 - DEBUG: main: : Got message from server of type <class 'ws4py.messaging.TextMessage'>
2021-10-18 07:28:48 - INFO: decoder: b4637539-a313-4e06-bba2-c503ac27b3ab: Pipeline initialized
2021-10-18 07:28:48 - INFO: main: b4637539-a313-4e06-bba2-c503ac27b3ab: Started timeout guard
2021-10-18 07:28:48 - DEBUG: main: b4637539-a313-4e06-bba2-c503ac27b3ab: Checking that decoder hasn't been silent for more than 60 seconds
2021-10-18 07:28:48 - INFO: main: b4637539-a313-4e06-bba2-c503ac27b3ab: Initialized request
2021-10-18 07:28:48 - DEBUG: main: b4637539-a313-4e06-bba2-c503ac27b3ab: Got message from server of type <class 'ws4py.messaging.BinaryMessage'>
2021-10-18 07:28:48 - DEBUG: decoder: b4637539-a313-4e06-bba2-c503ac27b3ab: Pushing buffer of size 4000 to pipeline
2021-10-18 07:28:49 - DEBUG: main: b4637539-a313-4e06-bba2-c503ac27b3ab: Got message from server of type <class 'ws4py.messaging.BinaryMessage'>
2021-10-18 07:28:49 - DEBUG: decoder: b4637539-a313-4e06-bba2-c503ac27b3ab: Pushing buffer of size 4000 to pipeline
2021-10-18 07:28:49 - INFO: decoder: b4637539-a313-4e06-bba2-c503ac27b3ab: Connecting audio decoder
2021-10-18 07:28:49 - INFO: decoder: b4637539-a313-4e06-bba2-c503ac27b3ab: Connected audio decoder
ERROR ([5.4.176~1-be967]:OnlineLdaInput():online-feat-input.cc:209) Invalid parameters supplied to OnlineLdaInput

[ Stack-Trace: ]
kaldi::MessageLogger::HandleMessage(kaldi::LogMessageEnvelope const&, char const*)
kaldi::MessageLogger::~MessageLogger()
kaldi::OnlineLdaInput::OnlineLdaInput(kaldi::OnlineFeatInputItf*, kaldi::Matrix const&, int, int)

clone

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

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