open-mmlab / mmdetection

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

yolact inference multi images in batch #7251

Open Ezzat1198 opened 2 years ago

Ezzat1198 commented 2 years ago

Hello,First I want to thank you for the great work Did you support multi image inference in yolact model or how can i infer multiple images in the same batch thanks

ZwwWayne commented 2 years ago

You can set samples_per_gpu here https://github.com/open-mmlab/mmdetection/blob/master/configs/yolact/yolact_r50_1x8_coco.py#L139, like samples_per_gpu=2.