mirco commited on
Commit
b41846d
1 Parent(s): 5a9f979

add hyparams for xvectors

Browse files
Files changed (1) hide show
  1. hyperparams.yaml +38 -0
hyperparams.yaml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ############################################################################
2
+ # Model: xvector for Speaker verification
3
+ # ############################################################################
4
+
5
+ # Feature parameters
6
+ n_mels: 24
7
+
8
+ # Model params
9
+ compute_features: !new:speechbrain.lobes.features.Fbank
10
+ n_mels: !ref <n_mels>
11
+
12
+ mean_var_norm: !new:speechbrain.processing.features.InputNormalization
13
+ norm_type: sentence
14
+ std_norm: False
15
+
16
+ embedding_model: !new:speechbrain.lobes.models.Xvector.Xvector
17
+ in_channels: !ref <n_mels>
18
+ activation: !name:torch.nn.LeakyReLU
19
+ tdnn_blocks: 5
20
+ tdnn_channels: [512, 512, 512, 512, 1500]
21
+ tdnn_kernel_sizes: [5, 3, 3, 1, 1]
22
+ tdnn_dilations: [1, 2, 3, 1, 1]
23
+ lin_neurons: 512
24
+
25
+ mean_var_norm_emb: !new:speechbrain.processing.features.InputNormalization
26
+ norm_type: global
27
+ std_norm: False
28
+
29
+ modules:
30
+ compute_features: !ref <compute_features>
31
+ mean_var_norm: !ref <mean_var_norm>
32
+ embedding_model: !ref <embedding_model>
33
+ mean_var_norm_emb: !ref <mean_var_norm_emb>
34
+
35
+ pretrainer: !new:speechbrain.utils.parameter_transfer.Pretrainer
36
+ loadables:
37
+ embedding_model: !ref <embedding_model>
38
+ mean_var_norm_emb: !ref <mean_var_norm_emb>