Skip to content

语言模型解码错误 #3

@travisCxy

Description

@travisCxy

你好,请问有使用语言模型进行联合解码的脚本吗。我是从wenet那边过来的,我正尝试使用triton部署离线语音识别服务,在不含语言模型的情况下可以跑通并且获取正确结果,但是加上语言模型之后无法获取正确结果。
服务端显示内容如下:
E0524 08:34:07.612731 97 python.cc:1968] Stub process is unhealthy and it will be restarted.
Loading the LM will be faster if you build a binary file.
Reading /ws/onnx_model/lm.arpa
----5---10---15---20---25---30---35---40---45---50---55---60---65---70---75---80---85---90---95--100
***The ARPA file is missing . Substituting log10 probability -100.


Successfully load language model!
Initialized Rescoring!

客户端则直接报错,内容如下:

Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.8/multiprocessing/pool.py", line 576, in _handle_results
task = get()
File "/usr/lib/python3.8/multiprocessing/connection.py", line 251, in recv
return _ForkingPickler.loads(buf.getbuffer())
TypeError: init() missing 1 required positional argument: 'msg'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions