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

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

Open
SFidea opened this issue Nov 20, 2024 · 1 comment
Open

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

SFidea opened this issue Nov 20, 2024 · 1 comment
Labels
question Further information is requested

Comments

@SFidea
Copy link

SFidea commented Nov 20, 2024

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 SFidea added the question Further information is requested label Nov 20, 2024
@il-netizen
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants