eric612 / MobileNet-YOLO

A caffe implementation of MobileNet-YOLO detection network
Other
865 stars 442 forks source link

how to do inference on multiple images as one batch? #263

Open LevineYang opened 4 years ago

LevineYang commented 4 years ago

Hi, Eric! I was wondering how to use the c++ demo like yolo_detect to do inference on multiple images, say 4 images , simultaneously?

WangYX-TKZ commented 4 years ago

Hi, Eric! I was wondering how to use the c++ demo like yolo_detect to do inference on multiple images, say 4 images , simultaneously?

I think you should modify the detect layer to add the supports of multiple images. just add a loop for batches