mirco commited on
Commit
7e1b344
2 Parent(s): 7781186 a27a469

Merge branch 'main' of https://huggingface.co/speechbrain/spkrec-xvect-voxceleb into main

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -51,7 +51,7 @@ import torchaudio
51
  from speechbrain.pretrained import SpeakerRecognition
52
  verification = SpeakerRecognition.from_hparams(source="speechbrain/spkrec-xvect-voxceleb", savedir="pretrained_models/spkrec-xvect-voxceleb")
53
  signal, fs =torchaudio.load('samples/audio_samples/example1.wav')
54
- embeddings = verification.encode(signal)
55
  ```
56
 
57
  #### Referencing xvectors
@@ -79,6 +79,6 @@ embeddings = verification.encode(signal)
79
  year = {2021},
80
  publisher = {GitHub},
81
  journal = {GitHub repository},
82
- howpublished = {\url{https://github.com/speechbrain/speechbrain}},
83
  }
84
  ```
 
51
  from speechbrain.pretrained import SpeakerRecognition
52
  verification = SpeakerRecognition.from_hparams(source="speechbrain/spkrec-xvect-voxceleb", savedir="pretrained_models/spkrec-xvect-voxceleb")
53
  signal, fs =torchaudio.load('samples/audio_samples/example1.wav')
54
+ embeddings = verification.encode_batch(signal)
55
  ```
56
 
57
  #### Referencing xvectors
 
79
  year = {2021},
80
  publisher = {GitHub},
81
  journal = {GitHub repository},
82
+ howpublished = {\\url{https://github.com/speechbrain/speechbrain}},
83
  }
84
  ```