Upload 5 files
Browse files- classifier.ckpt +3 -0
- embedding_model.ckpt +3 -0
- hyperparams.yaml +59 -0
- label_encoder.ckpt +3 -0
- mean_var_norm_emb.ckpt +3 -0
classifier.ckpt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fd9e3634fe68bd0a427c95e354c0c677374f62b3f434e45b78599950d860d535
|
3 |
+
size 5534328
|
embedding_model.ckpt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0575cb64845e6b9a10db9bcb74d5ac32b326b8dc90352671d345e2ee3d0126a2
|
3 |
+
size 83316686
|
hyperparams.yaml
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ############################################################################
|
2 |
+
# Model: ECAPA big for Speaker verification
|
3 |
+
# ############################################################################
|
4 |
+
|
5 |
+
# Feature parameters
|
6 |
+
n_mels: 80
|
7 |
+
|
8 |
+
# Pretrain folder (HuggingFace)
|
9 |
+
pretrained_path: speechbrain/spkrec-ecapa-voxceleb
|
10 |
+
|
11 |
+
# Output parameters
|
12 |
+
out_n_neurons: 7205
|
13 |
+
|
14 |
+
# Model params
|
15 |
+
compute_features: !new:speechbrain.lobes.features.Fbank
|
16 |
+
n_mels: !ref <n_mels>
|
17 |
+
|
18 |
+
mean_var_norm: !new:speechbrain.processing.features.InputNormalization
|
19 |
+
norm_type: sentence
|
20 |
+
std_norm: False
|
21 |
+
|
22 |
+
embedding_model: !new:speechbrain.lobes.models.ECAPA_TDNN.ECAPA_TDNN
|
23 |
+
input_size: !ref <n_mels>
|
24 |
+
channels: [1024, 1024, 1024, 1024, 3072]
|
25 |
+
kernel_sizes: [5, 3, 3, 3, 1]
|
26 |
+
dilations: [1, 2, 3, 4, 1]
|
27 |
+
attention_channels: 128
|
28 |
+
lin_neurons: 192
|
29 |
+
|
30 |
+
classifier: !new:speechbrain.lobes.models.ECAPA_TDNN.Classifier
|
31 |
+
input_size: 192
|
32 |
+
out_neurons: !ref <out_n_neurons>
|
33 |
+
|
34 |
+
mean_var_norm_emb: !new:speechbrain.processing.features.InputNormalization
|
35 |
+
norm_type: global
|
36 |
+
std_norm: False
|
37 |
+
|
38 |
+
modules:
|
39 |
+
compute_features: !ref <compute_features>
|
40 |
+
mean_var_norm: !ref <mean_var_norm>
|
41 |
+
embedding_model: !ref <embedding_model>
|
42 |
+
mean_var_norm_emb: !ref <mean_var_norm_emb>
|
43 |
+
classifier: !ref <classifier>
|
44 |
+
|
45 |
+
label_encoder: !new:speechbrain.dataio.encoder.CategoricalEncoder
|
46 |
+
|
47 |
+
|
48 |
+
pretrainer: !new:speechbrain.utils.parameter_transfer.Pretrainer
|
49 |
+
loadables:
|
50 |
+
embedding_model: !ref <embedding_model>
|
51 |
+
mean_var_norm_emb: !ref <mean_var_norm_emb>
|
52 |
+
classifier: !ref <classifier>
|
53 |
+
label_encoder: !ref <label_encoder>
|
54 |
+
paths:
|
55 |
+
embedding_model: !ref <pretrained_path>/embedding_model.ckpt
|
56 |
+
mean_var_norm_emb: !ref <pretrained_path>/mean_var_norm_emb.ckpt
|
57 |
+
classifier: !ref <pretrained_path>/classifier.ckpt
|
58 |
+
label_encoder: !ref <pretrained_path>/label_encoder.txt
|
59 |
+
|
label_encoder.ckpt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e13c3a167bb4112685670ee896d20e2b565af16b3a4ceeaa8689fa4d22adb8b9
|
3 |
+
size 128619
|
mean_var_norm_emb.ckpt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd70225b05b37be64fc5a95e24395d804231d43f74b2e1e5a513db7b69b34c33
|
3 |
+
size 1921
|