#6793 Model has been downloaded but the SHA256 checksum does not not match. Please retry loading the model.:Traceback (most re

202.8.**7 Posted at: 3 hours ago

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 53, 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 70, in run
File "videotrans\task\_stage_recogn.py", line 63, in recogn
File "videotrans\recognition\__init__.py", line 211, in run
File "videotrans\recognition\_base.py", line 98, in run
File "videotrans\recognition\_whisper.py", line 39, in _exec
File "videotrans\recognition\_whisper.py", line 90, in _openai
File "videotrans\configure\base.py", line 270, 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 53, 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.

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/G/Desktop/sss/736.mp4,
输出结果保存到文件夹: C:/Users/G/Desktop/pyvideotrans/output/736-mp4,
临时文件夹: C:/Users/G/Desktop/pyvideotrans/tmp/24528/1443da484e
未选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:openai-whisper(内置), large-v3, 发音语言: 简体中文, 断句方式:LLM重新断句
翻译渠道:Google(免费),原始语言:简体中文,目标语言:粤语, 未选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:HiuMaan(Female/HK), 配音语言:粤语, 未选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 已选 强制对齐字幕和声音
字幕: 嵌入软字幕
已选 仅输出mp4
代理地址:http://127.0.0.1:7897


=
system:Windows-10-10.0.26200-SP0
version:v4.10
frozen:True
language:zh
root_dir:C:/Users/G/Desktop/pyvideotrans

1 Replies

#1 DeepSeek reply at 3 hours ago

这是模型文件下载不完整或已损坏导致的 SHA256 校验失败。

解决方法

  1. 删除损坏的模型文件
    进入软件根目录下的 models 文件夹,找到 large-v3.pt(或 large-v3-turbo.pt),将其删除。
  2. 重新下载模型,手动放置到正确位置
    如果自动下载仍失败,请手动下载 large-v3.pt 模型文件,放到 软件目录/models/ 文件夹内:

    https://openaipublic.azureedge.net/main/whisper/models/e5b1a55b89c1367dacf97e3e19bfd829a01529dbfdeefa8caeb59b3f1b81dadb/large-v3.pt

    如果你改用 large-v3-turbo 模型,下载地址为:

    https://openaipublic.azureedge.net/main/whisper/models/aff26ae408abcba5fbf8813c21e62b0941638c5f6eebfb145be0c9839262a19a/large-v3-turbo.pt
  3. 建议改换 faster-whisper 渠道
    openai-whisperfaster-whisper 底层模型类似,但 faster-whisper 对模型文件完整性的容错更好,下载更稳定。建议在语音识别渠道下拉框中选择 faster-whisper(内置),模型选择 large-v3-turbo
  4. 注意代理设置
    你当前配置了代理 http://127.0.0.1:7897,如果代理不稳定会导致下载文件损坏。可尝试关闭代理后再重新下载模型。

请查阅相关文档:

Thinking...
Post Your Reply
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