demucs + vctk 3 sec
This commit is contained in:
parent
3014a41501
commit
32da7b347c
|
|
@ -47,9 +47,9 @@ def main(config: DictConfig):
|
||||||
callbacks.append(checkpoint)
|
callbacks.append(checkpoint)
|
||||||
if parameters.get("Early_stop", False):
|
if parameters.get("Early_stop", False):
|
||||||
early_stopping = EarlyStopping(
|
early_stopping = EarlyStopping(
|
||||||
monitor="val_loss",
|
monitor=f"valid_{parameters.get('EarlyStopping_metric','loss')}",
|
||||||
mode=direction,
|
mode=direction,
|
||||||
min_delta=0.0,
|
min_delta=parameters.get("EarlyStopping_delta", 0.00),
|
||||||
patience=parameters.get("EarlyStopping_patience", 10),
|
patience=parameters.get("EarlyStopping_patience", 10),
|
||||||
strict=True,
|
strict=True,
|
||||||
verbose=False,
|
verbose=False,
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
defaults:
|
defaults:
|
||||||
- model : Demucs
|
- model : Demucs
|
||||||
- dataset : DNS-2020
|
- dataset : Vctk
|
||||||
- optimizer : Adam
|
- optimizer : Adam
|
||||||
- hyperparameters : default
|
- hyperparameters : default
|
||||||
- trainer : default
|
- trainer : default
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
_target_: enhancer.data.dataset.EnhancerDataset
|
_target_: enhancer.data.dataset.EnhancerDataset
|
||||||
name : vctk
|
name : vctk
|
||||||
root_dir : /scratch/c.sistc3/DS_10283_2791
|
root_dir : /scratch/c.sistc3/DS_10283_2791
|
||||||
duration : 1.5
|
duration : 3
|
||||||
sampling_rate: 16000
|
sampling_rate: 16000
|
||||||
batch_size: 256
|
batch_size: 128
|
||||||
valid_size : 0.05
|
valid_size : 0.025
|
||||||
|
|
||||||
files:
|
files:
|
||||||
train_clean : clean_trainset_28spk_wav
|
train_clean : clean_trainset_28spk_wav
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,5 @@ lr : 0.001
|
||||||
ReduceLr_patience : 10
|
ReduceLr_patience : 10
|
||||||
ReduceLr_factor : 0.5
|
ReduceLr_factor : 0.5
|
||||||
min_lr : 0.00
|
min_lr : 0.00
|
||||||
|
early_stop : True
|
||||||
EarlyStopping_factor : 10
|
EarlyStopping_factor : 10
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ limit_test_batches: 1.0
|
||||||
limit_train_batches: 1.0
|
limit_train_batches: 1.0
|
||||||
limit_val_batches: 1.0
|
limit_val_batches: 1.0
|
||||||
log_every_n_steps: 100
|
log_every_n_steps: 100
|
||||||
max_epochs: 250
|
max_epochs: 300
|
||||||
max_time: 00:47:00:00
|
max_time: 00:47:00:00
|
||||||
min_epochs: 1
|
min_epochs: 1
|
||||||
min_steps: null
|
min_steps: null
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue