Skip to content
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 #182

Open
daonam2202ntg opened this issue Sep 2, 2024 · 0 comments
Open

Error in iou_batches #182

daonam2202ntg opened this issue Sep 2, 2024 · 0 comments

Comments

@daonam2202ntg
Copy link

I got this error while running, please help me

Traceback (most recent call last):
File "D:\License_plate_pycharm\License_plate_project\pythonProject6\main.py", line 39, in
track_ids = mot_tracker.update(np.asarray(detections_))
File "D:\License_plate_pycharm\License_plate_project\pythonProject6\sort\sort.py", line 233, in update
matched, unmatched_dets, unmatched_trks = associate_detections_to_trackers(dets,trks, self.iou_threshold)
File "D:\License_plate_pycharm\License_plate_project\pythonProject6\sort\sort.py", line 164, in associate_detections_to_trackers
iou_matrix = iou_batch(detections, trackers)
File "D:\License_plate_pycharm\License_plate_project\pythonProject6\sort\sort.py", line 56, in iou_batch
yy1 = np.maximum(bb_test[..., 1], bb_gt[..., 1])
IndexError: index 1 is out of bounds for axis 1 with size 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant