Views
No views yet
| Release | EER(%) |
|---|---|
| 05-03-21 | 3.2 |
pip install speechbrain1import torchaudio
2from speechbrain.inference.speaker import EncoderClassifier
3classifier = EncoderClassifier.from_hparams(source="speechbrain/spkrec-xvect-voxceleb", savedir="pretrained_models/spkrec-xvect-voxceleb")
4signal, fs = torchaudio.load('tests/samples/ASR/spk1_snt1.wav')
5embeddings = classifier.encode_batch(signal)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_x_vectors.yaml --data_folder=your_data_folder1 author = {David Snyder and
2 Daniel Garcia{-}Romero and
3 Alan McCree and
4 Gregory Sell and
5 Daniel Povey and
6 Sanjeev Khudanpur},
7 title = {Spoken Language Recognition using X-vectors},
8 booktitle = {Odyssey 2018},
9 pages = {105--111},
10 year = {2018},
11}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}