deepinsight / deepinsight/insightface

CPU running time of pretrained model RetinaFace-R50

Open
#1,096 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
29.7k
Forks
6.1k
PR merge metrics
No merged PRs in 30d

Description

I am running the pre-trained model RetinaFace-R50 and with my mac pro it takes about 4s (0.25fps) to process an image (only inference time, w/o loading/pre/post-processing).

The paper says that the bigger RetinaFace model, with ResNet152 backbone, runs in. 75 ms (13fps). This is more than 50 times faster than what I experience with a CPU and on a smaller model. Is this normal?

To draw an analogy, using the GPU on the MobileNet-0.25 model, the execution is about 12 times faster than with the CPU. However in my case I am using the CPU on a smaller model and, despite that, it is 50 times slower.

From the paper:
Screenshot 2020-04-17 at 10 59 30

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.