sort icon indicating copy to clipboard operation
sort copied to clipboard

error in iou__batches

Open day-night-py opened this issue 3 years ago • 8 comments

yy1 = np.maximum(bb_test[..., 1], bb_gt[..., 1]) IndexError: index 1 is out of bounds for axis 1 with size 1

xx1 = np.maximum(bb_test[..., 0], bb_gt[..., 0]) ValueError: operands could not be broadcast together with shapes (0,) (1,2)

getting these two error while running

day-night-py avatar Jul 29 '22 07:07 day-night-py

I am also getting similar issue were you able to resolve it? ' xx1 = np.maximum(bb_test[..., 0], bb_gt[..., 0])', 'ValueError: operands could not be broadcast together with shapes (0,) (1,32)

marunava21 avatar Sep 07 '22 11:09 marunava21

@marunava21 @day-night-py check the detections you're passing to tracker, even if there are no detections just pass "np.empty((0, 5))".

sauravns avatar Nov 23 '22 15:11 sauravns

@sauravns Thanks for the suggestion, i solved the issue

marunava21 avatar Nov 27 '22 13:11 marunava21