open-mmlab / mmdetection

OpenMMLab Detection Toolbox and Benchmark
https://mmdetection.readthedocs.io
Apache License 2.0
29.72k stars 9.48k forks source link

Inference time of YOLACT is too slow #8669

Open Javacr opened 2 years ago

Javacr commented 2 years ago

I test 40 images using mmdetection yolact_r50_1x8_coco model, the average latency time is 199.85ms. It is weird, since I got 18ms using the official YOLACT code. What's the difference between them?

Javacr commented 2 years ago

The main reason is that the fps is not calculated by tools/analysis_tools/benchmark.py. When I calculate the fps by it, I got 25 fps.

BIGWangYuDong commented 2 years ago

Please check whether your input image size is same