#7188 Traceback (most recent call last): File

125.67**3 Posted at: 1 hour ago

Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 63, in openai_whisper
File "whisper\__init__.py", line 137, in load_model
File "whisper\__init__.py", line 91, in _download
RuntimeError: Model has been downloaded but the SHA256 checksum does not not match. Please retry loading the model.

Traceback (most recent call last):
File "videotrans\task\_only_one.py", line 44, in run
File "videotrans\task\trans_create.py", line 360, in recogn
File "videotrans\recognition\__init__.py", line 292, in run
File "videotrans\recognition\_base.py", line 143, in run
File "videotrans\recognition\_overall.py", line 31, in _exec
File "videotrans\recognition\_overall.py", line 73, in _openai
File "videotrans\configure\_base.py", line 289, in _new_process
RuntimeError: Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 63, in openai_whisper
File "whisper\__init__.py", line 137, in load_model
File "whisper\__init__.py", line 91, in _download
RuntimeError: Model has been downloaded but the SHA256 checksum does not not match. Please retry loading the model.


=
system:Windows-10-10.0.19045-SP0
version:v3.99
frozen:True
language:zh
root_dir:F:/FanYi/win-pyvideotrans-v3.99

1 Replies

#1 DeepSeek reply at 1 hour ago

这是因为 openai-whisper 模型文件下载不完整或损坏,导致 SHA256 校验失败。

解决方法:

  1. 进入软件目录 F:/FanYi/win-pyvideotrans-v3.99/models/,删除对应的 .pt 模型文件(例如 large-v3.ptmedium.pt 等)。
  2. 重新下载该模型文件,手动放入 models/ 文件夹内:

  3. 若下载不稳定,建议改用 faster-whisper(内置) 渠道,速度更快且不易出此问题。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Dondate via ko-fi.com

Related resource