-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathconfig_cifar100.json
128 lines (107 loc) · 2.44 KB
/
config_cifar100.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "cifar100_PreActResNet18",
"n_gpu": 1,
"seed": 666,
"comet": {
"project_name": "",
"api": "",
"offline": false
},
"mixup": {
"alpha": 0
},
"arch": {
"type": "PreActResNet18",
"args": {"num_classes":100}
},
"reparam_arch": {
"type": "reparameterization",
"args": {
"n_samples": 50000,
"num_classes": 100,
"init": "gaussian",
"mean": 0.0,
"std": 1e-8
}
},
"num_classes": 100,
"data_augmentation":{
"type": "autoaug_cifar10",
"cutout": 16
},
"data_loader": {
"type": "CIFAR100DataLoader",
"args":{
"data_dir": "",
"batch_size": 128,
"shuffle": true,
"num_batches": 0,
"validation_split": 0,
"num_workers": 8,
"pin_memory": true
}
},
"optimizer": {
"type": "SGD",
"args":{
"lr": 0.02,
"momentum": 0.9,
"weight_decay": 1e-3
}
},
"optimizer_overparametrization": {
"type": "SGD",
"args":{
"lr": 1,
"momentum": 0,
"weight_decay": 0
}
},
"lr_u": 1,
"lr_v": 10,
"train_loss": {
"type": "overparametrization_loss",
"args":{
"num_examp": 50000,
"num_classes": 100,
"ratio_consistency": 0.9,
"ratio_balance": 0.1
}
},
"val_loss": {
"type": "cross_entropy_val",
"args":{
}
},
"metrics": [
"my_metric", "my_metric2"
],
"lr_scheduler": {
"type": "CosineAnnealingLR",
"args": {
"T_max": 300,
"eta_min": 0.0002
}
},
"trainer": {
"epochs": 300,
"warmup": 0,
"save_dir": "",
"save_period": 1,
"verbosity": 2,
"monitor": "max val_my_metric",
"early_stop": 2000,
"tensorboard": false,
"mlflow": true,
"_percent": "Percentage of noise",
"percent": 0.6,
"_begin": "When to begin updating labels",
"begin": 0,
"_asym": "symmetric noise if false",
"asym": false,
"_instance": "symmetric noise if false",
"instance": false,
"_real": "real noise type",
"real": null
}
}