-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.json
51 lines (51 loc) · 1.05 KB
/
config.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
{
"name": "GraphVAE",
"n_gpu": 1,
"arch": {
"type": "GraphVAE",
"args": {
"input_dim": 784,
"n_nodes": 5,
"node_dim": 1
}
},
"data_loader": {
"type": "MnistDataLoader",
"args": {
"data_dir": "data/",
"batch_size": 1024,
"shuffle": false,
"validation_split": 0.2,
"num_workers": 0
}
},
"optimizer": {
"type": "Adam",
"args": {
"lr": 0.001,
"weight_decay": 0,
"amsgrad": true
}
},
"loss": "loss_MNIST",
"metrics": [
"map_compare"
],
"lr_scheduler": {
"type": "StepLR",
"args": {
"step_size": 100,
"gamma": 0.8
}
},
"trainer": {
"epochs": 10000,
"save_dir": "saved/",
"save_period": 50,
"verbosity": 2,
"monitor": "off",
"early_stop": 10000,
"tensorboardX": true,
"log_dir": "saved/runs"
}
}