-
Notifications
You must be signed in to change notification settings - Fork 6
/
config_cifar10_standard.json
79 lines (68 loc) · 1.71 KB
/
config_cifar10_standard.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
{
"name": "Experiment",
"n_gpu": 1,
"seed": 12,
"comet": {
"api": "**comet key**",
"offline": true
},
"arch": {
"type": "resnet18",
"args": {"num_classes": 10,
"norm_layer_type": "no",
"conv_layer_type": "prec_conv",
"linear_layer_type": "linear",
"activation_layer_type": "relu"}
},
"num_classes": 10,
"data_loader": {
"type": "CIFAR10DataLoader",
"args":{
"data_dir": "**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.1,
"momentum": 0.9,
"weight_decay": 1e-4
}
},
"train_loss": "cross_entropy",
"val_loss": "cross_entropy",
"metrics": [
"my_metric", "my_metric2"
],
"lr_scheduler": {
"type": "MultiStepLR",
"args": {
"milestones": [40, 80],
"gamma": 0.1
}
},
"trainer": {
"epochs": 120,
"save_dir": "saved/",
"save_period": 1,
"verbosity": 2,
"label_dir": "saved/",
"monitor": "max val_my_metric",
"early_stop": 2000,
"_percent": "Percentage of noise",
"percent": 0.0,
"_subset_percent": "Percentage of training data to use",
"subset_percent": 1.0,
"_asym": "Asymmetric noise if true",
"asym": false,
"_sym": "Symmetric noise if true",
"sym": false,
"do_adv": false
}
}