#4832 TaskCfgVTT(uuid='c8edb30c00', name='C:/Users/choyt/Desktop/如何利用“成交量和K线图”预测全垒打交易.mp4', dirname='C:/Users/choyt/Desktop',

149.88* Posted at: 2 hours ago

File model.bin is incomplete: failed to read a buffer of size 132776960 at position 233,Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 207, in faster_whisper
File "videotrans\process\stt_fun.py", line 172, 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 132776960 at position 233

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 47, in run
File "videotrans\task\trans_create.py", line 320, in recogn
File "videotrans\recognition\__init__.py", line 190, 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 252, in _new_process
videotrans.configure.excepts.VideoTransError: File model.bin is incomplete: failed to read a buffer of size 132776960 at position 233,Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 207, in faster_whisper
File "videotrans\process\stt_fun.py", line 172, 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 132776960 at position 233
TaskCfgVTT(uuid='c8edb30c00', name='C:/Users/choyt/Desktop/如何利用“成交量和K线图”预测全垒打交易.mp4', dirname='C:/Users/choyt/Desktop', noextname='如何利用“成交量和K线图”预测全垒打交易', basename='如何利用“成交量和K线图”预测全垒打交易.mp4', ext='mp4', target_dir='C:/Users/choyt/Desktop/_video_out/如何利用“成交量和K线图”预测全垒打交易-mp4', cache_folder='E:/win-pyvideotrans-v4.00-528/tmp/18672/c8edb30c00', is_cuda=True, source_language='英语', source_language_code='en', source_sub='C:/Users/choyt/Desktop/_video_out/如何利用“成交量和K线图”预测全垒打交易-mp4/en.srt', source_wav='E:/win-pyvideotrans-v4.00-528/tmp/18672/c8edb30c00/en.wav', source_wav_output='C:/Users/choyt/Desktop/_video_out/如何利用“成交量和K线图”预测全垒打交易-mp4/en.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='C:/Users/choyt/Desktop/_video_out/如何利用“成交量和K线图”预测全垒打交易-mp4/zh-cn.srt', target_wav='E:/win-pyvideotrans-v4.00-528/tmp/18672/c8edb30c00/target.wav', target_wav_output='C:/Users/choyt/Desktop/_video_out/如何利用“成交量和K线图”预测全垒打交易-mp4/zh-cn.m4a', translate_type=0, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Yunyang(Male/CN)', voice_autorate=True, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='en', recogn_type=0, model_name='large-v3-turbo', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='C:/Users/choyt/Desktop/_video_out/如何利用“成交量和K线图”预测全垒打交易-mp4/如何利用“成交量和K线图”预测全垒打交易.mp4', novoice_mp4='E:/win-pyvideotrans-v4.00-528/tmp/18672/c8edb30c00/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal='E:/win-pyvideotrans-v4.00-528/tmp/18672/c8edb30c00/vocal.wav', clear_cache=True, background_music='', subtitle_type=1, only_out_mp4=False, recogn2pass=True, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8)


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

1 Replies

该错误是由于语音识别模型文件 model.bin 下载不完整(损坏)导致的。请按以下步骤修复:

  1. 删除损坏的模型文件
    进入软件根目录下的 models 文件夹,找到 models--Systran--faster-whisper-large-v3-turbo 文件夹(或对应 large-v3-turbo 的模型文件夹),将其整个删除。
  2. 重新启动软件
    再次双击 sp.exe,软件会自动重新下载该模型。下载过程需要网络连接,请确保网络通畅。若国内下载慢,可配置代理(主界面 网络代理 栏填写 http://127.0.0.1:7890 等格式)。
  3. 手动下载(可选)
    若自动下载仍失败,可手动从镜像站下载 large-v3-turbo 模型,解压后放入 models/ 目录,文件夹命名必须为 models--Systran--faster-whisper-large-v3-turbo
    推荐镜像地址:hf-mirror.commodelscope.cn

另外提醒:你的视频文件名包含中文和特殊符号(如 ),这类路径在 Windows 命令行中容易触发意外错误,建议将视频重命名为纯英文+数字的简短名称(如 trade.mp4)后再处理。

请查阅相关文档:

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.

Related resource