-
Notifications
You must be signed in to change notification settings - Fork 177
Description
Traceback (most recent call last):
File "c:\automatic-number-plate-recognition-python-yolov8-main\main.py", line 39, in
track_ids = mot_tracker.update(np.asarray(detections_))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\automatic-number-plate-recognition-python-yolov8-main\sort\sort.py", line 232, in update
matched, unmatched_dets, unmatched_trks = associate_detections_to_trackers(dets,trks, self.iou_threshold)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\automatic-number-plate-recognition-python-yolov8-main\sort\sort.py", line 163, in associate_detections_to_trackers
iou_matrix = iou_batch(detections, trackers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\automatic-number-plate-recognition-python-yolov8-main\sort\sort.py", line 54, in iou_batch
xx1 = np.maximum(bb_test[..., 0], bb_gt[..., 0])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: operands could not be broadcast together with shapes (0,) (1,2)