open-mmlab / mmdetection

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

Inference time of YOLACT is too slow #8669

Open Javacr opened 1 year ago

Javacr commented 1 year 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 1 year 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 1 year ago

Please check whether your input image size is same