#4572 ('Connection broken: IncompleteRead(32946974 bytes read, 3054337263 more expected)', IncompleteRead(32946974 bytes read,

2409:8a6c* Posted at: 3 hours ago 👁8

下载模型失败,你可以打开以下网址,将所有文件下载到
D:/translate/models/models--Systran--faster-whisper-large-v3 文件夹内

[https://huggingface.co/Systran/faster-whisper-large-v3/tree/main]
('Connection broken: IncompleteRead(32946974 bytes read, 3054337263 more expected)', IncompleteRead(32946974 bytes read, 3054337263 more expected))
Traceback (most recent call last):
File "urllib3\response.py", line 779, in _error_catcher
File "urllib3\response.py", line 925, in _raw_read
urllib3.exceptions.IncompleteRead: IncompleteRead(32946974 bytes read, 3054337263 more expected)

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

Traceback (most recent call last):
File "requests\models.py", line 820, in generate
File "urllib3\response.py", line 1091, in stream
File "urllib3\response.py", line 1008, in read
File "urllib3\response.py", line 903, in _raw_read
File "contextlib.py", line 153, in exit
File "urllib3\response.py", line 803, in _error_catcher
urllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(32946974 bytes read, 3054337263 more expected)', IncompleteRead(32946974 bytes read, 3054337263 more expected))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\util\help_down.py", line 59, in check_and_down_hf
File "videotrans\util\help_down.py", line 184, in down_file_from_ms
File "requests\models.py", line 822, in generate
requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(32946974 bytes read, 3054337263 more expected)', IncompleteRead(32946974 bytes read, 3054337263 more expected))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\_only_one.py", line 44, in run
File "videotrans\task\trans_create.py", line 380, in recogn
File "videotrans\recognition\__init__.py", line 293, in run
File "videotrans\recognition\_base.py", line 138, in run
File "videotrans\recognition\_overall.py", line 42, in _download
File "videotrans\util\help_down.py", line 97, in check_and_down_hf
RuntimeError: 下载模型失败,你可以打开以下网址,将所有文件下载到
D:/translate/models/models--Systran--faster-whisper-large-v3 文件夹内

[https://huggingface.co/Systran/faster-whisper-large-v3/tree/main]
('Connection broken: IncompleteRead(32946974 bytes read, 3054337263 more expected)', IncompleteRead(32946974 bytes read, 3054337263 more expected))


=
system:Windows-10-10.0.19045-SP0
version:v3.99
frozen:True
language:zh
root_dir:D:/translate

1 Replies

这是由于网络连接不稳定导致模型下载不完整,常见于中国大陆直接访问 HuggingFace。

解决方案:

  1. 手动下载模型:按提示将 https://huggingface.co/Systran/faster-whisper-large-v3/tree/main 页面内的所有文件下载到 D:/translate/models/models--Systran--faster-whisper-large-v3 文件夹。
  2. 使用网络代理:在软件主界面的“网络代理地址”处填写代理地址(例如 http://127.0.0.1:10809),再重新启动软件下载。
  3. 如果仍失败:可尝试从国内镜像站下载,将 models--Systran--faster-whisper-large-v3 文件夹直接放入 models/ 目录后重启软件。

请查阅相关文档:

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.

Related resource