#6605 自动下载模型失败,你可以点击 【查看帮助教程】 了解如何手动下载

52.193.**6 Posted at: 1 day ago

自动下载模型失败,你可以点击 【查看帮助教程】 了解如何手动下载

Traceback (most recent call last):
File "httpx\_transports\default.py", line 101, in map_httpcore_exceptions
File "httpx\_transports\default.py", line 127, in iter
File "httpcore\_sync\connection_pool.py", line 367, in iter
File "httpcore\_sync\connection_pool.py", line 363, in iter
File "httpcore\_sync\http11.py", line 349, in iter
File "httpcore\_sync\http11.py", line 341, in iter
File "httpcore\_sync\http11.py", line 210, in _receive_response_body
File "httpcore\_sync\http11.py", line 220, in _receive_event
File "contextlib.py", line 153, in exit
File "httpcore\_exceptions.py", line 14, in map_exceptions
httpcore.RemoteProtocolError: peer closed connection without sending complete message body (received 131131863 bytes, expected 1617884929)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "videotrans\util\help_down.py", line
......
File "huggingface_hub\file_download.py", line 421, in http_get

for chunk in response.iter_bytes(chunk_size=constants.DOWNLOAD_CHUNK_SIZE):

File "httpx\_models.py", line 897, in iter_bytes
File "httpx\_models.py", line 951, in iter_raw
File "httpx\_client.py", line 153, in iter
File "httpx\_transports\default.py", line 126, in iter
File "contextlib.py", line 153, in exit
File "httpx\_transports\default.py", line 118, in map_httpcore_exceptions
httpx.RemoteProtocolError: peer closed connection without sending complete message body (received 131131863 bytes, expected 1617884929)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 66, in run
File "videotrans\task\_stage_recogn.py", line 62, in recogn
File "videotrans\recognition\__init__.py", line 211, in run
File "videotrans\recognition\_base.py", line 90, in run
File "videotrans\recognition\_whisper.py", line 50, in _download
File "videotrans\util\help_down.py", line 168, in check_and_down_hf
videotrans.configure.excepts.DownloadModelsError: 自动下载模型失败,你可以点击 【查看帮助教程】 了解如何手动下载

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: C:/Users/Administrator/Videos/4K Video Downloader+/Unreal Engine 5.8 Beginner Tutorial - UE5 Starter Course 2026#unrealengine5 #megascans #cgi.mkv,
输出结果保存到文件夹: C:/Users/Administrator/Videos/4K Video Downloader+/_video_out/Unreal Engine 5.8 Beginner Tutorial - UE5 Starter Course 2026#unrealengine5 #megascans #cgi-mkv,
临时文件夹: E:/AI/pyvideotrans/tmp/13592/cc70ed6bf4
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 英语, 断句方式:默认断句
翻译渠道:M2M100(内置),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Yunyang(Male/CN), 配音语言:简体中文, 未选 二次语音识别
音量:+20%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 不嵌入字幕
代理地址:http://127.0.0.1:7890


=
system:Windows-10-10.0.19045-SP0
version:v4.09
frozen:True
language:zh
root_dir:E:/AI/pyvideotrans

1 Replies

#1 DeepSeek reply at 1 day ago

这是模型下载时网络连接中断导致的。您正在下载的 faster-whisper large-v3-turbo 模型约 1.6GB,实际只接收到约 131MB 后连接被对端关闭,属于典型的网络中断/代理不稳/镜像限流问题。

处理步骤:

  1. 删除残缺下载文件:打开 E:/AI/pyvideotrans/models/,删除其中 models--mobiuslabsgmbh--faster-whisper-large-v3-turbo 文件夹(或清空其内所有文件)。
  2. 检查代理稳定性:您当前使用代理 http://127.0.0.1:7890,请确认节点稳定、流量充足。若代理不稳,请更换节点后重新点击「开始」重试自动下载;也可暂时关闭代理,让软件自动切换国内镜像站(注意镜像站有下载频率限制)。
  3. 若多次自动下载仍失败,请按报错界面中的【查看帮助教程】手动下载:

请查阅相关文档:

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