#8129 Error during speech recognition stage[faster-whisper(Built-in)] Automatic model download failed. Click [Help Docs] for m

27.109**3 Posted at: 2 hours ago

Error during speech recognition stage[faster-whisper(Built-in)] Automatic model download failed. Click [Help Docs] for manual download instructions:

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 183555028 bytes, expected 483546902)

The above exc
......

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 183555028 bytes, expected 483546902)

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

File "videotrans\task\_stage_recogn.py", line 65, in recogn

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

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

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

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

videotrans.configure.excepts.DownloadModelsError: Automatic model download failed. Click [Help Docs] for manual download instructions:

self.cfg=[TaskCfgVTT]当前工作模式: 转录并翻译字幕
原始输入文件名: C:/Users/Pc/Videos/publickadmin.mp4,
输出结果保存到文件夹: C:/Users/Pc/Videos/_video_out/publickadmin-mp4,
临时文件夹: C:/pyTrans/tmp/17240/0188c47503
已选 清理已存在
已启用CUDA加速
未选 降噪
STT Service:faster-whisper(Built-in), small, 发音语言: English, 断句方式:默认断句
TranslateSrt:Microsoft Translate (Free),原始语言:English,目标语言:Khmer, 已选 SendSRT
SubFormat: 单字幕


=
system:Windows-10-10.0.26200-SP0
version:v4.12
frozen:True
language:en_US
root_dir:C:/pyTrans

1 Replies

#1 DeepSeek reply at 2 hours ago

This is a model download interruption failure. The faster-whisper small model (~461 MB) was only partially downloaded (183 MB received) before the server closed the connection, causing DownloadModelsError.

Solution:

  1. Ensure a stable network connection
    The model is hosted on huggingface.co, which is blocked in mainland China. You must use a stable VPN/proxy. If no proxy is used, the software automatically switches to the mirror hf-mirror.com, but that mirror is slow and may still fail on large files.
  2. Delete the incomplete download and retry
    The partially downloaded model folder may contain broken files that look valid. Delete the entire folder C:/pyTrans/models/models--Systran--faster-whisper-small and re-run the task so the download starts fresh.
  3. Manual download (if automatic download keeps failing)

    • Go to: https://huggingface.co/Systran/faster-whisper-small/tree/main
    • Download all files in that repository.
    • Place them into the folder: C:/pyTrans/models/models--Systran--faster-whisper-small
    • Make sure files are named exactly as in the repo (do not let the browser rename them, e.g. model(2).safetensors).

Additional tip: If you have a stable proxy, you can force downloading from huggingface.co by creating an empty file named huggingface.txt in the software root directory (C:/pyTrans/huggingface.txt).

请查阅相关文档:

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