Linzaer / Ultra-Light-Fast-Generic-Face-Detector-1MB

💎1MB lightweight face detection model (1MB轻量级人脸检测模型)
MIT License
7.17k stars 1.54k forks source link

Why is the forward latency of 640 even lower than 320's? #212

Closed fengyuentau closed 2 years ago

fengyuentau commented 4 years ago
So the following is my testing results on widerface val: model latency (ms)
slim-320 4.43
slim-640 4.21
RFB-320 5.91
RFB-640 5.64
And even if I change the input scale from the fixed settings to the original scale of images, same happens: model latency (ms)
slim-320 4.21
slim-640 4.21
RFB-320 5.61
RFB-640 5.54

From my point of view, if the input size increase while keeping the model architectures the same, the forward latency should also increase, but the results went against. I also checked the code, but found nothing different between model in 320 and 640. Do you have any ideas how to explain this? Following is my testing environment:

fengyuentau commented 4 years ago

By forward latency, I mean the time cost of a single and only forward process of the network.