Update README.md
Browse files
README.md
CHANGED
@@ -63,6 +63,8 @@ classifier = EncoderClassifier.from_hparams(source="speechbrain/spkrec-ecapa-vox
|
|
63 |
signal, fs =torchaudio.load('samples/audio_samples/example1.wav')
|
64 |
embeddings = classifier.encode_batch(signal)
|
65 |
```
|
|
|
|
|
66 |
|
67 |
### Perform Speaker Verification
|
68 |
|
|
|
63 |
signal, fs =torchaudio.load('samples/audio_samples/example1.wav')
|
64 |
embeddings = classifier.encode_batch(signal)
|
65 |
```
|
66 |
+
The system is trained with recordings sampled at 16kHz (single channel).
|
67 |
+
The code will automatically normalize your audio (i.e., resampling + mono channel selection) when calling *classify_file* if needed. Make sure your input tensor is compliant with the expected sampling rate if you use *encode_batch* and *classify_batch*.
|
68 |
|
69 |
### Perform Speaker Verification
|
70 |
|