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

Whisper模型加载卡死 #5

Open
MarkXHu1943 opened this issue Apr 10, 2024 · 4 comments
Open

Whisper模型加载卡死 #5

MarkXHu1943 opened this issue Apr 10, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@MarkXHu1943
Copy link

[LOG][INFO] Whisper未加载!
[LOG][INFO] Exception in Tkinter callback
[LOG][INFO] Traceback (most recent call last):

[LOG][INFO]
[LOG][INFO] File "C:\Python312\Lib\tkinter_init_.py", line 1967, in call
return self.func(*args)
^^^^^^^^^^^^^^^^

[LOG][INFO]
[LOG][INFO] File "D:\Portable\git\bili2text\window.py", line 130, in load_whisper
import speech2text

[LOG][INFO]
[LOG][INFO] File "D:\Portable\git\bili2text\speech2text.py", line 1, in
import whisper

[LOG][INFO]
[LOG][INFO] File "C:\Python312\Lib\site-packages\whisper.py", line 69, in
libc = ctypes.CDLL(libc_name)
^^^^^^^^^^^^^^^^^^^^^^

[LOG][INFO]
[LOG][INFO] File "C:\Python312\Lib\ctypes_init_.py", line 369, in init
if '/' in name or '\' in name:
^^^^^^^^^^^

[LOG][INFO]
[LOG][INFO] TypeError: argument of type 'NoneType' is not iterable

@SeeYouCowboi
Copy link

安装了错的whisper,要用pip install -U openai-whisper安装

@fodder049
Copy link

安装了错的whisper,要用pip install -U openai-whisper安装

安装好后点击加载whisper就会GUI卡死OTZ,使用main打开的话又无法解析URL,好怪,大佬有办法吗

@lyandyhk
Copy link

lyandyhk commented Sep 9, 2024

安装了错的whisper,要用pip install -U openai-whisper安装

安装好后点击加载whisper就会GUI卡死OTZ,使用main打开的话又无法解析URL,好怪,大佬有办法吗

我也一样

@lanbinleo
Copy link
Collaborator

安装了错的whisper,要用pip install -U openai-whisper安装

安装好后点击加载whisper就会GUI卡死OTZ,使用main打开的话又无法解析URL,好怪,大佬有办法吗

我也一样

加载Whisper卡死是正常的,因为要下载Whisper模型,这个过程第一次会持续几分钟(看网络情况)。后续会优化~

@lanbinleo lanbinleo added the enhancement New feature or request label Oct 28, 2024
@lanbinleo lanbinleo self-assigned this Oct 28, 2024
@lanbinleo lanbinleo changed the title 加载whisper报错 Whisper模型加载卡死 Nov 7, 2024
@lanbinleo lanbinleo added the help wanted Extra attention is needed label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants