Model hyperparameters
Browse files- hyperparams.yaml +52 -0
hyperparams.yaml
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
pretrained_path: tmp/pretrained
|
2 |
+
|
3 |
+
|
4 |
+
# Feature parameters
|
5 |
+
n_mels: 60
|
6 |
+
left_frames: 0
|
7 |
+
right_frames: 0
|
8 |
+
deltas: false
|
9 |
+
|
10 |
+
# Number of speakers
|
11 |
+
out_n_neurons: 107
|
12 |
+
|
13 |
+
# Functions
|
14 |
+
compute_features: !new:speechbrain.lobes.features.Fbank
|
15 |
+
n_mels: 60
|
16 |
+
left_frames: 0
|
17 |
+
right_frames: 0
|
18 |
+
deltas: false
|
19 |
+
|
20 |
+
embedding_model: !new:speechbrain.lobes.models.ECAPA_TDNN.ECAPA_TDNN
|
21 |
+
input_size: 60
|
22 |
+
channels: [1024, 1024, 1024, 1024, 3072]
|
23 |
+
kernel_sizes: [5, 3, 3, 3, 1]
|
24 |
+
dilations: [1, 2, 3, 4, 1]
|
25 |
+
attention_channels: 128
|
26 |
+
lin_neurons: 256
|
27 |
+
|
28 |
+
classifier: !new:speechbrain.lobes.models.ECAPA_TDNN.Classifier
|
29 |
+
input_size: 256
|
30 |
+
out_neurons: !ref <out_n_neurons>
|
31 |
+
|
32 |
+
mean_var_norm: !new:speechbrain.processing.features.InputNormalization
|
33 |
+
norm_type: sentence
|
34 |
+
std_norm: false
|
35 |
+
|
36 |
+
modules:
|
37 |
+
compute_features: !ref <compute_features>
|
38 |
+
mean_var_norm: !ref <mean_var_norm>
|
39 |
+
embedding_model: !ref <embedding_model>
|
40 |
+
classifier: !ref <classifier>
|
41 |
+
|
42 |
+
label_encoder: !new:speechbrain.dataio.encoder.CategoricalEncoder
|
43 |
+
|
44 |
+
pretrainer: !new:speechbrain.utils.parameter_transfer.Pretrainer
|
45 |
+
loadables:
|
46 |
+
embedding_model: !ref <embedding_model>
|
47 |
+
classifier: !ref <classifier>
|
48 |
+
label_encoder: !ref <label_encoder>
|
49 |
+
paths:
|
50 |
+
embedding_model: !ref <pretrained_path>/embedding_model.ckpt
|
51 |
+
classifier: !ref <pretrained_path>/classifier.ckpt
|
52 |
+
label_encoder: !ref <pretrained_path>/label_encoder.txt
|