|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
seed: 914 |
|
__set_seed: !apply:torch.manual_seed [914] |
|
output_folder: results/etdnn_augment/914 |
|
save_folder: results/etdnn_augment/914/save |
|
train_log: results/etdnn_augment/914/train_log.txt |
|
|
|
|
|
data_folder: /fastdata/pcp22wc/audio/VoxCeleb2/dev, /fastdata/pcp22wc/audio/VoxCeleb1/test |
|
train_annotation: save/train.csv |
|
valid_annotation: save/dev.csv |
|
|
|
|
|
rir_folder: /fastdata/pcp22wc/audio |
|
musan_folder: /fastdata/pcp22wc/audio/musan |
|
music_csv: save/music.csv |
|
noise_csv: save/noise.csv |
|
speech_csv: save/speech.csv |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
verification_file: https://www.robots.ox.ac.uk/~vgg/data/voxceleb/meta/veri_test2.txt |
|
|
|
skip_prep: true |
|
ckpt_interval_minutes: 15 |
|
|
|
|
|
number_of_epochs: 40 |
|
batch_size: 512 |
|
lr: 0.001 |
|
lr_final: 0.0001 |
|
step_size: 65000 |
|
sample_rate: 16000 |
|
sentence_len: 3.0 |
|
shuffle: true |
|
random_chunk: true |
|
|
|
|
|
n_mels: 80 |
|
deltas: false |
|
|
|
|
|
out_n_neurons: 5994 |
|
|
|
dataloader_options: |
|
batch_size: 512 |
|
shuffle: true |
|
num_workers: 8 |
|
|
|
|
|
compute_features: &id007 !new:speechbrain.lobes.features.Fbank |
|
|
|
|
|
n_mels: 80 |
|
deltas: false |
|
|
|
embedding_model: &id008 !new:speechbrain.lobes.models.Xvector.Xvector |
|
in_channels: 80 |
|
activation: !name:torch.nn.LeakyReLU |
|
tdnn_blocks: 10 |
|
tdnn_channels: [512, 512, 512, 512, 512, 512, 512, 512, 512, 1500] |
|
tdnn_kernel_sizes: [5, 1, 3, 1, 3, 1, 5, 1, 1, 1] |
|
tdnn_dilations: [2, 1, 1, 1, 1, 1, 2, 1, 1, 1] |
|
lin_neurons: 512 |
|
|
|
classifier: &id009 !new:speechbrain.lobes.models.ECAPA_TDNN.Classifier |
|
input_size: 512 |
|
out_neurons: 5994 |
|
|
|
epoch_counter: &id011 !new:speechbrain.utils.epoch_loop.EpochCounter |
|
limit: 40 |
|
|
|
|
|
augment_wavedrop: !new:speechbrain.lobes.augment.TimeDomainSpecAugment |
|
sample_rate: 16000 |
|
speeds: [100] |
|
|
|
augment_speed: !new:speechbrain.lobes.augment.TimeDomainSpecAugment |
|
sample_rate: 16000 |
|
speeds: [95, 100, 105] |
|
|
|
add_rev: &id001 !new:speechbrain.lobes.augment.EnvCorrupt |
|
openrir_folder: /fastdata/pcp22wc/audio |
|
openrir_max_noise_len: 3.0 |
|
reverb_prob: 1.0 |
|
noise_prob: 0.0 |
|
noise_snr_low: 0 |
|
noise_snr_high: 15 |
|
rir_scale_factor: 1.0 |
|
|
|
add_noise: &id002 !new:speechbrain.lobes.augment.EnvCorrupt |
|
openrir_folder: /fastdata/pcp22wc/audio |
|
openrir_max_noise_len: 3.0 |
|
reverb_prob: 0.0 |
|
noise_prob: 1.0 |
|
noise_snr_low: 0 |
|
noise_snr_high: 15 |
|
rir_scale_factor: 1.0 |
|
|
|
add_rev_noise: &id003 !new:speechbrain.lobes.augment.EnvCorrupt |
|
openrir_folder: /fastdata/pcp22wc/audio |
|
openrir_max_noise_len: 3.0 |
|
reverb_prob: 1.0 |
|
noise_prob: 1.0 |
|
noise_snr_low: 0 |
|
noise_snr_high: 15 |
|
rir_scale_factor: 1.0 |
|
|
|
add_noise_musan: &id004 !new:speechbrain.lobes.augment.EnvCorrupt |
|
noise_csv: save/noise.csv |
|
babble_prob: 0.0 |
|
reverb_prob: 0.0 |
|
noise_prob: 1.0 |
|
noise_snr_low: 0 |
|
noise_snr_high: 15 |
|
|
|
add_music_musan: &id005 !new:speechbrain.lobes.augment.EnvCorrupt |
|
noise_csv: save/music.csv |
|
babble_prob: 0.0 |
|
reverb_prob: 0.0 |
|
noise_prob: 1.0 |
|
noise_snr_low: 0 |
|
noise_snr_high: 15 |
|
|
|
add_speech_musan: &id006 !new:speechbrain.lobes.augment.EnvCorrupt |
|
noise_csv: save/speech.csv |
|
babble_prob: 0.0 |
|
reverb_prob: 0.0 |
|
noise_prob: 1.0 |
|
noise_snr_low: 0 |
|
noise_snr_high: 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
augment_pipeline: [*id001, *id002, *id003, *id004, *id005, *id006] |
|
concat_augment: true |
|
|
|
mean_var_norm: &id010 !new:speechbrain.processing.features.InputNormalization |
|
|
|
norm_type: sentence |
|
std_norm: false |
|
|
|
modules: |
|
compute_features: *id007 |
|
add_rev: *id001 |
|
add_noise: *id002 |
|
add_rev_noise: *id003 |
|
add_noise_musan: *id004 |
|
add_music_musan: *id005 |
|
add_speech_musan: *id006 |
|
embedding_model: *id008 |
|
classifier: *id009 |
|
mean_var_norm: *id010 |
|
compute_cost: !new:speechbrain.nnet.losses.LogSoftmaxWrapper |
|
loss_fn: !new:speechbrain.nnet.losses.AdditiveAngularMargin |
|
margin: 0.2 |
|
scale: 30 |
|
|
|
|
|
|
|
opt_class: !name:torch.optim.Adam |
|
lr: 0.001 |
|
weight_decay: 0.000002 |
|
|
|
lr_annealing: !new:speechbrain.nnet.schedulers.LinearScheduler |
|
initial_value: 0.001 |
|
final_value: 0.0001 |
|
epoch_count: 40 |
|
|
|
|
|
train_logger: !new:speechbrain.utils.train_logger.FileTrainLogger |
|
save_file: results/etdnn_augment/914/train_log.txt |
|
|
|
error_stats: !name:speechbrain.utils.metric_stats.MetricStats |
|
metric: !name:speechbrain.nnet.losses.classification_error |
|
reduction: batch |
|
|
|
checkpointer: !new:speechbrain.utils.checkpoints.Checkpointer |
|
checkpoints_dir: results/etdnn_augment/914/save |
|
recoverables: |
|
embedding_model: *id008 |
|
classifier: *id009 |
|
normalizer: *id010 |
|
counter: *id011 |
|
|