-
Notifications
You must be signed in to change notification settings - Fork 27
/
train.json
56 lines (56 loc) · 1.25 KB
/
train.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
{
"name": "ResMLP",
"n_gpu": 1,
"amp": true,
"checkpoint": null,
"arch": {
"type": "ResMLP",
"args": {
"dropout": 0.05,
"num_residuals_per_block": 1,
"num_blocks": 2,
"num_classes": 101,
"num_initial_features": 512,
"add_residual": true,
"add_IC": true
}
},
"data_loader": {
"type": "AgeDataLoader",
"args": {
"data_dir": "data/",
"batch_size": 128,
"shuffle": true,
"validation_split": 0,
"num_workers": 8,
"dataset": "imdb_wiki_adience",
"num_classes": 101
}
},
"optimizer": {
"type": "AdamW",
"args": {
"lr": 0.0011670137678831,
"weight_decay": 0.00012337159555124116
}
},
"loss": "cse",
"metrics": [
"accuracy"
],
"lr_scheduler": {
"type": "ExponentialLR",
"args": {
"gamma": 0.3947943239814273
}
},
"trainer": {
"epochs": 5,
"save_dir": "saved/",
"save_period": 1,
"verbosity": 2,
"monitor": "min val_loss",
"early_stop": 5,
"tensorboard": true
}
}