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

目前代码的large模型无法正常调用 #33

Open
iceunlim opened this issue Jan 26, 2024 · 1 comment
Open

目前代码的large模型无法正常调用 #33

iceunlim opened this issue Jan 26, 2024 · 1 comment

Comments

@iceunlim
Copy link

环境是win10 ltsc python3.8.
以下是报错信息:
Traceback (most recent call last): sg.run() File "backend/main.py", line 214, in run recognizer = AudioRecogniser(language=self.language) File "backend/main.py", line 32, in __init__ self.model = whisper.load_model(self.model_path) File "D:\Projects\video-subtitle-generator\backend\whisper\__init__.py", line 147, in load_model dims = ModelDimensions(**checkpoint["dims"]) KeyError: 'dims'
medium模型可以正常生成字幕文件.

@YaoFANGUK
Copy link
Owner

已经修复

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

No branches or pull requests

2 participants