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

120.244* Posted at: 2 hours 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 187026321 bytes, expected 1348435761)

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

Traceback (most recent call last):
File "videotrans\util\help_down.py", line
......
py", line 1858, in _download_to_tmp_and_move

http_get(

File "videotrans\util\help_down.py", line 105, in _patched_http_get
File "huggingface_hub\utils\_validators.py", line 88, in _inner_fn

return fn(*args, **kwargs)

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 187026321 bytes, expected 1348435761)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 92, in run
File "videotrans\task\_stage_dubbing.py", line 23, in dubbing
File "videotrans\task\_stage_dubbing.py", line 102, in _tts
File "videotrans\tts\__init__.py", line 207, in run
File "videotrans\tts\_base.py", line 81, in run
File "videotrans\tts\_f5tts.py", line 26, in _download
File "videotrans\util\help_down.py", line 166, in check_and_down_hf
videotrans.configure.excepts.DownloadModelsError: 自动下载模型失败,你可以点击 【查看帮助教程】 了解如何手动下载

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: E:/videoplayback.m4a,
输出结果保存到文件夹: E:/_video_out/videoplayback-m4a,
临时文件夹: E:/A4.7/tmp/82744/ef72c28102
未选 清理已存在
已选 启用CUDA加速
未选 降噪
语音识别:Qwen-ASR(本地内置), model_name: 1.7B, 发音语言: 英语, 断句方式:默认断句
翻译渠道:Hy-MT2-1.8B(本地内置),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:F5-TTS(本地内置), 角色:clone, 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 已选 强制对齐字幕和声音
字幕: 嵌入软字幕
代理地址:


=
system:Windows-10-10.0.26200-SP0
version:v4.07
frozen:True
language:zh
root_dir:E:/A4.7

1 Replies

模型下载因网络中断失败(已下载187MB,但完整包约1.3GB),这是典型的不稳定网络导致传输中断。


解决方案

  1. 手动下载 F5-TTS 模型文件

    • 前往官方模型地址:https://huggingface.co/SWivid/F5-TTS/tree/main/F5TTS_v1_Base
    • 下载该目录下 所有文件(注意不要遗漏)
    • 将下载的所有文件放入以下文件夹(如无则创建):

      软件安装目录/models/models--SWivid--F5-TTS/F5TTS_v1_Base/

      例如你的软件在 E:/A4.7,则放至 E:/A4.7/models/models--SWivid--F5-TTS/F5TTS_v1_Base/

  2. 如果你使用国内网络下载困难

    • 尝试使用国内镜像 hf-mirror.com 替代 huggingface.co(将下载链接中的 huggingface.co 替换为 hf-mirror.com
    • 或使用工具(如 aria2c)继续断点续传
  3. 下载完成后重启软件,再次执行任务即可自动跳过下载。

请查阅相关文档

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