-
Notifications
You must be signed in to change notification settings - Fork 0
/
hyperparameters_regression.py
83 lines (77 loc) · 3.45 KB
/
hyperparameters_regression.py
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
"""
Training and evaluation parameters
"""
train_params = {
'78 100': {
'multilabel-classifier': {
"workers": 10, "is_binary": 0, "eval_test": True, "id": "final", "epochs": 75,
"batch_size": 64, "lr": 0.01, "gamma": 0.95, "wd": 0, "weighted_sampling": 1,
"augment": 0, "image_size": [78, 100], "simulated_data": None,
"max_simulated": -1
},
'regressor': {
"simulated_data": None, "workers": 10, "eval_test": True, "id": "final-small", "epochs": 75,
"batch_size": 64, "lr": 0.01, "gamma": 0.95, "wd": 0.0, "weighted_sampling": 1, "augment": 0,
"image_size": [116, 150], "max_simulated": -1, "arch": "v2"
}
},
'116 150': {
'multilabel-classifier': {
"workers": 10, "is_binary": 0, "eval_test": True, "id": "final", "epochs": 75,
"batch_size": 64, "lr": 0.01, "gamma": 0.95, "wd": 0, "weighted_sampling": 1,
"augment": 0, "image_size": [116, 150], "simulated_data": None,
"max_simulated": -1
},
'regressor': {
"simulated_data": None, "workers": 10, "eval_test": True, "id": "final-small", "epochs": 75,
"batch_size": 64, "lr": 0.01, "gamma": 0.95, "wd": 0.0, "weighted_sampling": 1, "augment": 0,
"image_size": [116, 150], "max_simulated": -1, "arch": "v2"
}
},
'232 300': {
'multilabel-classifier': {
"simulated_data": None, "max_simulated": -1, "workers": 8, "is_binary": 0, "eval_test": True,
"id": "final", "epochs": 75, "batch_size": 16, "lr": 0.01, "gamma": 0.95, "wd": 0,
"weighted_sampling": 1, "augment": 0, "image_size": [232, 300]
},
'regressor': {
"simulated_data": None, "max_simulated": -1, "workers": 8, "is_binary": 0, "eval_test": True,
"id": "final", "epochs": 75, "batch_size": 16, "lr": 0.01, "gamma": 0.95, "wd": 0,
"weighted_sampling": 1, "augment": 1, "image_size": [232, 300]
}
},
'348 450': {
'multilabel-classifier': {
"simulated_data": None, "max_simulated": -1, "workers": 8, "is_binary": 0, "eval_test": True,
"id": "final", "epochs": 75, "batch_size": 8, "lr": 0.01, "gamma": 0.95, "wd": 0,
"weighted_sampling": 1, "augment": 0, "image_size": [348, 450]
},
'regressor': {
"simulated_data": None, "max_simulated": -1, "workers": 8, "is_binary": 0, "eval_test": True,
"id": "final", "epochs": 75, "batch_size": 8, "lr": 0.01, "gamma": 0.95, "wd": 0,
"weighted_sampling": 1, "augment": 0, "image_size": [348, 450]
}
}
}
eval_params = {
'116 150': {
'multilabel-classifier': {
"workers": 10, "batch_size": 100, "image_size": [116, 150], 'tta': True,
'angles': [-2, -1, 0, 1, 2], 'validation': False
},
'regressor': {
"workers": 10, "batch_size": 100, "image_size": [116, 150], 'tta': True,
'angles': [-2, -1, 0, 1, 2], 'validation': False
}
},
'232 300': {
'multilabel-classifier': {
"workers": 10, "batch_size": 100, "image_size": [232, 300], 'tta': True,
'angles': [-2, -1, 0, 1, 2], 'validation': False
},
'regressor': {
"workers": 10, "batch_size": 100, "image_size": [232, 300], 'tta': True,
'angles': [-2, -1, 0, 1, 2], 'validation': False
}
}
}