Skip to content

Commit

Permalink
The nms type is non-agnostic actually
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqwang committed Jan 23, 2022
1 parent eed04f4 commit 43d4f6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def test_load_from_ultralytics_voc(arch: str, version: str, upstream_version: st
model_yolov5.eval()
with torch.no_grad():
outs = model_yolov5(img[None])[0]
outs = non_max_suppression(outs, conf, iou, agnostic=True)
outs = non_max_suppression(outs, conf, iou)
out_from_yolov5 = outs[0]

# Define yolort model
Expand Down

0 comments on commit 43d4f6e

Please sign in to comment.