You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -33,8 +38,7 @@ This repo illustrates how to implement MobileFaceNet and Arcface for face recogn
33
38
MobileFaceNet_Step_by_Step.ipynb
34
39
```
35
40
## Train
36
-
Download training and evaluation data from [Model Zoo](https://github.com/deepinsight/insightface/wiki/Dataset-Zoo).
37
-
Put images and annotation files into "data_set" folder. The structure should be arranged as follows:
41
+
Download training and evaluation data from [Model Zoo](https://github.com/deepinsight/insightface/wiki/Dataset-Zoo). All training data has been cropped, aligned and resized as 112 x 112. Put images and annotation files into "data_set" folder. The structure should be arranged as follows:
38
42
```
39
43
data_set/
40
44
---> AgeDB-30
@@ -43,11 +47,11 @@ Put images and annotation files into "data_set" folder. The structure should be
43
47
---> faces_emore_images
44
48
---> LFW
45
49
```
46
-
1.Convert .bin and .rec file to images
50
+
1.The following script is provided to convert .bin and .rec file to images:
47
51
```
48
52
python data_set/load_images_from_bin.py
49
53
```
50
-
2. Generate annotation file
54
+
2. Generate the corresponding annotation files
51
55
```
52
56
python data_set/anno_generation.py
53
57
```
@@ -59,7 +63,8 @@ Put images and annotation files into "data_set" folder. The structure should be
59
63
```
60
64
MobileFaceNet_Training_Step_by_Step.ipynb
61
65
```
62
-
The training results are shown below:
66
+
The training results over faces_emore data (5822653 images / 85742 ids) are shown below:
@@ -69,7 +74,7 @@ The training results are shown below:
69
74
```
70
75
python Evaluation.py
71
76
```
72
-
Here is the evaluation result. 'Flip' the image can be applied to encode the embedding feature vector with ~ 0.07% higer accuracy. L2 distance score slightly outperforms cos similarity (not necessarily the same trend for other cases, but it is what we conclude in this work)
77
+
Here is the evaluation result. 'Flip' the image could be applied to encode the embedding feature vector with ~ 0.07% higer accuracy. L2 distance score slightly outperforms cos similarity (not necessarily the same trend for other cases, but it is what we conclude in this work)
0 commit comments