#5527 TaskCfgSTT(uuid='ddd61ad15e', name='C:/Users/on4my/Downloads/Telegram Desktop/ឈីងចាំង 8.1.mp4', dirname='C:/Users/on4my/

175.100* Posted at: 2 hours ago

语音识别阶段出错[faster-whisper(本地)] File model.bin is incomplete: failed to read a buffer of size 13107200 at position 879409762,Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 208, in faster_whisper
File "videotrans\process\stt_fun.py", line 173, in _create_model
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: File model.bin is incomplete: failed to read a buffer of size 13107200 at position 879409762

Traceback (most recent call last):

File "videotrans\task\job.py", line 54, in run

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

File "videotrans\task\speech2text.py", line 125, in recogn

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

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

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

File "videotrans\recognition\_whisper.py", line 108, in _faster

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

videotrans.configure.excepts.VideoTransError: File model.bin is incomplete: failed to read a buffer of size 13107200 at position 879409762,Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 208, in faster_whisper
File "videotrans\process\stt_fun.py", line 173, in _create_model
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: File model.bin is incomplete: failed to read a buffer of size 13107200 at position 879409762
TaskCfgSTT(uuid='ddd61ad15e', name='C:/Users/on4my/Downloads/Telegram Desktop/ឈីងចាំង 8.1.mp4', dirname='C:/Users/on4my/Downloads/Telegram Desktop', noextname='ឈីងចាំង 8.1', basename='ឈីងចាំង 8.1.mp4', ext='mp4', target_dir='E:/share/TEDDYCAT/win-pyvideotrans-v4.00-525/output/recogn', cache_folder='E:/share/TEDDYCAT/win-pyvideotrans-v4.00-525/tmp/19620/ddd61ad15e', is_cuda=True, source_language=None, source_language_code=None, source_sub=None, source_wav=None, source_wav_output=None, target_language=None, target_language_code=None, target_sub='E:/share/TEDDYCAT/win-pyvideotrans-v4.00-525/output/recogn/ឈីងចាំង 8.1.srt', target_wav=None, target_wav_output=None, detect_language='ja', recogn_type=0, model_name='large-v3-turbo', shibie_audio='E:/share/TEDDYCAT/win-pyvideotrans-v4.00-525/tmp/19620/ddd61ad15e/ឈីងចាំង 8.1-1782663724.1823013.wav', remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False)


=
system:Windows-10-10.0.26200-SP0
version:v4.00
frozen:True
language:zh
root_dir:E:/share/TEDDYCAT/win-pyvideotrans-v4.00-525

1 Replies

模型文件 model.bin 下载不完整导致加载失败。请按以下步骤修复:

  1. 关闭软件,进入软件安装目录下的 models/ 文件夹。
  2. 根据错误信息,您在使用 large-v3-turbo 模型,找到并删除对应的模型文件夹:models--mobiuslabsgmbh--faster-whisper-large-v3-turbo(或直接搜索 model.bin 所在目录并删除该文件)。
  3. 重新启动软件,再次执行任务,软件会自动重新下载完整的模型文件。

若网络不稳定反复下载失败,可手动下载模型:访问 https://huggingface.co/mobiuslabsgmbh/faster-whisper-large-v3-turbo/tree/main ,下载所有 .bin.json.txt 文件,放入上述文件夹中。

另外,您的软件版本较旧(v4.00),建议更新到最新版 v4.03-0626 以获得更好的稳定性与兼容性。

请查阅相关文档:

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: ko-fi.com/jianchang512

Related resource