#8174 Unable to open file 'model.bin' in model 'D:/视频英文翻译工具/新/4.16/models/models--Systran--faster-whisper-tiny',Traceback (mos

123.138**4 Posted at: 1 hour ago

Unable to open file 'model.bin' in model 'D:/视频英文翻译工具/新/4.16/models/models--Systran--faster-whisper-tiny',Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 84, in faster_whisper
File "videotrans\process\stt_faster.py", line 54, in _create_model
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: Unable to open file 'model.bin' in model 'D:/视频英文翻译工具/新/4.16/models/models--Systran--faster-whisper-tiny'

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 71, in run
File "videotrans\task\_stage_recogn.py", line 63, in recogn
File "videotrans\recognition\__init__.py", line 141, in run
File "videotrans\recognition\_base.py", line 101, in run
File "videotrans\recognition\_whisper.py", line 39, in _exec
File "videotrans\recognition\_whisper.py", line 137, in _faster
File "videotrans\configure\base.py", line 277, in _new_process
videotrans.configure.excepts.VideoTransError: Unable to open file 'model.bin' in model 'D:/视频英文翻译工具/新/4.16/models/models--Systran--faster-whisper-tiny',Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 84, in faster_whisper
File "videotrans\process\stt_faster.py", line 54, in _create_model
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: Unable to open file 'model.bin' in model 'D:/视频英文翻译工具/新/4.16/models/models--Systran--faster-whisper-tiny'

trk=[TransCreate]: uuid='bb4876b8ba', proxy_str=None, cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/84988/Desktop/20240325_bd56fb1b2cfcfe07_454719873369_102459828441650_published_mp4_264_ld_taobao.mp4,
输出结果保存到文件夹: C:/Users/84988/Desktop/视频翻译工具视频/edgetts-noproxy.txt/20240325_bd56fb1b2cfcfe07_454719873369_102459828441650_published_mp4_264_ld_taobao-mp4,
临时文件夹: D:/视频英文翻译工具/新/4.16/tmp/39620/bb4876b8ba
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), tiny, 发音语言: 简体中文,
翻译渠道:DeepSeek,原始语言:简体中文,目标语言:俄语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Svetlana(Female/RU), 配音语言:俄语, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: 嵌入硬字幕 , precent=4, hasend=False, should_recogn=True, should_trans=True, should_dubbing=True, should_hebing=True, is_copy_video=True, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=True
video_duration_ms=54208


=
system:Windows-10-10.0.26300-SP0
version:v4.16
frozen:True
language:zh_CN
root_dir:D:/视频英文翻译工具/新/4.16

1 Replies

#1 DeepSeek reply at 1 hour ago

这是 faster-whisper 的 tiny 模型文件缺失或损坏导致的。model.bin 未能在模型目录中正常加载,常见原因是模型自动下载中断、不完整或被安全软件清理。

解决步骤

  1. 关闭软件,进入 D:/视频英文翻译工具/新/4.16/models/ 目录。
  2. 删除整个 models--Systran--faster-whisper-tiny 文件夹。
  3. 重新打开软件并再次执行任务,让软件自动重新下载该模型。
  4. 如果自动下载仍失败,请手动下载模型文件:

  5. 另外,你的软件路径包含中文(D:/视频英文翻译工具/新/4.16),建议将软件移动到纯英文路径(如 D:/pyVideoTrans)后重新尝试,可避免中文路径导致的下载或加载异常。

如果删除后重新下载仍然报错,请把 logs/ 目录下最新日志底部约30行内容发来进一步分析。

请查阅相关文档:

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