#6618 配音阶段出错 [Qwen3-TTS(内置)] 自动下载模型失败,你可以点击 【查看帮助教程】 了解如何手动下载

120.229.**5 Posted at: 11 hours ago

配音阶段出错 [Qwen3-TTS(内置)] 自动下载模型失败,你可以点击 【查看帮助教程】 了解如何手动下载

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 737027254 bytes, expected 1811626576)

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

Traceback (most recent call las
......
tes(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 737027254 bytes, expected 1811626576)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "videotrans\task\job.py", line 35, in run

File "videotrans\task\job.py", line 155, in process_task

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\_qwenttslocal.py", line 40, in _download

File "videotrans\util\help_down.py", line 168, in check_and_down_hf

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

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 批量翻译模式
原始输入文件名: D:/视频制作/长续航无人机/Creating the World's Most Efficient Drone - V1-(1080p25).mp4,
输出结果保存到文件夹: D:/视频制作/_video_out/长续航无人机/Creating the World's Most Efficient Drone - V1-(1080p25)-mp4,
临时文件夹: D:/Ruanjian-m/win-pyvideotrans-v4.08/tmp/33428/e547ca7177
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3, 发音语言: 日语, 断句方式:默认断句
翻译渠道:DeepSeek,原始语言:日语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Qwen3-TTS(内置), 角色:clone, 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 嵌入硬字幕
已选 分离人声与背景声, 已选 重新嵌入背景声, 背景音量0.8, 背景声音时长 短于 视频时长时: 拉长(降速播放),存在分离后的纯净人声文件,存在分离后的背景声音文件
代理地址:http://127.0.0.1:10808


=
system:Windows-10-10.0.26200-SP0
version:v4.09
frozen:True
language:zh
root_dir:D:/Ruanjian-m/win-pyvideotrans-v4.08

1 Replies

#1 DeepSeek reply at 11 hours ago

这是 Qwen3-TTS 模型自动下载过程中网络连接中断,导致模型文件不完整(只下载了约 737MB,预期约 1.8GB),从而无法加载模型。

请按以下步骤处理:

  1. 删除已下载的不完整模型目录:

    • 软件目录/models/models--Qwen--Qwen3-TTS-12Hz-0.6B-Base
    • 软件目录/models/models--Qwen--Qwen3-TTS-12Hz-0.6B-CustomVoice
      如果不删除残留文件,后续重新下载可能仍会使用损坏缓存。
  2. 手动下载完整模型文件并放到指定位置:

    建议使用支持断点续传的下载工具,或使用镜像站 hf-mirror.com 下载;如果使用代理(当前日志中的代理地址 http://127.0.0.1:10808 可能不稳定),建议更换更稳定的代理或尝试关闭代理后使用国内镜像自动下载。

  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