锐英源软件
第一信赖

精通

英语

开源

擅长

开发

培训

胸怀四海 

第一信赖

当前位置:锐英源 / 开源技术 / 语音识别开源 / online-audio-server-decode-faster错误信息

服务方向

人工智能数据处理
人工智能培训
kaldi数据准备
小语种语音识别
语音识别标注
语音识别系统
语音识别转文字
kaldi开发技术服务
软件开发
运动控制卡上位机
机械加工软件
软件开发培训
Java 安卓移动开发
VC++
C#软件
汇编和破解
驱动开发

联系方式

固话:0371-63888850
手机:138-0381-0136
Q Q:396806883
微信:ryysoft

online-audio-server-decode-faster错误信息


i want to use kaldi in my language (Thai language).
i tried to start service online-audio-server-decode-faster with parameter like this

./online-audio-server-decode-faster --verbose=1 --rt-min=0.3 --rt-max=0.5 --max-active=4000 --beam=12.0 --acoustic-scale=0.0769 am5/final.mdl am5/HCLG.fst am5/words.txt '1:2:3:4:5' 5010 am5/word_boundary.int am5/final.mat

but i got a error message when system reading words.txt. this is log我想用我的语言(泰语)使用kaldi的每个人。
我试图使用这样的参数启动服务online-audio-server-decode-faster

./online-audio-server-decode-faster --verbose = 1 --rt-min = 0.3 --rt-max = 0.5 --max-active = 4000 --beam = 12.0 --acoustic-scale = 0.0769 am5 /final.mdl am5 / HCLG.fst am5 / words.txt'1:2:3:4:5'5010 am5 / word_boundary.int am5 / final.mat

但是系统读取words.txt时出现错误信息。这是日志

" (skipping), file = am5/words.txt, line = 148388teger "148387
" (skipping), file = am5/words.txt, line = 148389teger "148388
" (skipping), file = am5/words.txt, line = 148390teger "148389
" (skipping), file = am5/words.txt, line = 148391teger "148390
" (skipping), file = am5/words.txt, line = 148392teger "148391
Reading word boundary file: am5/word_boundary.int...
Reading FST: am5/HCLG.fst...
Waiting for client...

This is my word.txt file. it's dictionary of Thai language这是我的word.txt文件。这是泰语词典

<eps> 0
!SIL 1
<NOISE> 2
<SPOKEN_NOISE> 3
<UNK> 4
กกว่า 29
กกส์ 30
กกหู 31
กการ 32

and then i tried to connect with online-audio-client with this parameter然后我尝试使用此参数与online-audio-client连接

./online-audio-client --htk --vtt localhost 5010 scp:am1/test-party.scp

i got a error message from server我从服务器收到错误消息

ERROR (online-audio-server-decode-faster:OnlineLdaInput():online-feat-input.cc:206) Invalid parameters supplied to OnlineLdaInput
ERROR (online-audio-server-decode-faster:OnlineLdaInput():online-feat-input.cc:206) Invalid parameters supplied to OnlineLdaInput

[stack trace: ]
kaldi::KaldiGetStackTrace()
kaldi::KaldiErrorMessage::~KaldiErrorMessage()
kaldi::OnlineLdaInput::OnlineLdaInput(kaldi::OnlineFeatInputItf*, >kaldi::Matrix<float> const&, int, int)
./online-audio-server-decode-faster(main+0x1171) [0x45eb55]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x3ec221ecdd]
./online-audio-server-decode-faster() [0x45d929]

what is a "Invalid parameters supplied to OnlineLdaInput" and how to fix the both of problem.什么是“提供给OnlineLdaInput的无效参数”
以及如何解决这两个问题。

It looks like the word_boundary file needs to have integer id's. In general Kaldi programs don't read in the words or phone from your
language, only the integer id's. If there is a word_boundary.int file use that, else use "utils/sym2int.pl -f 1 data/lang/phones.txt
your_word_boundary.txt|" or something like that.看来word_boundary文件需要具有整数ID。在一般Kaldi程序不中的话或手机从你读
的语言,只有整数ID的。如果存在word_boundary.int文件,请使用,否则使用“ utils / sym2int.pl -f 1 data / lang / phones.txt your_word_boundary.txt |” 或类似的东西。

but i have a new problem

i tried to start service online-audio-server-decode-faster with parameter like this我将其更改为word_boundary.int,它的工作原理!!!
非常感谢你^ _ ^

但是我有一个新问题

