Simplify argument names (#141)
This commit is contained in:
parent
d74de2582c
commit
3c18aa5278
9 changed files with 22 additions and 24 deletions
|
|
@ -20,8 +20,8 @@ class DetectionPredictor(BasePredictor):
|
|||
|
||||
def postprocess(self, preds, img, orig_img):
|
||||
preds = ops.non_max_suppression(preds,
|
||||
self.args.conf_thres,
|
||||
self.args.iou_thres,
|
||||
self.args.conf,
|
||||
self.args.iou,
|
||||
agnostic=self.args.agnostic_nms,
|
||||
max_det=self.args.max_det)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue