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
| 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 | |
| ``` | |