
* 第一次提交 * 补充一处漏翻译 * deleted: docs/en/quantize.md * Update one translation * Update en version * Update one translation in code * Standardize one writing * Standardize one writing * Update some en version * Fix a grammer problem * Update en version for api/vision result * Merge branch 'develop' of https://github.com/charl-u/FastDeploy into develop * Checkout the link in README in vision_results/ to the en documents * Modify a title * Add link to serving/docs/ * Finish translation of demo.md * Update english version of serving/docs/ * Update title of readme * Update some links * Modify a title * Update some links * Update en version of java android README * Modify some titles * Modify some titles * Modify some titles * modify article to document * update some english version of documents in examples * Add english version of documents in examples/visions * Sync to current branch * Add english version of documents in examples * Add english version of documents in examples * Add english version of documents in examples * Update some documents in examples * Update some documents in examples * Update some documents in examples * Update some documents in examples * Update some documents in examples * Update some documents in examples * Update some documents in examples * Update some documents in examples * Update some documents in examples
English | 简体中文
AdaFace Ready-to-deploy Model
- PaddleClas
- Paddle models trained in the official repository are available for deployment after exporting Paddle static graph models;
Introduction
Face recognition of low-quality images has been challenging because the face attributes of these images are blurred and degraded. We cannot realize optimal classification after such images are fed into the model. In face recognition, we often use the affine transformation of opencv to correct the face data that will degrade in low quality. The classification of low-quality images becomes a crucial problem during model development.
In AdaFace, we introduce another factor in the loss function, namely image quality. We maintain that the strategy of emphasizing misclassified samples should be adjusted according to their image quality. Specifically, the importance of easy and difficult samples should be given based on the their image quality. Accordingly, we propose a new loss function to emphasize the importance of different difficult samples by their image quality.
In a nutshell, AdaFace improves the situation that low-quality images become less accurate after input to the network, which is more effective in the task of face recognition.
Export Paddle Static Graph Model
Taking AdaFace as an example: Refer to AIStudio for training and export of the code.
Download Pre-trained Paddle Static Graph Model
For developers' testing, converted models are provided below. Developers can download and use them directly. (The accuracy of the models in the table is sourced from the model introduction in AIStudio)
Model | Size | Accuracy (AgeDB_30) |
---|---|---|
AdaFace-MobileFacenet | 3.2MB | 95.5 |