Instructions to use speechbrain/spkrec-ecapa-voxceleb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- speechbrain
How to use speechbrain/spkrec-ecapa-voxceleb with speechbrain:
from speechbrain.pretrained import SpeakerRecognition model = SpeakerRecognition.from_hparams( "speechbrain/spkrec-ecapa-voxceleb" ) model.verify_files("speaker1.wav", "speaker2.wav") - Notebooks
- Google Colab
- Kaggle
cosine distance score
#7
by sirsam01 - opened
what threshold is being used for the verification? How do I get the actual cosine distance generated from my input voice samples in case I would like to modify that threshold value?
Hi @sirsam01 , Normally 0.7-0.75 is the threshold used when scaled from [0,1].python lib is there for calculating the cosine distance from the two comparable embeddings.