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

116.149.**1 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 289, in handle_request
File "httpcore\_sync\connection.py", line 99, in handle_request
File "httpcore\_sync\connection.py", line 76, in handle_request
File "httpcore\_sync\connection.py", line 122, in _connect
File "httpcore\_backends\sync.py", line 205, in connect_tcp
File "contextlib.py", line 153, in exit
File "httpcore\_exceptions.py", line 14, in map_exceptions
httpcore.ConnectError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。

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

Traceback (most recent call last):
File "videotrans\util\help_dow
......
koff_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: [WinError 10061] 由于目标计算机积极拒绝,无法连接。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 106, in run
File "videotrans\task\_stage_dubbing.py", line 24, in dubbing
File "videotrans\task\_stage_dubbing.py", line 100, in _tts
File "videotrans\tts\__init__.py", line 228, in run
File "videotrans\tts\_base.py", line 85, in run
File "videotrans\tts\_omnivoice.py", line 19, in _download
File "videotrans\util\help_down.py", line 168, in check_and_down_hf
videotrans.configure.excepts.DownloadModelsError: 自动下载模型失败,你可以点击 【查看帮助教程】 了解如何手动下载

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: E:/asmr/RJ01575506/絕對夢精催眠_本體/音聲數據/含低周波/mp3/【1】大家一起來了解!夢精的原理.mp3,
输出结果保存到文件夹: E:/asmr/RJ01575506/絕對夢精催眠_本體/音聲數據/含低周波/mp3/_video_out/【1】大家一起來了解!夢精的原理-mp3,
临时文件夹: E:/pyvideotransv/tmp/5936/e03c59add2
已选 清理已存在
已启用CUDA加速
未选 降噪
已选 识别说话人,最大说话人数量2
语音识别:faster-whisper(内置), large-v3, 发音语言: 日语, 断句方式:默认断句
翻译渠道:DeepSeek,原始语言:日语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:OmniVoice(内置), 角色:clone, 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 已选 视频慢速
字幕: 嵌入硬字幕
已选 分离人声与背景声, 已选 重新嵌入背景声, 背景音量0.8, 背景声音时长 短于 视频时长时: 拉长(降速播放),存在分离后的纯净人声文件,存在分离后的背景声音文件
代理地址:http://127.0.0.1:7897


=
system:Windows-10-10.0.26200-SP0
version:v4.09
frozen:True
language:zh
root_dir:E:/pyvideotransv

1 Replies

#1 DeepSeek reply at 1 hour ago

这是由于代理配置错误导致模型下载连接失败。日志显示代理地址为 http://127.0.0.1:7897,但该地址无法连接(目标计算机积极拒绝),从而无法从 Huggingface 下载 OmniVoice 模型。

解决方案:

  1. 检查代理设置:确认代理服务器是否正在运行且端口正确。如果不需要代理,请在 菜单 → 设置 → 网络代理 中清空代理地址并保存。
  2. 测试代理连通性:如需使用代理,请确保代理程序已启动,且端口与配置一致(例如 7897),并测试能否正常访问 huggingface.co
  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