|
|||||||||
| FAQ • Login | |||||||||
W600k-r50.onnx InfoExample with ONNX Runtime GPU:
[1, 512] (A 512-dimensional embedding vector).
aligned_face = cv2.imread("aligned_face.jpg") embedding = get_face_embedding(aligned_face) print(f"Embedding shape: embedding.shape") # (512,) w600k-r50.onnx Convert the ONNX to TensorRT for 0.5ms inference latency. Example with ONNX Runtime GPU: sess_options = ort
How does | Model | Size (FP32) | LFW Accuracy | CPU Inference (Intel i7) | GPU (RTX 3060) | | :--- | :--- | :--- | :--- | :--- | | w600k-r50.onnx | 96 MB | 99.78% | 35 ms | 3 ms | | FaceNet (Inception) | 180 MB | 99.65% | 85 ms | 7 ms | | MobileFaceNet | 4 MB | 99.48% | 8 ms | 1 ms | | VGG-Face (16) | 500 MB | 98.95% | 120 ms | 9 ms | Key Takeaway: The R50 model offers state-of-the-art accuracy (99.78% on Labeled Faces in the Wild benchmark) while being compact enough to run on a CPU at 30 FPS. No model is perfect. The
|