Skip to content

Commit

Permalink
detect.py fast bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher committed Jun 22, 2020
1 parent fc171e2 commit bbd12c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ def detect(save_img=False):
pred = model(img, augment=opt.augment)[0]

# Apply NMS
pred = non_max_suppression(pred, opt.conf_thres, opt.iou_thres,
fast=True, classes=opt.classes, agnostic=opt.agnostic_nms)
pred = non_max_suppression(pred, opt.conf_thres, opt.iou_thres, classes=opt.classes, agnostic=opt.agnostic_nms)
t2 = torch_utils.time_synchronized()

# Apply Classifier
Expand Down

0 comments on commit bbd12c7

Please sign in to comment.