gorinars commited on
Commit
2211a93
1 Parent(s): b99eaf3

dummy classifier added

Browse files
Files changed (2) hide show
  1. config.json +3 -0
  2. hyperparams.yaml +56 -0
config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "speechbrain_interface": "SpeakerRecognition"
3
+ }
hyperparams.yaml ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ############################################################################
2
+ # Model: ECAPA big for Speaker verification
3
+ # ############################################################################
4
+
5
+ # Feature parameters
6
+ n_mels: 80
7
+
8
+ # Output parameters
9
+ out_n_neurons: 308
10
+
11
+ # Model params
12
+ compute_features: !new:speechbrain.lobes.features.Fbank
13
+ n_mels: 80
14
+ left_frames: 0
15
+ right_frames: 0
16
+ deltas: false
17
+ sample_rate: 16000
18
+ n_fft: 400
19
+ win_length: 25
20
+ hop_length: 10
21
+ f_min: 0
22
+
23
+
24
+ mean_var_norm: !new:speechbrain.processing.features.InputNormalization
25
+ norm_type: sentence
26
+ std_norm: False
27
+
28
+ embedding_model: !new:crytorch.models.components.pann.Cnn14
29
+ mel_bins: 80
30
+ emb_dim: 2048
31
+ norm_type: bn
32
+
33
+
34
+ classifier: !new:speechbrain.lobes.models.ECAPA_TDNN.Classifier
35
+ input_size: 2048
36
+ out_neurons: !ref <out_n_neurons>
37
+
38
+ modules:
39
+ compute_features: !ref <compute_features>
40
+ mean_var_norm: !ref <mean_var_norm>
41
+ embedding_model: !ref <embedding_model>
42
+ classifier: !ref <classifier>
43
+
44
+ label_encoder: !new:speechbrain.dataio.encoder.CategoricalEncoder
45
+
46
+
47
+ pretrainer: !new:speechbrain.utils.parameter_transfer.Pretrainer
48
+ loadables:
49
+ # embedding_model: !ref <embedding_model>
50
+ #classifier: !ref <classifier>
51
+ #label_encoder: !ref <label_encoder>
52
+ paths:
53
+ # embedding_model: !ref <pretrained_path>/embedding_model.ckpt
54
+ # classifier: !ref <pretrained_path>/classifier.ckpt
55
+ # label_encoder: !ref <pretrained_path>/label_encoder.txt
56
+