LightCNN
1.0.0
Xiang Wu的Pytorch the Pytorch实施,用于深脸代表,并用Xiang Wu的噪声标签运行,Ran He,Zhenan Sun和Tieniu Tan。可以在此处找到官方和原始的咖啡式代码。
100% - EER达到99.43% 。100% - EER可实现99.40% 。100% - EER获得98.70% 。下载face数据集,例如Casia-Webface,VGG-FACE和MS-CELEB-1M。
所有脸部图像均转换为灰度图像,并根据地标将标准归归一化为144x144 。
根据五个面部点,我们不仅水平旋转两个眼点,而且还设置了眼中点与嘴中点之间的距离(EC_MC_Y)和眼中的Y轴(EC_Y)。
对齐的LFW图像上传在百度Yun上。
| 数据集 | 尺寸 | EC_MC_Y | ec_y |
|---|---|---|---|
| 训练集 | 144x144 | 48 | 48 |
| 测试集 | 128x128 | 48 | 40 |
train.py中列出的参数作为标志或手动更改它们。 python train.py --root_path=/path/to/your/datasets/
--train_list=/path/to/your/train/list.txt
--val_list=/path/to/your/val/list.txt
--save_path=/path/to/your/save/path/
--model= " LightCNN-9/LightCNN-29 " --num_classes=nload_imglist.py中。或者,您可以使用torchvision.datasets.ImageFolder加载数据集。num_classes表示培训数据集中的身份数量。num_classes为80013 。 python extract_features.py --resume=/path/to/your/model
--root_path=/path/to/your/datasets/
--img_list=/path/to/your/list.txt
--save_path=/path/to/your/save/path/
--model="LightCNN-9/LightCNN-29/LightCNN-29v2"
--num_classes=n (79077 for LightCNN-9/LightCNN-29, 80013 for LightCNN-29v2)
vlfeat或sklearn来评估ROC上的功能,并为您的测试数据集获取EER和TPR@FPR 。train.py中找到。LFW 6,000对的轻型CNN性能。
| 模型 | 100% - eer | tpr@far = 1% | tpr@far=0.1% | TPR@far = 0 |
|---|---|---|---|---|
| Lightcnn-9 | 98.70% | 98.47% | 95.13% | 89.53% |
| Lightcnn-29 | 99.40% | 99.43% | 98.67% | 95.70% |
| Lightcnn-29v2 | 99.43% | 99.53% | 99.30% | 96.77% |
| Lightcnn V4 | 99.67% | 99.67% | 99.57% | 99.27% |
LFW BLUFR协议上的光CNN性能
| 模型 | vr@far = 0.1% | dir@far = 1% |
|---|---|---|
| Lightcnn-9 | 96.80% | 83.06% |
| Lightcnn-29 | 98.95% | 91.33% |
| Lightcnn-29v2 | 99.41% | 94.43% |
Megaface上的Light CNN性能
| 模型 | 排名1 | TPR@far = 1e-6 |
|---|---|---|
| Lightcnn-9 | 65.782% | 76.288% |
| Lightcnn-29 | 72.704% | 85.891% |
| Lightcnn-29v2 | 76.021% | 89.740% |
如果您使用我们的模型,请引用以下论文:
@article{wu2018light,
title={A light CNN for deep face representation with noisy labels},
author={Wu, Xiang and He, Ran and Sun, Zhenan and Tan, Tieniu},
journal={IEEE Transactions on Information Forensics and Security},
volume={13},
number={11},
pages={2884--2896},
year={2018},
publisher={IEEE}
}