Skip to content

模型相关 📦

模型相关问题收集整理

模型目录

  • 首次运行会检测下载模型,均会自动下载到 models 目录下
.models
├─huggingface
│  └─hub
│      ├─.locks
│      ├─models--pyannote--segmentation-3.0
│      ├─models--pyannote--speaker-diarization-3.1
│      ├─models--pyannote--wespeaker-voxceleb-resnet34-LM
│      ├─models--Systran--faster-whisper-base
│      ├─models--Systran--faster-whisper-large-v2
│      └─models--Systran--faster-whisper-medium
├─keras
│  └─models

├─modelscope
│  └─models
│      └─iic
│          ├─CosyVoice2-0.5B
│          ├─CosyVoice2-0___5B
└─torch
    └─hub
        ├─checkpoints
        └─snakers4_silero-vad_master

使用问题

模型下载失败❓

解决方法

log
An error occured while synchronizing the model Systran/faster-whisper-large-v3 from the Hugging Face Hub:
An error happened while trying to locate the files on the Hub and we cannot find the appropriate snapshot folder for the
specified revision on the local disk. Please check your internet connection and try again.
Trying to load the model directly from the local cache, if it exists.

通过国内镜像下载模型

说话人调用错误❓

解决方法

log
待补充
  1. 前往并接受 pyannote/segmentation-3.0 的用户协议
  2. 接受 pyannote/speaker-diarization-3.1 的用户协议
  3. 前往并获取访问令牌:huggingface.co/settings/tokens