@ -471,7 +471,7 @@ def _get_observations(detections: Sequence[np.ndarray]) -> List[np.ndarray]:
|
|||||||
used_boxes = None
|
used_boxes = None
|
||||||
for j in range(overlaps.shape[0]):
|
for j in range(overlaps.shape[0]):
|
||||||
# check if box is already in existing observation
|
# check if box is already in existing observation
|
||||||
if j in used_boxes:
|
if used_boxes is not None and j in used_boxes:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
box_overlaps = overlaps[j]
|
box_overlaps = overlaps[j]
|
||||||
|
|||||||
Reference in New Issue
Block a user