-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.s1.yaml
88 lines (81 loc) · 1.16 KB
/
config.s1.yaml
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
MODEL:
BACKBONE:
TYP:
'se_resnext50_32x4d'
FREEZED:
False
CLASSIFIER:
CATEGORY_NUM:
32093
BIAS:
True
CRITERION:
TYP:
'CrossEntropy'
SESSION:
NAME:
'baseline'
SAVE_STEP:
5
SHOW_STEP:
10
VAL_STEP:
1000
MAX_EPOCH:
100
SAVEPATH:
'./checkpoints'
RESUME:
latest.pth
OPTIMIZER:
BASE_LR:
0.2
TYP:
'SGD'
WEIGHT_DECAY:
1e-4
MOMENTUM:
0.4
NESTEROV:
True
LR_SCHEDULER:
TYP:
'multistep'
LR_STEP:
- 5
- 10
- 15
LR_FACTOR:
0.1
TRAIN_DATA:
PATH:
'big_sep_train.txt'
BATCHSIZE: # for each gpu
16
NUM_WORKERS:
4
SAMPLER:
'default'
SHUFFLE:
True
TRANSFORMS:
- ('binary_crop', None)
- ('random_rotation', 10)
- ('resize', (448, 448))
- ('to_tensor', None)
- ('normalize', ([0.485, 0.456, 0.406], [0.229, 0.224, 0.225]))
VAL_DATA:
PATH:
'small_sep_val.txt'
BATCHSIZE: # for each gpu
128
NUM_WORKERS:
4
SAMPLER:
'default'
SHUFFLE:
False
TRANSFORMS:
- ('resize', (448, 448))
- ('to_tensor', None)
- ('normalize', ([0.485, 0.456, 0.406], [0.229, 0.224, 0.225]))