在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:facenet开源软件地址:https://gitee.com/RoseKissYou/facenet开源软件介绍:Face Recognition using TensorflowThis is a TensorFlow implementation of the face recognizer described in the paper"FaceNet: A Unified Embedding for Face Recognition and Clustering". The project also uses ideas from the paper "Deep Face Recognition" from the Visual Geometry Group at Oxford. CompatibilityThe code is tested using Tensorflow r1.7 under Ubuntu 14.04 with Python 2.7 and Python 3.5. The test cases can be found here and the results can be found here. News
Pre-trained models
NOTE: If you use any of the models, please do not forget to give proper credit to those providing the training dataset as well. InspirationThe code is heavily inspired by the OpenFace implementation. Training dataThe CASIA-WebFace dataset has been used for training. This training set consists of total of 453 453 images over 10 575 identities after face detection. Some performance improvement has been seen if the dataset has been filtered before training. Some more information about how this was done will come later.The best performing model has been trained on the VGGFace2 dataset consisting of ~3.3M faces and ~9000 classes. Pre-processingFace alignment using MTCNNOne problem with the above approach seems to be that the Dlib face detector misses some of the hard examples (partial occlusion, silhouettes, etc). This makes the training set too "easy" which causes the model to perform worse on other benchmarks.To solve this, other face landmark detectors has been tested. One face landmark detector that has proven to work very well in this setting is theMulti-task CNN. A Matlab/Caffe implementation can be found here and this has been used for face alignment with very good results. A Python/Tensorflow implementation of MTCNN can be found here. This implementation does not give identical results to the Matlab/Caffe implementation but the performance is very similar. Running trainingCurrently, the best results are achieved by training the model using softmax loss. Details on how to train a model using softmax loss on the CASIA-WebFace dataset can be found on the page Classifier training of Inception-ResNet-v1 and . Pre-trained modelsInception-ResNet-v1 modelA couple of pretrained models are provided. They are trained using softmax loss with the Inception-Resnet-v1 model. The datasets has been aligned using MTCNN. PerformanceThe accuracy on LFW for the model 20180402-114759 is 0.99650+-0.00252. A description of how to run the test can be found on the page Validate on LFW. Note that the input images to the model need to be standardized using fixed image standardization (use the option |
请发表评论