Views
No views yet
| Release | EER(%) | minDCF |
|---|---|---|
| 29-07-23 | 1.05 | 0.1082 |
pip install speechbrain1import torchaudio
2from speechbrain.inference.speaker import EncoderClassifier
3classifier = EncoderClassifier.from_hparams(source="speechbrain/spkrec-resnet-voxceleb")
4signal, fs =torchaudio.load('example.wav')
5embeddings = classifier.encode_batch(signal)1from speechbrain.inference.speaker import SpeakerRecognition
2verification = SpeakerRecognition.from_hparams(source="speechbrain/spkrec-resnet-voxceleb", savedir="pretrained_models/spkrec-resnet-voxceleb")
3score, prediction = verification.verify_files("speechbrain/spkrec-resnet-voxceleb/example1.wav", "speechbrain/spkrec-resnet-voxceleb/example2.flac")run_opts={"device":"cuda"} when calling the from_hparams method.git clone https://github.com/speechbrain/speechbrain/cd speechbrain
pip install -r requirements.txt
pip install -e .cd recipes/VoxCeleb/SpeakerRec
python train_speaker_embeddings.py hparams/train_resnet.yaml --data_folder=your_data_folder@article{VILLALBA2020101026,
title = {State-of-the-art speaker recognition with neural network embeddings in NIST SRE18 and Speakers in the Wild evaluations},
journal = {Computer Speech & Language},
volume = {60},
pages = {101026},
year = {2020},
doi = {https://doi.org/10.1016/j.csl.2019.101026},
author = {Jesús Villalba and Nanxin Chen and David Snyder and Daniel Garcia-Romero and Alan McCree and Gregory Sell and Jonas Borgstrom and Leibny Paola García-Perera and Fred Richardson and Réda Dehak and Pedro A. Torres-Carrasquillo and Najim Dehak},
}1@misc{speechbrain,
2 title={{SpeechBrain}: A General-Purpose Speech Toolkit},
3 author={Mirco Ravanelli and Titouan Parcollet and Peter Plantinga and Aku Rouhe and Samuele Cornell and Loren Lugosch and Cem Subakan and Nauman Dawalatabad and Abdelwahab Heba and Jianyuan Zhong and Ju-Chieh Chou and Sung-Lin Yeh and Szu-Wei Fu and Chien-Feng Liao and Elena Rastorgueva and François Grondin and William Aris and Hwidong Na and Yan Gao and Renato De Mori and Yoshua Bengio},
4 year={2021},
5 eprint={2106.04624},
6 archivePrefix={arXiv},
7 primaryClass={eess.AS},
8 note={arXiv:2106.04624}
9}