|
Algorithm 1 Training AdvFace in dodging attack |
Input:
Training Glasses Dataset
f Training Face Dataset
Cosine similarity between an image pair obtained by face matcher
Generator with weight
Discriminator with
m Batch size
Learning size
-
1:
for number of training iterations do
-
2:
Sample a batch of probes
-
3:
Sample a batch of origin face images
-
4:
-
5:
-
6:
-
7:
-
8:
-
9:
-
10:
-
11:
-
12:
-
13:
end for
|