Skip to content

Latest commit

 

History

History
109 lines (73 loc) · 3.24 KB

face-recognition-resnet34-arcface.md

File metadata and controls

109 lines (73 loc) · 3.24 KB

face-recognition-resnet34-arcface

The original name of the model is LResNet34E-IR,ArcFace@ms1m-refine-v1.

Use Case and High-Level Description

Deep face recognition net with ResNet34 backbone and Arcface loss

Specification

Metric Value
Type Face recognition
GFLOPs 8.934
MParams 34.129
Source framework MXNet*

Accuracy

Metric Value
LFW accuracy 99.65%

Input

Original Model

Image, name: data, shape: 1,3,112,112, format: B,C,H,W, where:

  • B - batch size
  • C - channel
  • H - height
  • W - width

Channel order is RGB.

Converted Model

Image, name: data, shape: 1,3,112,112, format: B,C,H,W, where:

  • B - batch size
  • C - channel
  • H - height
  • W - width

Channel order is BGR.

Output

Original Model

Face embeddings, name: pre_fc1, shape: 1,512, output data format: B,C, where:

  • B - batch size
  • C - row-vector of 512 floating points values, face embeddings

The net outputs on different images are comparable in cosine distance.

Converted Model

Face embeddings, name: pre_fc1, shape: 1,512, output data format: B,C, where:

  • B - batch size
  • C - row-vector of 512 floating points values, face embeddings

The net outputs on different images are comparable in cosine distance.

Download a Model and Convert it into Inference Engine Format

You can download models and if necessary convert them into Inference Engine format using the Model Downloader and other automation tools as shown in the examples below.

An example of using the Model Downloader:

python3 <omz_dir>/tools/downloader/downloader.py --name <model_name>

An example of using the Model Converter:

python3 <omz_dir>/tools/downloader/converter.py --name <model_name>

Legal Information

The original model is distributed under the following license:

MIT License

Copyright (c) 2018 Jiankang Deng and Jia Guo

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.