All Projects → zheshipinyinMc → arcface_retinaface_mxnet2onnx

zheshipinyinMc / arcface_retinaface_mxnet2onnx

Licence: other
arcface and retinaface model convert mxnet to onnx.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to arcface retinaface mxnet2onnx

Insightface
State-of-the-art 2D and 3D Face Analysis Project
Stars: ✭ 10,886 (+20439.62%)
Mutual labels:  mxnet, arcface, retinaface
Deepo
Setup and customize deep learning environment in seconds.
Stars: ✭ 6,145 (+11494.34%)
Mutual labels:  caffe, mxnet, onnx
Netron
Visualizer for neural network, deep learning, and machine learning models
Stars: ✭ 17,193 (+32339.62%)
Mutual labels:  caffe, mxnet, onnx
Mmdnn
MMdnn is a set of tools to help users inter-operate among different deep learning frameworks. E.g. model conversion and visualization. Convert models between Caffe, Keras, MXNet, Tensorflow, CNTK, PyTorch Onnx and CoreML.
Stars: ✭ 5,472 (+10224.53%)
Mutual labels:  caffe, mxnet, onnx
InsightFace-REST
InsightFace REST API for easy deployment of face recognition services with TensorRT in Docker.
Stars: ✭ 308 (+481.13%)
Mutual labels:  onnx, arcface, retinaface
Ncnn
ncnn is a high-performance neural network inference framework optimized for the mobile platform
Stars: ✭ 13,376 (+25137.74%)
Mutual labels:  caffe, mxnet, onnx
Audio Pretrained Model
A collection of Audio and Speech pre-trained models.
Stars: ✭ 61 (+15.09%)
Mutual labels:  caffe, mxnet
Mtcnn
face detection and alignment with mtcnn
Stars: ✭ 66 (+24.53%)
Mutual labels:  caffe, mxnet
Onnx Chainer
Add-on package for ONNX format support in Chainer
Stars: ✭ 83 (+56.6%)
Mutual labels:  caffe, onnx
Xlearning
AI on Hadoop
Stars: ✭ 1,709 (+3124.53%)
Mutual labels:  caffe, mxnet
Keras Oneclassanomalydetection
[5 FPS - 150 FPS] Learning Deep Features for One-Class Classification (AnomalyDetection). Corresponds RaspberryPi3. Convert to Tensorflow, ONNX, Caffe, PyTorch. Implementation by Python + OpenVINO/Tensorflow Lite.
Stars: ✭ 102 (+92.45%)
Mutual labels:  caffe, onnx
Facerecognition
This is an implematation project of face detection and recognition. The face detection using MTCNN algorithm, and recognition using LightenenCNN algorithm.
Stars: ✭ 137 (+158.49%)
Mutual labels:  caffe, mxnet
Mxnet2Caffe-Tensor-RT-SEnet
Mxnet2Caffe_Tensor RT
Stars: ✭ 18 (-66.04%)
Mutual labels:  caffe, mxnet
Mxnet2caffe
convert model from mxnet to caffe without lossing precision
Stars: ✭ 20 (-62.26%)
Mutual labels:  caffe, mxnet
Dlcv for beginners
《深度学习与计算机视觉》配套代码
Stars: ✭ 1,244 (+2247.17%)
Mutual labels:  caffe, mxnet
Machine Learning Curriculum
💻 Make machines learn so that you don't have to struggle to program them; The ultimate list
Stars: ✭ 761 (+1335.85%)
Mutual labels:  caffe, mxnet
Dlcookbook Dlbs
Deep Learning Benchmarking Suite
Stars: ✭ 114 (+115.09%)
Mutual labels:  caffe, mxnet
Php Opencv
php wrapper for opencv
Stars: ✭ 194 (+266.04%)
Mutual labels:  caffe, onnx
Tengine-Convert-Tools
Tengine Convert Tool supports converting multi framworks' models into tmfile that suitable for Tengine-Lite AI framework.
Stars: ✭ 89 (+67.92%)
Mutual labels:  mxnet, onnx
Pinto model zoo
A repository that shares tuning results of trained models generated by TensorFlow / Keras. Post-training quantization (Weight Quantization, Integer Quantization, Full Integer Quantization, Float16 Quantization), Quantization-aware training. TensorFlow Lite. OpenVINO. CoreML. TensorFlow.js. TF-TRT. MediaPipe. ONNX. [.tflite,.h5,.pb,saved_model,tfjs,tftrt,mlmodel,.xml/.bin, .onnx]
Stars: ✭ 634 (+1096.23%)
Mutual labels:  caffe, onnx

Update2 models

arcface 提取码:jks7
retinaface 提取码:otx7

Update1 fix_gamma

retinaface_mnet025_v1
retinaface_mnet025_v2
In mxnet symbol, BN has fix_gamma, if fix_gamma is true, then set gamma to 1 and its gradient to 0, you can find this in mxnet API.
In retinaface_mnet025_v1, fix_gamma in 'conv_3_dw_batchnorm' is true,but its value is 0.000007107922556315316(you can see weight by Netron).However, forward mxnet model, the gamma of 'conv_3_dw_batchnorm' is 1.This bug may cause mxnet output is different from onnx model.

fix bn gamma model have upload(/Retinaface/retinaface_mnet025_v1, /Retinaface/retinaface_mnet025_v2).

Update

Retinaface fixed softmax bug.
Upsample is implemented using Resize.
Upsample is implemented using ConvTranspose.

arcface_retinaface_mxnet2onnx

arcface and retinaface model convert mxnet to onnx

environment

Ubuntu 18.04
MxNet 1.5.0
onnx 1.7.0 (protobuf 3.0.0)
onnxruntime 1.3.0
Python 3.6.9
cv2 3.3.1

tested models

arcface:from ZQCNN mobilefacenet-res2-6-10-2-dim512
retinaface:mnet.25
arcface/model-r34-amf-slim and retinaface-R50 also can convert successfully, but model file is too big to upload.

arcface

Insightface中ArcFace MxNet2ONNX踩坑

retinaface

Insightface中Retinaface MxNet2ONNX踩坑

Results

arcface onnx_mxnet_output
retinaface onnx_mxnet_output

reference

insightface

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].