Views
No views yet
pip install git+https://github.com/griko/voice-gender-classification.git1from voice_gender_classification import GenderClassificationPipeline
2
3# Load the pipeline
4classifier = GenderClassificationPipeline.from_pretrained(
5 "griko/gender_cls_svm_ecapa_voxceleb"
6)
7
8# Single file prediction
9result = classifier("path/to/audio.wav")
10print(result) # ["female"] or ["male"]
11
12# Batch prediction
13results = classifier(["audio1.wav", "audio2.wav"])
14print(results) # ["female", "male", "female"]1@misc{koushnir2025vanpyvoiceanalysisframework,
2 title={VANPY: Voice Analysis Framework},
3 author={Gregory Koushnir and Michael Fire and Galit Fuhrmann Alpert and Dima Kagan},
4 year={2025},
5 eprint={2502.17579},
6 archivePrefix={arXiv},
7 primaryClass={cs.SD},
8 url={https://arxiv.org/abs/2502.17579},
9}