FunASR icon indicating copy to clipboard operation
FunASR copied to clipboard

pyinstaller6.11版本打包后运行报错

Open SFidea opened this issue 1 year ago • 3 comments

F:\gitwork\asr\runtime\python\websocket\dist>funasr_wss_server.exe model loading funasr version: 1.1.11. model_conf {'model': './models/iic/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch', 'model_revision': 'v2.0.4', 'ngpu': 1, 'ncpu': 4, 'device': 'cuda', 'disable_pbar': True, 'disable_log': True, 'disable_update': True} INFO:root:download models from model hub: ms Traceback (most recent call last): File "funasr_wss_server.py", line 79, in File "funasr\auto\auto_model.py", line 125, in init File "funasr\auto\auto_model.py", line 223, in build_model TypeError: 'NoneType' object is not callable [PYI-22532:ERROR] Failed to execute script 'funasr_wss_server' due to unhandled exception! 有遇到类似的吗?

SFidea avatar Nov 20 '24 10:11 SFidea

同问, 请问解决了吗 @SFidea 我看源码,是这一行报错 tokenizer = tokenizer_class(**tokenizer_conf) 是什么依赖包没有打进去吗

il-netizen avatar Dec 02 '24 18:12 il-netizen

我也遇到了,怎么解决的

313038 avatar Jan 18 '25 10:01 313038

我也遇到了,有人解决了吗。funasr和modelscope都是最新版本

wwfcnu avatar Sep 12 '25 09:09 wwfcnu