#5410 语音识别阶段出错[faster-whisper(本地内置)] 下载模型失败,你可以打开以下网址,将所有文件下载到 D:/Tool/win-pyvideotrans-v4.03-0622/models/models--mobiuslabsgm

64.118* Posted at: 14 hours ago

语音识别阶段出错[faster-whisper(本地内置)] 下载模型失败,你可以打开以下网址,将所有文件下载到
D:/Tool/win-pyvideotrans-v4.03-0622/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo 文件夹内

[https://huggingface.co/mobiuslabsgmbh/faster-whisper-large-v3-turbo/tree/main]
('Connection broken: IncompleteRead(393453206 bytes read, 1224431723 more expected)', IncompleteRead(393453206 bytes read, 1224431723 more expected))
Traceback (most recent call last):

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

File "huggingface_hub\utils\_validators.py", line 114, in _inner_fn

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

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 133, in check_and_down_hf

File "huggingface_hub\utils\_validators.py", line 114, in _inner_fn

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

File "tqdm\contrib\concurrent.py", line 69, in thread_map

File "tqdm\contrib\concurrent.py", line 51, in _executor_map

File "tqdm\std.py", line 1169, in iter

File "concurrent\futures\_base.py", line 621, in result_iterator

File "concurrent\futures\_base.py", line 319, in _result_or_cancel

File "concurrent\futures\_base.py", line 458, in result

File "concurrent\futures\_base.py", line 403, in __get_result

File "concurrent\futures\thread.py", line 58, in run

File "huggingface_hub\_snapshot_download.py", line 306, in _inner_hf_hub_download

File "huggingface_hub\utils\_validators.py", line 114, in _inner_fn

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

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

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

File "videotrans\util\help_down.py", line 105, in _patched_http_get

File "huggingface_hub\file_download.py", line 496, in http_get

File "requests\models.py", line 822, in generate

requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(393453206 bytes read, 1224431723 more expected)', IncompleteRead(393453206 bytes read, 1224431723 more expected))

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 100, in process_task

File "videotrans\task\trans_create.py", line 319, in recogn

File "videotrans\recognition\__init__.py", line 191, in run

File "videotrans\recognition\_base.py", line 86, in run

File "videotrans\recognition\_whisper.py", line 47, in _download

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

videotrans.configure.excepts.DownloadModelsError: 下载模型失败,你可以打开以下网址,将所有文件下载到
D:/Tool/win-pyvideotrans-v4.03-0622/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo 文件夹内

[https://huggingface.co/mobiuslabsgmbh/faster-whisper-large-v3-turbo/tree/main]
('Connection broken: IncompleteRead(393453206 bytes read, 1224431723 more expected)', IncompleteRead(393453206 bytes read, 1224431723 more expected))
cfg=[TaskCfgVTT]当前工作模式: 转录并翻译字幕
原始输入文件名: G:/新建文件夹/zz/@gbg60_5578_asuna_love.24.04.15(1).mp4,
输出结果保存到文件夹: G:/新建文件夹/zz/_video_out/@gbg60_5578_asuna_love.24.04.15(1)-mp4,
临时文件夹: D:/Tool/win-pyvideotrans-v4.03-0622/tmp/3868/0fa2e39f52
已选 清理已存在
已选 启用CUDA加速
未选 降噪
语音识别:faster-whisper(本地内置), model_name: large-v3-turbo, 发音语言: 英语, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
已选 将生成的字幕复制到视频目录下
输出字幕格式: 单字幕
代理地址:


=
system:Windows-10-10.0.26200-SP0
version:v4.03
frozen:True
language:zh
root_dir:D:/Tool/win-pyvideotrans-v4.03-0622

3 Replies

语音识别模型 large-v3-turbo 下载时因网络连接不稳定(Connection broken: IncompleteRead)导致自动下载失败,这是访问 HuggingFace 服务器时常见的断线问题。

手动下载模型文件解决:

  1. 访问官方模型地址:https://huggingface.co/mobiuslabsgmbh/faster-whisper-large-v3-turbo/tree/main
  2. 将该页面下所有 .bin.json.txt 文件下载到软件目录下的
    models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo/ 文件夹。
  3. 如果无法直接访问 HuggingFace,可使用国内镜像站:
    https://modelscope.cn/models/himyworld/fasterwhisper/files
    在页面内找到 large-v3-turbo 相关文件后下载,并放入上述目录。
  4. 下载完成后重新启动软件,模型即可被识别,无需再次在线下载。

参考文档

l

您的问题似乎没有发送完整。请描述您遇到的具体问题、错误信息,或提供 logs/ 目录下最新的日志内容,以便我为您分析。

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: ko-fi.com/jianchang512

Related resource