#6436 自动下载模型失败,你可以点击 【查看帮助教程】 了解如何手动下载[https://pyvideotrans.com/aboutmodels]Traceback (most recent call last): File "httpx\_t

203.10.**8 Posted at: 1 hour ago

自动下载模型失败,你可以点击 【查看帮助教程】 了解如何手动下载
[https://pyvideotrans.com/aboutmodels]
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 "huggingface_hub\_snapshot_download.py", line 244, in snapshot_download

repo_info = api.repo_info(repo_i

......
ception 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(*args, **kwargs)

File "huggingface_hub\_snapshot_download.py", line 328, in snapshot_download

raise LocalEntryNotFoundError(

huggingface_hub.errors.LocalEntryNotFoundError: Got: ConnectError: EOF occurred in violation of protocol (_ssl.c:1017)
An error happened while trying to locate the files on the Hub and we cannot find the appropriate snapshot folder for the specified revision on the local disk. Please check your internet connection and try again.

During handling of the above exception, another exception occurred:

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

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: C:/Users/86181/Desktop/音频/0805/0805_no_sub.mp4,
输出结果保存到文件夹: F:/Jiani_tools/win-pyvideotrans-v4.08/0805_no_sub-mp4,
临时文件夹: F:/Jiani_tools/win-pyvideotrans-v4.08/tmp/12324/19c312de8a
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:Qwen-ASR(内置), model_name: 1.7B, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:OpenAI ChatGPT,原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
配音渠道:Index-TTS(本地API), 角色:yutai_en_ref_01_正常.wav, 配音语言:英语, 已选 二次语音识别

[已选中 二次语音识别,但不会生效,因已选择 嵌入双字幕,需保证原始和目标字幕时间轴一致,而二次语音识别会重新生成时间轴不同的目标字幕]

音量:+0%, 语速:+15%, 已选 音频加速, 已选 视频慢速
字幕: 嵌入软字幕(双) 目标语言在上双字幕
已选 分离人声与背景声, 已选 重新嵌入背景声, 背景音量0.8, 背景声音时长 短于 视频时长时: 拉长(降速播放),存在分离后的纯净人声文件,存在分离后的背景声音文件
代理地址:

1 Replies

这是网络无法稳定连接 HuggingFace 下载服务器导致的 SSL 连接失败(EOF),常见于国内网络未科学上网、代理配置无效或不稳定。

解决方案

  1. 手动下载模型(最可靠)

  2. 检查代理设置

    • 主界面“网络代理”文本框需清空或填写有效格式,如 http://127.0.0.1:端口号socks5://127.0.0.1:端口号
    • 无效或已失效的代理地址会导致所有连接中断,若不需要代理请务必清空
  3. 使用国内镜像下载

    • 在系统环境变量中新增 HF_ENDPOINT=https://hf-mirror.com,然后重新启动软件再试
    • 或直接访问 https://hf-mirror.com/Qwen/Qwen3-ASR-1.7B 手动下载

请查阅相关文档:

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

Dondate via PayPal

Related resource