Skip to content

Commit

Permalink
fix: use correct func in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Smirkey authored Dec 27, 2023
1 parent f102e6f commit f78c5bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bindings/tests/test_speed.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
parallel_giou_distance,
parallel_iou_distance,
remove_small_boxes,
rtree_nms,
supported_dtypes,
)

Expand Down Expand Up @@ -125,4 +126,4 @@ def test_rtree_nms(benchmark, dtype, generate_boxes):
boxes = generate_boxes
boxes = boxes.astype(dtype)
scores = np.random.random(len(boxes))
benchmark(nms, boxes, scores, 0.5, 0.5)
benchmark(rtree_nms, boxes, scores, 0.5, 0.5)

0 comments on commit f78c5bc

Please sign in to comment.