-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error in iou__batches #161
Comments
I am also getting similar issue |
@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 Thanks for the suggestion, i solved the issue |
How did you solve the error, can you please explain? |
I am also getting similar error. Any idea what could be the issue? File "/home/ubuntu/PycharmProjects/sort/sort.py", line 238, in update |
Thanks @sauravns for the suggestion.. In the iou_batch() function, we should check whether detection length and if its 0 then set the detection to empty numpy array, def iou_batch(bb_test, bb_gt):
... |
Thank you!! |
I got this error while running, please help me yy1 = np.maximum(bb_test[..., 1], bb_gt[..., 1]) |
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
The text was updated successfully, but these errors were encountered: