Speaker Diarization
pyannote-audio is an open-source toolkit written in Python for speaker diarization.
pyannote-onnx is used to convert the pretrained model defined in PyTorch into the ONNX format and then run it with ONNX Runtime (in C++ or Python).
Only Python 3.8+ is supported.
Usage
- Download the pretrained model from Hugging Face pyannote/segmentation-3.0.
- Export the pretrained model to ONNX model.
- Run the ONNX model with ONNX Runtime in C++ or Python.
$ pip install torch onnx https://github.com/pyannote/pyannote-audio/archive/refs/heads/develop.zip
$ python export_onnx.py pytorch_model.bin segmentation-3.0.onnx
$ pip install pyannote-onnx
$ diarize data/test_16k.wav --plot
Metadata
Release files for pyannote-onnx 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyannote-onnx-0.1.1.tar.gz | 8.7 kB | Details |
Release files / pyannote-onnx-0.1.1.tar.gz
| Download URL | pyannote-onnx-0.1.1.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
615d613e4d539eae3f6689950599be69d66bd6eefa812321b0f7c09606b310ca
|
|
BLAKE2b-256 checksum How to use checksums |
0919fa432b95cc6fa89be8ad44d0a8d7230d374892404e44882b06534a0d07f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|