|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
seed: 1234 |
|
__set_seed: !apply:torch.manual_seed [1234] |
|
|
|
|
|
|
|
|
|
|
|
data_folder: /mnt3/Libri3Mix_48k_own/Libri3Mix/ |
|
|
|
|
|
base_folder_dm: /yourpath/LibriSpeech/train-clean-360/ |
|
|
|
experiment_name: sepformer-libri3mix-48k |
|
output_folder: results/sepformer-libri3mix-48k/1234 |
|
train_log: results/sepformer-libri3mix-48k/1234/train_log.txt |
|
save_folder: results/sepformer-libri3mix-48k/1234/save |
|
train_data: results/sepformer-libri3mix-48k/1234/save/libri3mix_train-360.csv |
|
valid_data: results/sepformer-libri3mix-48k/1234/save/libri3mix_test.csv |
|
test_data: results/sepformer-libri3mix-48k/1234/save/libri3mix_test.csv |
|
skip_prep: false |
|
|
|
ckpt_interval_minutes: 60 |
|
|
|
|
|
precision: fp16 |
|
num_spks: 3 |
|
noprogressbar: false |
|
save_audio: false |
|
sample_rate: 48000 |
|
|
|
|
|
N_epochs: 50 |
|
batch_size: 1 |
|
lr: 0.0005 |
|
clip_grad_norm: 5 |
|
loss_upper_lim: 999999 |
|
|
|
limit_training_signal_len: true |
|
|
|
|
|
training_signal_len: 100000 |
|
|
|
|
|
dynamic_mixing: false |
|
use_wham_noise: true |
|
|
|
|
|
use_wavedrop: false |
|
use_speedperturb: true |
|
use_rand_shift: false |
|
min_shift: -8000 |
|
max_shift: 8000 |
|
|
|
|
|
speed_changes: &id001 [95, 100, 105] |
|
|
|
|
|
speed_perturb: !new:speechbrain.augment.time_domain.SpeedPerturb |
|
orig_freq: 48000 |
|
speeds: *id001 |
|
drop_freq_low: 0 |
|
drop_freq_high: 1 |
|
drop_freq_count_low: 1 |
|
drop_freq_count_high: 3 |
|
drop_freq_width: 0.05 |
|
|
|
drop_freq: !new:speechbrain.augment.time_domain.DropFreq |
|
drop_freq_low: 0 |
|
drop_freq_high: 1 |
|
drop_freq_count_low: 1 |
|
drop_freq_count_high: 3 |
|
drop_freq_width: 0.05 |
|
|
|
|
|
drop_chunk_count_low: 1 |
|
drop_chunk_count_high: 5 |
|
drop_chunk_length_low: 1000 |
|
drop_chunk_length_high: 2000 |
|
|
|
drop_chunk: !new:speechbrain.augment.time_domain.DropChunk |
|
drop_length_low: 1000 |
|
drop_length_high: 2000 |
|
drop_count_low: 1 |
|
drop_count_high: 5 |
|
|
|
|
|
threshold_byloss: true |
|
threshold: -30 |
|
|
|
|
|
N_encoder_out: 256 |
|
out_channels: 256 |
|
kernel_size: 16 |
|
kernel_stride: 8 |
|
d_ffn: 1024 |
|
|
|
|
|
dataloader_opts: |
|
batch_size: 1 |
|
num_workers: 3 |
|
|
|
|
|
|
|
Encoder: &id004 !new:speechbrain.lobes.models.dual_path.Encoder |
|
kernel_size: 16 |
|
out_channels: 256 |
|
|
|
|
|
SBtfintra: &id002 !new:speechbrain.lobes.models.dual_path.SBTransformerBlock |
|
num_layers: 8 |
|
d_model: 256 |
|
nhead: 8 |
|
d_ffn: 1024 |
|
dropout: 0 |
|
use_positional_encoding: true |
|
norm_before: true |
|
|
|
SBtfinter: &id003 !new:speechbrain.lobes.models.dual_path.SBTransformerBlock |
|
num_layers: 8 |
|
d_model: 256 |
|
nhead: 8 |
|
d_ffn: 1024 |
|
dropout: 0 |
|
use_positional_encoding: true |
|
norm_before: true |
|
|
|
MaskNet: &id006 !new:speechbrain.lobes.models.dual_path.Dual_Path_Model |
|
|
|
num_spks: 3 |
|
in_channels: 256 |
|
out_channels: 256 |
|
num_layers: 2 |
|
K: 250 |
|
intra_model: *id002 |
|
inter_model: *id003 |
|
norm: ln |
|
linear_layer_after_inter_intra: false |
|
skip_around_intra: true |
|
|
|
Decoder: &id005 !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.0005 |
|
weight_decay: 0 |
|
|
|
loss: !name:speechbrain.nnet.losses.get_si_snr_with_pitwrapper |
|
|
|
lr_scheduler: !new:speechbrain.nnet.schedulers.ReduceLROnPlateau |
|
factor: 0.5 |
|
patience: 2 |
|
dont_halve_until_epoch: 5 |
|
|
|
epoch_counter: &id007 !new:speechbrain.utils.epoch_loop.EpochCounter |
|
|
|
|
|
limit: 50 |
|
|
|
modules: |
|
encoder: *id004 |
|
decoder: *id005 |
|
masknet: *id006 |
|
checkpointer: !new:speechbrain.utils.checkpoints.Checkpointer |
|
checkpoints_dir: results/sepformer-libri3mix-48k/1234/save |
|
recoverables: |
|
encoder: *id004 |
|
decoder: *id005 |
|
masknet: *id006 |
|
counter: *id007 |
|
train_logger: !new:speechbrain.utils.train_logger.FileTrainLogger |
|
save_file: results/sepformer-libri3mix-48k/1234/train_log.txt |
|
|
|
|
|
pretrainer: !new:speechbrain.utils.parameter_transfer.Pretrainer |
|
loadables: |
|
encoder: !ref <Encoder> |
|
masknet: !ref <MaskNet> |
|
decoder: !ref <Decoder> |
|
|