Thank you for the model and the code. I noticed that your code evaluates each image one by one, and I was wondering how would you modify the code so it works in batches? I tried inputting the images in batches but it only seem to ever return the results from the first image.
Hi,
Thank you for the model and the code. I noticed that your code evaluates each image one by one, and I was wondering how would you modify the code so it works in batches? I tried inputting the images in batches but it only seem to ever return the results from the first image.
For example, taking code from https://github.com/sthanhng/yoloface/blob/master/yolo/yolo.py#L114, I'd run
where
image_data
has shape(2, 416, 416, 3)
, but the returnout_boxes
is(1, 4)
even if both images inimage_data
are the exact same.Thanks