-
Notifications
You must be signed in to change notification settings - Fork 20
/
config.json
58 lines (57 loc) · 1.25 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
52
53
54
55
56
57
58
{
"name": "ImageNet_LT_ResNeXt50_SADE",
"n_gpu": 2,
"arch": {
"type": "ResNeXt50Model",
"args": {
"num_classes": 1000,
"reduce_dimension": true,
"use_norm": true,
"returns_feat": true,
"num_experts": 3
}
},
"data_loader": {
"type": "ImageNetLTDataLoader",
"args":{
"data_dir": "./data/imagenet",
"batch_size": 64,
"shuffle": true,
"num_workers": 12
}
},
"optimizer": {
"type": "SGD",
"args":{
"lr": 0.025,
"weight_decay": 5e-4,
"momentum": 0.9,
"nesterov": true
}
},
"add_extra_info": true,
"loss": {
"type": "DiverseExpertLoss",
"args":{
"tau": 2
}
},
"metrics": [
"accuracy"
],
"lr_scheduler": {
"type": "CosineAnnealingLR",
"args": {
"T_max": 100,
"eta_min": 0
}
},
"trainer": {
"epochs": 180,
"save_dir": "saved/imagenet/sade_e180_inv2_bs64_lr0.025",
"save_period": 180,
"verbosity": 2,
"monitor": "max val_accuracy",
"tensorboard": false
}
}