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}
}