CenterFace β€” ONNX FP32 (640x384)

This repository distributes CenterFace as an FP32 ONNX model with a fixed 640x384 input, for Advantech AMD VisionAI face detection. CenterFace is an anchor-free face detector with 5 facial landmarks. Advantech did not train the model: it is built from the official centerface.onnx of the Star-Clouds CenterFace repository.

Files

File Purpose
centerface_640x384_fp32.onnx The model (opset 17, batch 1, 640x384)
SHA256SUMS SHA-256 of the model
LICENSE Upstream CenterFace MIT license

Model interface

Tensor Type Shape Description
Input input.1 F32 [1, 3, 384, 640] NCHW, RGB, 0-255, not normalized
Output 537 F32 [1, 1, 96, 160] Face center heatmap (stride 4)
Output 538 F32 [1, 2, 96, 160] Box size: log height, log width
Output 539 F32 [1, 2, 96, 160] Center offset: y, x
Output 540 F32 [1, 10, 96, 160] 5 facial landmarks

Box decoding and NMS are not included. The class name is stored in the model metadata (names).

Changes from the original

The weights are unchanged; no retraining and no quantization. The official file (opset 9, batch 10, 32x32 input) was changed as follows:

  • the input was fixed to [1, 3, 384, 640];
  • the weights listed as graph inputs and the unused initializers were removed;
  • the opset was converted from 9 to 17;
  • BatchNorm was folded into Conv (onnxslim);
  • the class name was added as metadata.

The outputs match the official graph at the same input size. No accuracy re-evaluation is claimed for this conversion.

Sources and license

CenterFace is released under the MIT license (Copyright (c) 2019 StarClouds); its text is in LICENSE. The model was trained on WIDER FACE, whose dataset license is non-commercial.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Dataset used to train Advantech-EIOT/AMD_centerface_640x384_FP32

Paper for Advantech-EIOT/AMD_centerface_640x384_FP32