|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
seed: 3 |
|
__set_seed: !apply:torch.manual_seed [3] |
|
|
|
|
|
|
|
|
|
|
|
|
|
data_folder: /network/tmp1/subakany/whamr/ |
|
|
|
|
|
|
|
|
|
|
|
base_folder_dm: /network/tmp1/subakany/wsj0-processed/si_tr_s/ |
|
|
|
experiment_name: dprnn-whamr |
|
output_folder: results/dprnn-whamr/3 |
|
train_log: results/dprnn-whamr/3/train_log.txt |
|
save_folder: results/dprnn-whamr/3/save |
|
|
|
|
|
train_data: results/dprnn-whamr/3/save/whamr_tr.csv |
|
valid_data: results/dprnn-whamr/3/save/whamr_cv.csv |
|
test_data: results/dprnn-whamr/3/save/whamr_tt.csv |
|
skip_prep: false |
|
|
|
|
|
auto_mix_prec: true |
|
test_only: false |
|
num_spks: 2 |
|
progressbar: true |
|
save_audio: false |
|
sample_rate: 8000 |
|
|
|
|
|
N_epochs: 200 |
|
batch_size: 1 |
|
lr: 0.00015 |
|
clip_grad_norm: 5 |
|
loss_upper_lim: 999999 |
|
|
|
limit_training_signal_len: false |
|
|
|
|
|
training_signal_len: 32000000 |
|
|
|
|
|
dynamic_mixing: true |
|
|
|
|
|
|
|
|
|
|
|
|
|
rir_path: /miniscratch/subakany/whamr_rirs_wav |
|
|
|
use_wavedrop: false |
|
use_speedperturb: true |
|
use_speedperturb_sameforeachsource: false |
|
use_rand_shift: false |
|
min_shift: -8000 |
|
max_shift: 8000 |
|
|
|
speedperturb: !new:speechbrain.lobes.augment.TimeDomainSpecAugment |
|
perturb_prob: 1.0 |
|
drop_freq_prob: 0.0 |
|
drop_chunk_prob: 0.0 |
|
sample_rate: 8000 |
|
speeds: [95, 100, 105] |
|
|
|
wavedrop: !new:speechbrain.lobes.augment.TimeDomainSpecAugment |
|
perturb_prob: 0.0 |
|
drop_freq_prob: 1.0 |
|
drop_chunk_prob: 1.0 |
|
sample_rate: 8000 |
|
|
|
|
|
threshold_byloss: true |
|
threshold: -30 |
|
|
|
|
|
N_encoder_out: 256 |
|
out_channels: 256 |
|
kernel_size: 16 |
|
kernel_stride: 8 |
|
|
|
|
|
dataloader_opts: |
|
batch_size: 1 |
|
num_workers: 3 |
|
|
|
|
|
|
|
Encoder: &id003 !new:speechbrain.lobes.models.dual_path.Encoder |
|
kernel_size: 16 |
|
out_channels: 256 |
|
|
|
|
|
intra: &id001 !new:speechbrain.lobes.models.dual_path.SBRNNBlock |
|
num_layers: 1 |
|
input_size: 256 |
|
hidden_channels: 256 |
|
dropout: 0 |
|
bidirectional: true |
|
|
|
inter: &id002 !new:speechbrain.lobes.models.dual_path.SBRNNBlock |
|
num_layers: 1 |
|
input_size: 256 |
|
hidden_channels: 256 |
|
dropout: 0 |
|
bidirectional: true |
|
|
|
MaskNet: &id005 !new:speechbrain.lobes.models.dual_path.Dual_Path_Model |
|
|
|
num_spks: 2 |
|
in_channels: 256 |
|
out_channels: 256 |
|
num_layers: 6 |
|
K: 250 |
|
intra_model: *id001 |
|
inter_model: *id002 |
|
norm: ln |
|
linear_layer_after_inter_intra: true |
|
skip_around_intra: true |
|
|
|
Decoder: &id004 !new:speechbrain.lobes.models.dual_path.Decoder |
|
in_channels: 256 |
|
out_channels: 1 |
|
kernel_size: 16 |
|
stride: 8 |
|
bias: false |
|
|
|
|
|
|
|
optimizer: !name:torch.optim.Adam |
|
lr: 0.00015 |
|
weight_decay: 0 |
|
|
|
loss: !name:speechbrain.nnet.losses.get_si_snr_with_pitwrapper |
|
|
|
lr_scheduler: &id007 !new:speechbrain.nnet.schedulers.ReduceLROnPlateau |
|
|
|
factor: 0.5 |
|
patience: 2 |
|
dont_halve_until_epoch: 85 |
|
|
|
epoch_counter: &id006 !new:speechbrain.utils.epoch_loop.EpochCounter |
|
limit: 200 |
|
|
|
modules: |
|
encoder: *id003 |
|
decoder: *id004 |
|
masknet: *id005 |
|
save_all_checkpoints: true |
|
checkpointer: !new:speechbrain.utils.checkpoints.Checkpointer |
|
checkpoints_dir: results/dprnn-whamr/3/save |
|
recoverables: |
|
encoder: *id003 |
|
decoder: *id004 |
|
masknet: *id005 |
|
counter: *id006 |
|
lr_scheduler: *id007 |
|
train_logger: !new:speechbrain.utils.train_logger.FileTrainLogger |
|
save_file: results/dprnn-whamr/3/train_log.txt |
|
|
|
pretrainer: !new:speechbrain.utils.parameter_transfer.Pretrainer |
|
loadables: |
|
encoder: !ref <Encoder> |
|
masknet: !ref <MaskNet> |
|
decoder: !ref <Decoder> |
|
|