-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yaml
171 lines (170 loc) · 5.61 KB
/
config.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
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
triplet_model:
dataset:
num_triplets: 2000
batch_size: 64
num_workers: 8
root_dir: '/content/drive/MyDrive/Labelled Faces In The Wild Dataset/lfw-deepfunneled/lfw-deepfunneled_cropped'
save_dir: '/content/drive/MyDrive/MFNet/checkpoints/'
val_size: 0.2
test_size: 0.2
model:
pretrain_checkpoint: 'casia-webface'
last_ckpt_name: 'triplet_model_last.pt'
best_ckpt_name: 'triplet_model_best.pt'
fc_only: False
except_fc: True
train_all: True
training_params:
num_epochs: 10
step_size: 50
learning_rate: 0.001
margin: 0.05
logs_dir: '/content/drive/MyDrive/MFNet/logs_triplet_model'
triplet_model_surgical:
dataset:
num_triplets: 2000
batch_size: 64
num_workers: 8
root_dir: '/content/drive/MyDrive/Labelled Faces In The Wild Dataset/lfw-deepfunneled/lfw-deepfunneled_masked_surgical_cropped'
save_dir: '/content/drive/MyDrive/MFNet/checkpoints/'
val_size: 0.2
test_size: 0.2
model:
pretrain_checkpoint: 'casia-webface'
last_ckpt_name: 'triplet_model_surgical_last.pt'
best_ckpt_name: 'triplet_model_surgical_best.pt'
fc_only: False
except_fc: True
train_all: True
training_params:
num_epochs: 10
step_size: 50
learning_rate: 0.001
margin: 0.05
logs_dir: '/content/drive/MyDrive/MFNet/logs_triplet_model_surgical'
triplet_model_KN95:
dataset:
num_triplets: 2000
batch_size: 64
num_workers: 8
root_dir: '/content/drive/MyDrive/Labelled Faces In The Wild Dataset/lfw-deepfunneled/lfw-deepfunneled_masked_KN95_cropped'
save_dir: '/content/drive/MyDrive/MFNet/checkpoints/'
val_size: 0.2
test_size: 0.2
model:
pretrain_checkpoint: 'casia-webface'
last_ckpt_name: 'triplet_model_KN95_last.pt'
best_ckpt_name: 'triplet_model_KN95_best.pt'
fc_only: False
except_fc: True
train_all: True
training_params:
num_epochs: 10
step_size: 50
learning_rate: 0.001
margin: 0.05
logs_dir: '/content/drive/MyDrive/MFNet/logs_triplet_model_KN95'
quadtriplet_model_surgical:
dataset:
num_triplets: 2000
batch_size: 64
num_workers: 8
root_dir_original: '/content/drive/MyDrive/Labelled Faces In The Wild Dataset/lfw-deepfunneled/lfw-deepfunneled_cropped'
root_dir_masked: '/content/drive/MyDrive/Labelled Faces In The Wild Dataset/lfw-deepfunneled/lfw-deepfunneled_masked_surgical_cropped'
save_dir: '/content/drive/MyDrive/MFNet/checkpoints'
val_size: 0.2
test_size: 0.2
model:
pretrain_checkpoint: 'casia-webface'
last_ckpt_name: 'quadtriplet_model_original_surgical_last.pt'
best_ckpt_name: 'quadtriplet_model_original_surgical_best.pt'
fc_only: False
except_fc: True
train_all: True
training_params:
num_epochs: 10
step_size: 50
learning_rate: 0.001
alpha1 : 0.05
alpha2 : 0.05
alpha3 : 0.05
alpha4 : 0.05
logs_dir: '/content/drive/MyDrive/MFNet/logs_quadtriplet_model_surgical'
triplet_meauh_model_surgical:
dataset:
num_triplets: 2000
batch_size: 64
num_workers: 8
root_dir_original: '/content/drive/MyDrive/Labelled Faces In The Wild Dataset/lfw-deepfunneled/lfw-deepfunneled_cropped'
root_dir_masked: '/content/drive/MyDrive/Labelled Faces In The Wild Dataset/lfw-deepfunneled/lfw-deepfunneled_masked_surgical_cropped'
save_dir: '/content/drive/MyDrive/MFNet/checkpoints'
val_size: 0.2
test_size: 0.2
model:
pretrain_checkpoint: 'casia-webface'
last_ckpt_name: 'triplet_meauh_model_surgical_last.pt'
best_ckpt_name: 'triplet_meauh_model_surgical_best.pt'
fc_only: False
except_fc: True
train_all: True
training_params:
num_epochs: 10
step_size: 50
learning_rate: 0.001
alpha1 : 0.05
alpha2 : 0.05
alpha3 : 0.05
alpha4 : 0.05
logs_dir: '/content/drive/MyDrive/MFNet/logs_triplet_meauh_model_surgical'
quadtriplet_model_KN95:
dataset:
num_triplets: 2000
batch_size: 64
num_workers: 8
root_dir_original: '/content/drive/MyDrive/Labelled Faces In The Wild Dataset/lfw-deepfunneled/lfw-deepfunneled_cropped'
root_dir_masked: '/content/drive/MyDrive/Labelled Faces In The Wild Dataset/lfw-deepfunneled/lfw-deepfunneled_masked_KN95_cropped'
save_dir: '/content/drive/MyDrive/MFNet/checkpoints'
val_size: 0.2
test_size: 0.2
model:
pretrain_checkpoint: 'casia-webface'
last_ckpt_name: 'quadtriplet_model_original_KN95_last.pt'
best_ckpt_name: 'quadtriplet_model_original_KN95_best.pt'
fc_only: False
except_fc: True
train_all: True
training_params:
num_epochs: 10
step_size: 50
learning_rate: 0.001
alpha1 : 0.05
alpha2 : 0.05
alpha3 : 0.05
alpha4 : 0.05
logs_dir: '/content/drive/MyDrive/MFNet/logs_quadtriplet_model_KN95'
quadtriplet_model_test:
dataset:
num_triplets: 100
batch_size: 64
num_workers: 8
root_dir_original: '/content/drive/MyDrive/Labelled Faces In The Wild Dataset/lfw-deepfunneled/lfw-deepfunneled_cropped'
root_dir_masked: '/content/drive/MyDrive/Labelled Faces In The Wild Dataset/lfw-deepfunneled/lfw-deepfunneled_masked_surgical_cropped'
save_dir: '/content/drive/MyDrive/MFNet/checkpoints'
val_size: 0.2
test_size: 0.2
model:
pretrain_checkpoint: 'casia-webface'
last_ckpt_name: 'quadtriplet_model_original_surgical_last.pt'
best_ckpt_name: 'quadtriplet_model_original_surgical_best.pt'
fc_only: False
except_fc: True
train_all: True
training_params:
num_epochs: 10
step_size: 50
learning_rate: 0.001
alpha1 : 0.05
alpha2 : 0.05
alpha3 : 0.05
alpha4 : 0.05
logs_dir: '/content/drive/MyDrive/MFNet/logs_quadtriplet_model_surgical_test'