forked from espnet/espnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request espnet#4110 from earthmanylf/dpclanddan
Merge Deep Clustering and Deep Attractor Network to enh separator
- Loading branch information
Showing
31 changed files
with
1,493 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
optim: adam | ||
init: xavier_uniform | ||
max_epoch: 100 | ||
batch_type: folded | ||
batch_size: 8 | ||
iterator_type: chunk | ||
chunk_length: 32000 | ||
num_workers: 4 | ||
optim_conf: | ||
lr: 1.0e-04 | ||
eps: 1.0e-08 | ||
weight_decay: 1.0e-7 | ||
patience: 10 | ||
val_scheduler_criterion: | ||
- valid | ||
- loss | ||
best_model_criterion: | ||
- - valid | ||
- si_snr | ||
- max | ||
- - valid | ||
- loss | ||
- min | ||
keep_nbest_models: 1 | ||
scheduler: reducelronplateau | ||
scheduler_conf: | ||
mode: min | ||
factor: 0.7 | ||
patience: 1 | ||
|
||
# A list for criterions | ||
# The overlall loss in the multi-task learning will be: | ||
# loss = weight_1 * loss_1 + ... + weight_N * loss_N | ||
# The default `weight` for each sub-loss is 1.0 | ||
criterions: | ||
# The first criterion | ||
- name: mse | ||
conf: | ||
compute_on_mask: False | ||
mask_type: PSM | ||
# the wrapper for the current criterion | ||
# PIT is widely used in the speech separation task | ||
wrapper: pit | ||
wrapper_conf: | ||
weight: 1.0 | ||
|
||
encoder: stft | ||
encoder_conf: | ||
n_fft: 256 | ||
hop_length: 64 | ||
decoder: stft | ||
decoder_conf: | ||
n_fft: 256 | ||
hop_length: 64 | ||
separator: dan | ||
separator_conf: | ||
rnn_type: blstm | ||
num_spk: 2 | ||
nonlinear: tanh | ||
layer: 4 | ||
unit: 600 | ||
dropout: 0.1 | ||
emb_D: 20 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
optim: adam | ||
init: xavier_uniform | ||
max_epoch: 100 | ||
batch_type: folded | ||
batch_size: 8 | ||
num_workers: 4 | ||
optim_conf: | ||
lr: 1.0e-03 | ||
eps: 1.0e-08 | ||
weight_decay: 1.0e-7 | ||
patience: 10 | ||
val_scheduler_criterion: | ||
- valid | ||
- loss | ||
best_model_criterion: | ||
- - valid | ||
- si_snr | ||
- max | ||
- - valid | ||
- loss | ||
- min | ||
keep_nbest_models: 1 | ||
scheduler: reducelronplateau | ||
scheduler_conf: | ||
mode: min | ||
factor: 0.7 | ||
patience: 1 | ||
|
||
# A list for criterions | ||
# The overlall loss in the multi-task learning will be: | ||
# loss = weight_1 * loss_1 + ... + weight_N * loss_N | ||
# The default `weight` for each sub-loss is 1.0 | ||
criterions: | ||
# The first criterion | ||
- name: dpcl | ||
conf: | ||
loss_type: dpcl # "dpcl" or "mdc", "dpcl" means the origin loss in Deep Clustering and "mdc" means Manifold-Aware Deep Clustering | ||
# the wrapper for the current criterion | ||
# PIT is widely used in the speech separation task | ||
wrapper: dpcl | ||
wrapper_conf: | ||
weight: 1.0 | ||
|
||
encoder: stft | ||
encoder_conf: | ||
n_fft: 256 | ||
hop_length: 128 | ||
decoder: stft | ||
decoder_conf: | ||
n_fft: 256 | ||
hop_length: 128 | ||
separator: dpcl | ||
separator_conf: | ||
rnn_type: blstm | ||
num_spk: 2 | ||
nonlinear: relu | ||
layer: 2 | ||
unit: 500 | ||
dropout: 0.1 | ||
emb_D: 40 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
optim: adam | ||
init: xavier_uniform | ||
max_epoch: 100 | ||
batch_type: folded | ||
batch_size: 8 | ||
num_workers: 4 | ||
optim_conf: | ||
lr: 1.0e-03 | ||
eps: 1.0e-08 | ||
weight_decay: 1.0e-7 | ||
patience: 10 | ||
val_scheduler_criterion: | ||
- valid | ||
- loss | ||
best_model_criterion: | ||
- - valid | ||
- si_snr | ||
- max | ||
- - valid | ||
- loss | ||
- min | ||
keep_nbest_models: 1 | ||
scheduler: reducelronplateau | ||
scheduler_conf: | ||
mode: min | ||
factor: 0.7 | ||
patience: 1 | ||
|
||
# A list for criterions | ||
# The overlall loss in the multi-task learning will be: | ||
# loss = weight_1 * loss_1 + ... + weight_N * loss_N | ||
# The default `weight` for each sub-loss is 1.0 | ||
criterions: | ||
# The first criterion | ||
- name: mse | ||
conf: | ||
compute_on_mask: False | ||
mask_type: PSM | ||
# the wrapper for the current criterion | ||
# PIT is widely used in the speech separation task | ||
wrapper: pit | ||
wrapper_conf: | ||
weight: 1.0 | ||
|
||
encoder: stft | ||
encoder_conf: | ||
n_fft: 256 | ||
hop_length: 128 | ||
decoder: stft | ||
decoder_conf: | ||
n_fft: 256 | ||
hop_length: 128 | ||
separator: dpcl_e2e | ||
separator_conf: | ||
rnn_type: blstm | ||
num_spk: 2 | ||
nonlinear: relu | ||
layer: 2 | ||
unit: 500 | ||
dropout: 0.1 | ||
emb_D: 40 | ||
alpha: 5.0 | ||
max_iteration: 100 | ||
threshold: 1.0e-05 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
optim: adam | ||
init: xavier_uniform | ||
max_epoch: 100 | ||
batch_type: folded | ||
batch_size: 8 | ||
num_workers: 4 | ||
optim_conf: | ||
lr: 1.0e-03 | ||
eps: 1.0e-08 | ||
weight_decay: 1.0e-7 | ||
patience: 10 | ||
val_scheduler_criterion: | ||
- valid | ||
- loss | ||
best_model_criterion: | ||
- - valid | ||
- si_snr | ||
- max | ||
- - valid | ||
- loss | ||
- min | ||
keep_nbest_models: 1 | ||
scheduler: reducelronplateau | ||
scheduler_conf: | ||
mode: min | ||
factor: 0.7 | ||
patience: 1 | ||
|
||
# A list for criterions | ||
# The overlall loss in the multi-task learning will be: | ||
# loss = weight_1 * loss_1 + ... + weight_N * loss_N | ||
# The default `weight` for each sub-loss is 1.0 | ||
criterions: | ||
# The first criterion | ||
- name: dpcl | ||
conf: | ||
loss_type: mdc # "dpcl" or "mdc", "dpcl" means the origin loss in Deep Clustering and "mdc" means Manifold-Aware Deep Clustering | ||
# the wrapper for the current criterion | ||
# PIT is widely used in the speech separation task | ||
wrapper: dpcl | ||
wrapper_conf: | ||
weight: 1.0 | ||
|
||
encoder: stft | ||
encoder_conf: | ||
n_fft: 256 | ||
hop_length: 128 | ||
decoder: stft | ||
decoder_conf: | ||
n_fft: 256 | ||
hop_length: 128 | ||
separator: dpcl | ||
separator_conf: | ||
rnn_type: blstm | ||
num_spk: 2 | ||
nonlinear: relu | ||
layer: 2 | ||
unit: 500 | ||
dropout: 0.1 | ||
emb_D: 40 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.