# ############################################################################ # Model: xvector for Speaker verification # ############################################################################ # Feature parameters n_mels: 24 # Output parameters lab_encoder_file: /home/mirco/spkrec-xvect-voxceleb/label_encoder.txt out_n_neurons: 7205 # Model params compute_features: !new:speechbrain.lobes.features.Fbank n_mels: !ref mean_var_norm: !new:speechbrain.processing.features.InputNormalization norm_type: sentence std_norm: False embedding_model: !new:speechbrain.lobes.models.Xvector.Xvector in_channels: !ref activation: !name:torch.nn.LeakyReLU tdnn_blocks: 5 tdnn_channels: [512, 512, 512, 512, 1500] tdnn_kernel_sizes: [5, 3, 3, 1, 1] tdnn_dilations: [1, 2, 3, 1, 1] lin_neurons: 512 classifier: !new:speechbrain.lobes.models.Xvector.Classifier input_shape: [null, null, 512] activation: !name:torch.nn.LeakyReLU lin_blocks: 1 lin_neurons: 512 out_neurons: !ref mean_var_norm_emb: !new:speechbrain.processing.features.InputNormalization norm_type: global std_norm: False modules: compute_features: !ref mean_var_norm: !ref embedding_model: !ref mean_var_norm_emb: !ref classifier: !ref pretrainer: !new:speechbrain.utils.parameter_transfer.Pretrainer loadables: embedding_model: !ref mean_var_norm_emb: !ref classifier: !ref