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

185.244.**6 Posted at: 1 hour ago

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

Traceback (most recent call last):
File "httpx\_transports\default.py", line 101, in map_httpcore_exceptions
File "httpx\_transports\default.py", line 250, in handle_request
File "httpcore\_sync\connection_pool.py", line 216, in handle_request
File "httpcore\_sync\connection_pool.py", line 196, in handle_request
File "httpcore\_sync\http_proxy.py", line 317, in handle_request
File "httpcore\_sync\http11.py", line 383, in start_tls
File "httpcore\_backends\sync.py", line 152, in start_tls
File "contextlib.py", line 153, in exit
File "httpcore\_exceptions.py", line 14, in map_exceptions
httpcore.ConnectError: EOF occurred in violation of protocol (_ssl.c:1017)

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

Traceback (most recent call last):
File "videotrans\util\help_down.py", line 135, in check_and_down_hf
File "huggingface_hub\utils\_validators.py", line 88, in _inner_fn

return fn

......
backoff

yield from _http_backoff_base(

File "huggingface_hub\utils\_http.py", line 462, in _http_backoff_base

with client.stream(method=method, url=url, **kwargs) as response:

File "contextlib.py", line 135, in enter
File "httpx\_client.py", line 868, in stream
File "httpx\_client.py", line 914, in send
File "httpx\_client.py", line 942, in _send_handling_auth
File "httpx\_client.py", line 979, in _send_handling_redirects
File "httpx\_client.py", line 1014, in _send_single_request
File "httpx\_transports\default.py", line 249, in handle_request
File "contextlib.py", line 153, in exit
File "httpx\_transports\default.py", line 118, in map_httpcore_exceptions
httpx.ConnectError: EOF occurred in violation of protocol (_ssl.c:1017)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 70, in run
File "videotrans\task\_stage_recogn.py", line 63, in recogn
File "videotrans\recognition\__init__.py", line 211, in run
File "videotrans\recognition\_base.py", line 96, 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]当前工作模式: 翻译视频 单视频模式
原始输入文件名: F:/龙魂商店课程素材/试验/微信视频2026-08-28_011828_446.mp4,
输出结果保存到文件夹: F:/龙魂商店课程素材/微信视频2026-08-28_011828_446-mp4,
临时文件夹: F:/BaiduNetdiskDownload/win-pyvideotrans-v4.11/tmp/15124/bed4aa0b20
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Steffan(Male/US), 配音语言:英语, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 嵌入软字幕
代理地址:http://127.0.0.1:7890


=
system:Windows-10-10.0.19041-SP0
version:v4.11
frozen:True
language:zh
root_dir:F:/BaiduNetdiskDownload/win-pyvideotrans-v4.11

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因:通过你配置的代理 http://127.0.0.1:7890 连接 HuggingFace 时,SSL 握手被异常中断(EOF occurred in violation of protocol),说明代理服务未正常运行、端口不对,或代理网络本身不稳定/无法正常连接 huggingface.co。

解决方案(按顺序尝试):

1. 检查/修复代理

  • 确认代理软件(如 Clash/V2Ray)正在运行,且本地监听端口确实是 7890
  • 如果代理正常但在浏览器中能访问 https://huggingface.co,说明代理可用;若代理访问 HF 也不稳,建议关闭代理后重试(软件会自动切换国内镜像 hf-mirror.commodelscope.cn)。
  • 如果不需要代理,请将主界面网络代理文本框清空并保存,再重新执行。

2. 清除可能损坏的残留模型

  • 进入软件目录 F:/BaiduNetdiskDownload/win-pyvideotrans-v4.11/models/
  • 删除 models--mobiuslabsgmbh--faster-whisper-large-v3-turbo 文件夹(如果有),确保模型文件完整。

3. 手动下载模型(最稳妥)

请查阅相关文档:

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