#2026 TaskCfg(cache_folder='C:/Users/Administrator/Documents/11/tmp/6636/4c87940398', target_dir='/192.168.50.88/hh日本🇯🇵-2/1111

2409:8a55* Posted at: 18 hours ago 👁16

语音识别阶段出错:[faster-whisper(本地)] 多次重试连接失败,服务可能暂时不可用:
Traceback (most recent call last):
File "videotrans\task\job.py", line 113, in run
File "videotrans\task\trans_create.py", line 365, in recogn
File "videotrans\recognition\__init__.py", line 239, in run
File "videotrans\recognition\_base.py", line 80, in run
File "videotrans\recognition\_overall.py", line 182, in _exec
RuntimeError: urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:997)

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

Traceback (most recent call last):
File "requests\adapters.py", line 644, in send
File "urllib3\connectionpool.py", line 841, in urlopen
File "urllib3\util\retry.py", line 519, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='hf-mirror.com', port=443): Max retries exceeded with url: /api/models/mobiuslabsgmbh/faster-whisper-large-v3-turbo/revision/main (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\process\_overall.py", line 93, in run
File "faster_whisper\transcribe.py", line 681, in init
File "faster_whisper\utils.py", line 116, in download_model
File "huggingface_hub\utils\_validators.py", line 114, in _inner_fn
File "huggingface_hub\_snapshot_download.py", line 165, in snapshot_download
File "huggingface_hub\utils\_validators.py", line 114, in _inner_fn
File "huggingface_hub\hf_api.py", line 2864, in repo_info
File "huggingface_hub\utils\_validators.py", line 114, in _inner_fn
File "huggingface_hub\hf_api.py", line 2648, in model_info
File "requests\sessions.py", line 602, in get
File "requests\sessions.py", line 589, in request
File "requests\sessions.py", line 703, in send
File "huggingface_hub\utils\_http.py", line 95, in send
File "requests\adapters.py", line 675, in send
requests.exceptions.SSLError: (MaxRetryError("HTTPSConnectionPool(host='hf-mirror.com', port=443): Max retries exceeded with url: /api/models/mobiuslabsgmbh/faster-whisper-large-v3-turbo/revision/main (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)')))"), '(Request ID: f502016f-739a-4d8a-a6de-abcd127c524d)')

1 Replies

该错误是由于网络连接问题,导致无法从 Hugging Face 镜像站(hf-mirror.com)下载 faster-whisper-large-v3-turbo 模型文件。这是首次使用该模型时的常见问题。

请按以下步骤解决:

  1. 手动下载模型(推荐)

    • 访问模型下载页面:https://huggingface.co/mobiuslabsgmbh/faster-whisper-large-v3-turbo
    • 点击页面上的 “Files and versions” 标签。
    • 点击右侧的 “↓” 下载按钮,下载整个仓库的压缩包。
    • 将下载的压缩包解压到 pyVideoTrans 的模型目录下。模型默认存放路径为:

      • Windows 预打包版你的软件解压目录/videotrans/models/faster-whisper-large-v3-turbo
      • 源码版用户主目录/.cache/huggingface/hub/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo
  2. 检查网络环境

    • 确保你的网络可以正常访问 huggingface.cohf-mirror.com
    • 如果使用代理,请在软件主界面第5行的“网络代理”处正确填写代理地址(如 http://127.0.0.1:10809)。
  3. 临时更换模型

    • 在软件主界面第2行“语音识别”处,暂时选择一个已下载的、更小的模型(如 large-v3medium)进行任务,避免下载问题。

完成手动下载并放置好模型文件后,重新运行任务即可。

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.

Donate: https://ko-fi.com/jianchang512

Similar issues already exist

Trending Questions