TensorRT-For-YOLO-Series icon indicating copy to clipboard operation
TensorRT-For-YOLO-Series copied to clipboard

Batch processing?

Open naserpiltan opened this issue 2 years ago • 3 comments

@Linaom1214 Hello sir. I would like to process a batch of 5 images in my c++ application. As this repository supports only single image processing, is there any way to process a batch of images with this repository? If you have a code script for that already, it would be great if you could share it. Thank you in advance.

naserpiltan avatar Sep 05 '22 16:09 naserpiltan

@Linaom1214 Hello sir. I would like to process a batch of 5 images in my c++ application. As this repository supports only single image processing, is there any way to process a batch of images with this repository? If you have a code script for that already, it would be great if you could share it. Thank you in advance.

At present, the end2end implementation method of this reop has problems when dealing with multiple batches.

you can try this https://github.com/WongKinYiu/yolov7/blob/main/tools/YOLOv7-Dynamic-Batch-TENSORRT.ipynb

Linaom1214 avatar Sep 06 '22 00:09 Linaom1214

@Linaom1214 what if end2end is not used (compile without NMS)? will bigger batch sizes work?

barathsku avatar Sep 21 '22 12:09 barathsku

@Linaom1214 what if end2end is not used (compile without NMS)? will bigger batch sizes work?

not support dynamic batch, big batch is support

Linaom1214 avatar Sep 26 '22 13:09 Linaom1214