forked from yeon-lab/DREAM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
51 lines (51 loc) · 1.02 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": "DREAM_edf_78",
"n_gpu": 1,
"arch": {
"type": "DREAM",
"args": {}
},
"hyper_params": {
"seq_len": 10,
"num_classes": 5,
"zd_dim": 64,
"zy_dim": 256,
"dim_feedforward":128,
"n_layers": 4,
"aux_loss_y": 3500,
"aux_loss_d": 10500,
"beta_d": 1,
"beta_x": 1,
"beta_y": 1,
"const_weight": 20000,
"warmup": 10
},
"data_loader": {
"args": {
"batch_size": 64,
"num_folds": 10
}
},
"optimizer": {
"type": "Adam",
"args": {
"lr": 0.001,
"weight_decay": 0,
"amsgrad": false
}
},
"loss": "CrossEntropyLoss",
"metrics": [
"accuracy",
"f1",
"confusion"
],
"trainer": {
"epochs": 100,
"save_dir": "saved/",
"save_period": 10,
"verbosity": 2,
"monitor": "max val_accuracy",
"early_stop": 10
}
}