speechbrainteam
commited on
Commit
•
1a5e89e
1
Parent(s):
0aaf460
Update README.md
Browse files
README.md
CHANGED
@@ -71,6 +71,28 @@ score, prediction = verification.verify_files("speechbrain/spkrec-ecapa-voxceleb
|
|
71 |
### Inference on GPU
|
72 |
To perform inference on the GPU, add `run_opts={"device":"cuda"}` when calling the `from_hparams` method.
|
73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
### Limitations
|
75 |
The SpeechBrain team does not provide any warranty on the performance achieved by this model when used on other datasets.
|
76 |
|
@@ -102,7 +124,7 @@ The SpeechBrain team does not provide any warranty on the performance achieved b
|
|
102 |
year = {2021},
|
103 |
publisher = {GitHub},
|
104 |
journal = {GitHub repository},
|
105 |
-
howpublished = {
|
106 |
}
|
107 |
```
|
108 |
|
|
|
71 |
### Inference on GPU
|
72 |
To perform inference on the GPU, add `run_opts={"device":"cuda"}` when calling the `from_hparams` method.
|
73 |
|
74 |
+
### Training
|
75 |
+
The model was trained with SpeechBrain (aa018540).
|
76 |
+
To train it from scratch follows these steps:
|
77 |
+
1. Clone SpeechBrain:
|
78 |
+
```bash
|
79 |
+
git clone https://github.com/speechbrain/speechbrain/
|
80 |
+
```
|
81 |
+
2. Install it:
|
82 |
+
```
|
83 |
+
cd speechbrain
|
84 |
+
pip install -r requirements.txt
|
85 |
+
pip install -e .
|
86 |
+
```
|
87 |
+
|
88 |
+
3. Run Training:
|
89 |
+
```
|
90 |
+
cd recipes/VoxCeleb/SpeakerRec
|
91 |
+
python train_speaker_embeddings.py hparams/train_ecapa_tdnn.yaml --data_folder=your_data_folder
|
92 |
+
```
|
93 |
+
|
94 |
+
You can find our training results (models, logs, etc) [here](https://drive.google.com/drive/folders/1-ahC1xeyPinAHp2oAohL-02smNWO41Cc?usp=sharing).
|
95 |
+
|
96 |
### Limitations
|
97 |
The SpeechBrain team does not provide any warranty on the performance achieved by this model when used on other datasets.
|
98 |
|
|
|
124 |
year = {2021},
|
125 |
publisher = {GitHub},
|
126 |
journal = {GitHub repository},
|
127 |
+
howpublished = {\\url{https://github.com/speechbrain/speechbrain}},
|
128 |
}
|
129 |
```
|
130 |
|