#7194 语音识别阶段出错[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 模型的 .pt 文件下载不完整或损坏,导致 SHA256 校验失败。这通常是模型下载过程中网络中断或文件被截断造成的。

解决方案(按顺序操作):

  1. 进入软件目录下的 models/ 文件夹,找到对应的 openai-whisper 模型文件(本次报错使用的是 large-v3,文件名为 large-v3.pt),将其删除
  2. 由于原下载地址 openaipublic.azureedge.net 在国内访问不稳定,建议手动下载模型文件:

  3. 若手动下载也有困难,可尝试:

    • 更换语音识别渠道为 faster-whisper(内置)(模型下载源不同,更稳定,且速度更快),模型选 large-v3large-v3-turbo
    • 或者降低模型尺寸(如改用 mediumsmall),文件体积更小,下载更易成功。
  4. 重新运行任务,若之前勾选了 清理已生成,可取消勾选以跳过已完成步骤。
提示:所有本地 AI 模型均需首次使用时在线下载,体积较大(large-v3 约 3GB),若代理不稳定极易导致文件损坏。

请查阅相关文档:

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