-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_SPEECHCOMMANDS.yml
107 lines (95 loc) · 2.47 KB
/
config_SPEECHCOMMANDS.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# parameters configuration
mode: train
root: data/
predefined_dataset: SPEECHCOMMANDS
classes: ["clean", "mixed"]
max_samples: null
batch_size: 32
num_workers: 0
device: cuda
sample_rate: 16000
lr: 1e-3
model_name: src/SelfDefinedModel.py
in_chans: 1
hidden_chans: 32
chans_scale: 2
depth: 5
loss_function_name: L1Loss
checkpoint_path: null
seed: 0
early_stopping: True
patience: 3
default_root_dir: save/
gpus: -1
precision: 32
max_epochs: 100
max_waveform_length: 16000
web_interface: True
examples:
[
"examples/SPEECHCOMMANDS/32ad5b65_nohash_2.wav",
"examples/SPEECHCOMMANDS/32ad5b65_nohash_2_snr_-20.wav",
"examples/SPEECHCOMMANDS/3a33d3a4_nohash_2.wav",
"examples/SPEECHCOMMANDS/3a33d3a4_nohash_2_snr_-20.wav",
"examples/SPEECHCOMMANDS/3ca784ec_nohash_0.wav",
"examples/SPEECHCOMMANDS/3ca784ec_nohash_0_snr_-20.wav",
"examples/SPEECHCOMMANDS/4c3cddb8_nohash_4.wav",
"examples/SPEECHCOMMANDS/4c3cddb8_nohash_4_snr_-20.wav",
"examples/SPEECHCOMMANDS/ab5d7179_nohash_0.wav",
"examples/SPEECHCOMMANDS/ab5d7179_nohash_0_snr_-20.wav",
]
tuning_test: False
cpu_resources_per_trial: 1
gpu_resources_per_trial: 1
num_samples: 100
# transforms configuration
transforms_config:
train:
PadWaveform:
max_waveform_length: 16000 #should be the same as max_waveform_length
val:
PadWaveform:
max_waveform_length: 16000 #should be the same as max_waveform_length
test:
PadWaveform:
max_waveform_length: 16000 #should be the same as max_waveform_length
predict:
PadWaveform:
max_waveform_length: 16000 #should be the same as max_waveform_length
# target transforms configuration
target_transforms_config:
train:
PadWaveform:
max_waveform_length: 16000 #should be the same as max_waveform_length
val:
PadWaveform:
max_waveform_length: 16000 #should be the same as max_waveform_length
test:
PadWaveform:
max_waveform_length: 16000 #should be the same as max_waveform_length
predict:
PadWaveform:
max_waveform_length: 16000 #should be the same as max_waveform_length
# optimizers configuration
optimizers_config:
Adam:
betas:
- 0.9
- 0.999
eps: 1e-08
weight_decay: 0
amsgrad: False
# learning rate schedulers configuration
lr_schedulers_config:
CosineAnnealingLR:
T_max: 10
# hyperparameter space configuration
hyperparameter_space_config:
lr:
uniform:
lower: 1e-4
upper: 1e-1
max_epochs:
randint:
lower: 10
upper: 200