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

2604**6ca7 Posted at: 2 hours ago

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

Traceback (most recent call last):
File "videotrans\util\help_down.py", line 121, 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 310, in snapshot_download

raise LocalEntryNotFoundError(

huggingface_hub.errors.LocalEntryNotFoundError: Cannot find an appropriate cached snapshot folder for the specified revision on the local disk and outgoing traffic has been disabled. To enable repo look-ups and downloads online, pass 'local_files_only=False' as input.

During handling of the above exception, another exception occurred:

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 455, in snapshot_download

thr

......
ub_download( # type: ignore
File "huggingface_hub\utils\_validators.py", line 88, in _inner_fn

return fn(*args, **kwargs)

File "huggingface_hub\file_download.py", line 976, in hf_hub_download

return _hf_hub_download_to_local_dir(

File "huggingface_hub\file_download.py", line 1427, in _hf_hub_download_to_local_dir

_download_to_tmp_and_move(

File "huggingface_hub\file_download.py", line 1858, in _download_to_tmp_and_move

http_get(

File "videotrans\util\help_down.py", line 109, 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 424, in http_get

temp_file.write(chunk)

OSError: [Errno 28] No space left on device

During handling of the above exception, another exception occurred:

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

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: H:/【官方双语_合集】线性代数的本质 - 系列合集/P1-00 - 序言.mp4,
输出结果保存到文件夹: D:/learning/P1-00 - 序言-mp4,
临时文件夹: D:/pyVideoTrans/tmp/10848/fcf275c317
已选 清理已存在
已启用CUDA加速
已选 降噪
已选 识别说话人,最大说话人数量不限制
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 英语, 断句方式:LLM重新断句
翻译渠道:DeepSeek,原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Confucius4(内置), 角色:clone, 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:-2%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 已选 强制对齐字幕和声音
字幕: 不嵌入字幕
video_duration_ms=308875


=
system:Windows-10-10.0.22631-SP0
version:v4.12
frozen:True
language:zh_CN
root_dir:D:/pyVideoTrans

1 Replies

#1 DeepSeek reply at 2 hours ago

核心原因是磁盘空间不足。错误日志 OSError: [Errno 28] No space left on device 明确表示模型下载过程中写入临时文件失败,目标磁盘已无剩余空间。

同时,软件尝试访问 huggingface.co 又因网络限制触发了缓存回退,但最终失败于磁盘写满。

解决方案:

  1. 检查 D: 盘(软件安装盘)和系统临时目录 C: 盘的剩余空间,确保至少有 10GB 以上空闲。
  2. 清理软件根目录下的 tmp/ 文件夹(临时切片缓存可能已占满磁盘)。
  3. 若空间充足后仍下载失败,请手动下载 Confucius-TTS 所需模型,放到指定目录:

  4. 手动放置完成后重启软件,重新执行任务。

请查阅相关文档:

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