#1912 TaskCfg(cache_folder='D:/BaiduNetdiskDownload/win-videotrans-v3.84/win-videotrans-v3.84/tmp/17880/speech2text', target_d

94.142* Posted at: 6 hours ago 👁6

语音识别阶段出错:[openai-whisper(本地)] 运行时错误:Traceback (most recent call last):
File "videotrans\process\_overall.py", line 44, in run
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 113, in run
File "videotrans\task\_speech2text.py", line 146, in recogn
File "videotrans\recognition\__init__.py", line 243, in run
File "videotrans\recognition\_base.py", line 78, in run
File "videotrans\recognition\_overall.py", line 182, in _exec
RuntimeError: Traceback (most recent call last):
File "videotrans\process\_overall.py", line 44, in run
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.

TaskCfg(cache_folder='D:/BaiduNetdiskDownload/win-videotrans-v3.84/win-videotrans-v3.84/tmp/17880/speech2text', target_dir='C:/Users/12560/Desktop/win-videotrans-v3.84/output/recogn', remove_noise=False, is_separate=False, detect_language='ja', subtitle_language=None, source_language=None, target_language=None, source_language_code=None, target_language_code=None, source_sub=None, target_sub='C:/Users/12560/Desktop/win-videotrans-v3.84/output/recogn/MOND-118.srt', source_wav=None, source_wav_output=None, target_wav=None, target_wav_output=None, subtitles=None, novoice_mp4=None, noextname='MOND-118', shibie_audio='D:/BaiduNetdiskDownload/win-videotrans-v3.84/win-videotrans-v3.84/tmp/17880/speech2text/MOND-118-1765347972.5404356.wav', targetdir_mp4=None, instrument=None, vocal=None, back_audio=None, background_music=None, app_mode='biaozhun', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role=None, copysrt_rawvideo=False, clear_cache=False, translate_type=None, tts_type=None, recogn_type=1, model_name='large-v3', split_type=0, voice_autorate=False, video_autorate=False, cuda=True, name='D:/BaiduNetdiskDownload/AI/MOND-118.mp4', basename='MOND-118.mp4', ext='mp4', dirname='D:/BaiduNetdiskDownload/AI', shound_del_name=None, uuid='d8a6ea23b2', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=0, only_out_mp4=False)


=
system:Windows-10-10.0.19045-SP0
version:v3.89
frozen:True
language:zh
root_dir:D:/BaiduNetdiskDownload/win-videotrans-v3.84/win-videotrans-v3.84

1 Replies

这个错误表明您下载的 Whisper 模型文件损坏,SHA256 校验和不匹配。请按以下步骤解决:

  1. 删除损坏的模型文件

    • 打开文件资源管理器,进入路径 C:\Users\<您的用户名>\.cache\whisper
    • 删除名为 large-v3.pt 的文件(或您选择的模型文件)。
  2. 重新运行识别

    • 返回 pyVideoTrans 主界面,确保“清理已生成”选项已勾选。
    • 重新开始任务,软件会自动重新下载正确的模型文件。

重要提示

  • 确保网络连接稳定,避免下载过程中断。
  • 如果反复出现此错误,可能是网络问题导致下载不完整。您可以尝试:

    • 使用代理工具改善网络连接。
    • 手动下载模型:从 Hugging Face 等镜像站下载 large-v3.pt 文件,并放置到上述 .cache\whisper 目录中。

如果问题依旧,请提供 D:/BaiduNetdiskDownload/win-videotrans-v3.84/win-videotrans-v3.84/logs/ 目录下的最新日志文件。

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.

Donate: https://ko-fi.com/jianchang512

Similar issues already exist

Trending Questions