How to use from the
Use from the
pyannote.audio library
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)

Dummy segmentation model used for continuous integration and unit tests.

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
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support