#7195 语音识别阶段出错[openai-whisper(内置)] Model has been downloaded but the SHA256 checksum does not not match. Please retry loading

194.233**9 Posted at: 1 hour ago

语音识别阶段出错[openai-whisper(内置)] Model has been downloaded but the SHA256 checksum does not not match. Please retry loading the model.:Traceback (most recent call last):
File "videotrans\process\stt_openai.py", line 55, 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\job.py", line 35, in run

File "videotrans\task\job.py", line 102, in process_task

File "videotrans\task\_stage_recogn.py", line 65, in recogn

File "videotrans\recognition\__init__.py", line 228, in run

File "videotrans\recognition\_base.py", line 97, in run

File "videotrans\recognition\_whisper.py", line 39, in _exec

File "videotrans\recognition\_whisper.py", line 81, in _openai

File "videotrans\configure\base.py", line 264, in _new_process

videotrans.configure.excepts.VideoTransError: Model has been downloaded but the SHA256 checksum does not not match. Please retry loading the model.:Traceback (most recent call last):
File "videotrans\process\stt_openai.py", line 55, 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.
[TransCreate]翻译视频: self.is_copy_video=True,self.video_codec_num=264,self.is_audio_trans=False,self.video_info={'video_fps': 30.0, 'r_frame_rate': 30.0, 'video_codec_name': 'h264', 'audio_codec_name': 'aac', 'width': 1280, 'height': 720, 'time': 1856966, 'streams_len': 2, 'streams_audio': 1, 'video_streams': 1, 'color': 'yuv420p'}
[TaskCfgVTT]当前工作模式: 翻译视频 批量翻译模式
原始输入文件名: D:/Program/video/control/01-2.mp4,
输出结果保存到文件夹: D:/Program/video/control/_video_out/01-2-mp4,
临时文件夹: C:/pyvideotrans/win-pyvideotrans-v4.12-0908/tmp/14692/a33402b960
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:openai-whisper(内置), large-v3, 发音语言: 韩语, 断句方式:默认断句
翻译渠道:DeepSeek,原始语言:韩语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕
代理地址:http://127.0.0.1:10808


=
system:Windows-10-10.0.26200-SP0
version:v4.12
frozen:True
language:zh_CN
root_dir:C:/pyvideotrans/win-pyvideotrans-v4.12-0908

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因是 openai-whisper 模型文件下载不完整或已损坏,导致加载时 SHA256 校验失败。

解决方案:

  1. 进入软件根目录下的 models/ 文件夹,删除对应的 openai-whisper 模型文件(根据日志使用的是 large-v3,即删除 large-v3.pt)。
  2. 重新执行任务,让软件自动重新下载模型。
  3. 若自动下载仍失败,请开启代理(日志中已填 http://127.0.0.1:10808,请确认代理服务确实在该端口运行)或手动下载后放入 models/ 目录。
提示:openai-whisper 的 large-v3 模型文件较大(约3GB),下载中断会导致校验失败。如代理不稳定,建议改用默认的 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