我试图用这样的参数更快地开始在线服务音频服务器解码

./online-audio-server-decode-faster --verbose=1 --rt-min=0.3 --rt-max=0.5 --max-active=4000 --beam=12.0 --acoustic-scale=0.0769 am5/final.mdl am5/HCLG.fst am5/words.txt '1:2:3:4:5' 5010 am5/word_boundary.int am5/final.mat

but i got a error message when system reading words.txt. this is log但是系统读取words.txt时出现错误信息。这是日志

" (skipping), file = am5/words.txt, line = 148388teger "148387
" (skipping), file = am5/words.txt, line = 148389teger "148388
" (skipping), file = am5/words.txt, line = 148390teger "148389
" (skipping), file = am5/words.txt, line = 148391teger "148390
" (skipping), file = am5/words.txt, line = 148392teger "148391
Reading word boundary file: am5/word_boundary.int...
Reading FST: am5/HCLG.fst...
Waiting for client...

This is my word.txt file. it's dictionary of Thai language这是我的word.txt文件。这是泰语词典

<eps> 0
!SIL 1
<NOISE> 2
<SPOKEN_NOISE> 3
<UNK> 4
กกว่า 29
กกส์ 30
กกหู 31
กการ 32

and then i tried to connect with online-audio-client with this parameter然后我尝试使用此参数与online-audio-client连接

./online-audio-client --htk --vtt localhost 5010 scp:am1/test-party.scp

i got a error message from server我从服务器收到错误消息

ERROR (online-audio-server-decode-faster:OnlineLdaInput():online-feat-input.cc:206) Invalid parameters supplied to OnlineLdaInput
ERROR (online-audio-server-decode-faster:OnlineLdaInput():online-feat-input.cc:206) Invalid parameters supplied to OnlineLdaInput

[stack trace: ]
kaldi::KaldiGetStackTrace()
kaldi::KaldiErrorMessage::~KaldiErrorMessage()
kaldi::OnlineLdaInput::OnlineLdaInput(kaldi::OnlineFeatInputItf*, >kaldi::Matrix<float> const&, int, int)
./online-audio-server-decode-faster(main+0x1171) [0x45eb55]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x3ec221ecdd]
./online-audio-server-decode-faster() [0x45d929]

what is a "Invalid parameters supplied to OnlineLdaInput" and how to fix the both of problem.什么是“提供给OnlineLdaInput的无效参数”
以及如何解决这两个问题。


Please show me the full command line. I see no code or script that would output that line with (skipping) in it.
Your words.txt does not look right at all, it's supposed to have 2 fields per line.请显示完整的命令行。我看不到任何代码或脚本
会在其中输出(跳过)该行。
您的words.txt看起来根本不正确,应该每行有2个字段。

i checked a word.txt again and i found that's my fault.
Sorry for that.
now word.txt is ok!

but OnlineLdaInput is still a problem when i used client connect a server i got a error message我再次检查了word.txt,发现这是我的错。
抱歉
现在word.txt可以了!

但是当我使用客户端连接服务器时,OnlineLdaInput仍然是一个问题,但出现错误消息

ERROR
(online-audio-server-decode-faster:OnlineLdaInput():online-feat-input.cc:206)
Invalid parameters supplied to OnlineLdaInput
ERROR
(online-audio-server-decode-faster:OnlineLdaInput():online-feat-input.cc:206)
Invalid parameters supplied to OnlineLdaInput
[stack trace: ]
kaldi::KaldiGetStackTrace()
kaldi::KaldiErrorMessage::~KaldiErrorMessage()
kaldi::OnlineLdaInput::OnlineLdaInput(kaldi::OnlineFeatInputItf*,
kaldi::Matrix const&, int, int)
./online-audio-server-decode-faster(main+0x1171) [0x45eb55]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x3ec221ecdd]
./online-audio-server-decode-faster() [0x45d929]

it's relation about final.mat file or other file?

It has to do with final.mat file, perhaps you'll have to change the left_context or right_context in the code. When you find an error,
first look at the code where the error is printed out and try to work it out yourself, then if that fails, ask.它与final.mat文件有关,也许您必须
在代码中更改left_context或right_context。当发现错误时, 首先查看打印出错误的代码,然后尝试自己解决,然后如果失败,请询问。

友情链接
版权所有 Copyright(c)2004-2021 锐英源软件
公司注册号:410105000449586 豫ICP备08007559号 最佳分辨率 1024*768
地址:郑州大学北校区院(文化路97号院)内