forked from yjlolo/vae-audio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_gmvae.json
58 lines (54 loc) · 1.25 KB
/
config_gmvae.json
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
{
"name": "Conv1dGMVAE",
"n_gpu": 1,
"arch": {
"type": "Conv1dGMVAE",
"args": {
"input_size": [128, 251],
"latent_dim": 16,
"n_component": 12,
"pow_exp": 0,
"logvar_trainable": false,
"is_featExtract": false
}
},
"data_loader": {
"type": "NsynthSubsetLoader",
"args":{
"data_dir": "/data/yinjyun/datasets/nsynth/subset/nsyn-mel-128-4",
"batch_size": 256,
"shuffle": true,
"validation_split": 0.1,
"num_workers": 0
}
},
"optimizer": {
"type": "Adam",
"args":{
"lr": 0.001,
"weight_decay": 0,
"amsgrad": true
}
},
"loss": "gmvae_loss",
"metrics": [
"my_metric", "my_metric2"
],
"lr_scheduler": {
"type": "StepLR",
"args": {
"step_size": 50,
"gamma": 0.1
}
},
"trainer": {
"type": "GMVAETrainer",
"epochs": 1000,
"save_dir": "saved/",
"save_period": 10,
"verbosity": 2,
"monitor": "min val_loss",
"early_stop": 20,
"tensorboardX": true
}
}