Instructions to use pyannote/ci-segmentation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- pyannote.audio
How to use pyannote/ci-segmentation with pyannote.audio:
from pyannote.audio import Model, Inference model = Model.from_pretrained("pyannote/ci-segmentation") inference = Inference(model) # inference on the whole file inference("file.wav") # inference on an excerpt from pyannote.core import Segment excerpt = Segment(start=2.0, end=5.0) inference.crop("file.wav", excerpt) - Notebooks
- Google Colab
- Kaggle
File size: 443 Bytes
dd586f4 3a5e33c dd586f4 3a5e33c dd586f4 3a5e33c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ---
tags:
- pyannote
- pyannote-audio
- pyannote-audio-model
license: mit
inference: false
---
Dummy segmentation model used for continuous integration and unit tests.
```bash
pyannote-audio-train \
+registry="[REDACTED]/pyannote-audio/tutorials/AMI-diarization-setup/pyannote/database.yml" \
protocol=AMI.SpeakerDiarization.only_words \
model=DebugSegmentation \
task=SpeakerDiarization \
trainer.max_epochs=1
```
|