-
Notifications
You must be signed in to change notification settings - Fork 0
/
hparams.yaml
60 lines (53 loc) · 1.06 KB
/
hparams.yaml
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
default: &DEFAULT
num_epochs: 1000
batch_size: 256
audio_processed_path: "data.json"
preprocess:
<<: *DEFAULT
audio_dir: "Data/genres_original"
image_dir: "Data/images_original"
sample_rate: 22050
n_fft: 2048
n_mfcc: 13
hop_length: 512
track_duration: 30
num_segments: 10
ignored_audio: "Data/genres_original/jazz/jazz.00054.wav"
MLP:
<<: *DEFAULT
model_name: MLP
checkpoint_path: "checkpoints/mlp.pth"
log_path: 'logs/mlp.json'
num_epochs: 500
batch_size: 32
lr: 0.0001
patience: 20
CNN:
<<: *DEFAULT
model_name: CNN
checkpoint_path: "checkpoints/cnn.pth"
log_path: 'logs/cnn.json'
num_epochs: 100
batch_size: 32
lr: 0.0001
patience: 10
LSTM:
<<: *DEFAULT
model_name: LSTM
checkpoint_path: "checkpoints/lstm.pth"
log_path: 'logs/lstm.json'
num_epochs: 500
batch_size: 32
lr: 0.0001
patience: 20
hidden_size: 64
GRU:
<<: *DEFAULT
model_name: GRU
checkpoint_path: "checkpoints/gru.pth"
log_path: 'logs/gru.json'
num_epochs: 500
batch_size: 32
lr: 0.0001
patience: 10
hidden_size: 64