modelscope / FunASR

A Fundamental End-to-End Speech Recognition Toolkit and Open Source SOTA Pretrained Models, Supporting Speech Recognition, Voice Activity Detection, Text Post-processing etc.
https://www.funasr.com
Other
7.04k stars 752 forks source link

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

Open SFidea opened 2 days ago

SFidea commented 2 days ago

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! 有遇到类似的吗?