Allow agnostic_nms option for validation (#14675)
This commit is contained in:
parent
9df18ca9ef
commit
15266d37a1
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ class DetectionValidator(BaseValidator):
|
||||||
self.args.iou,
|
self.args.iou,
|
||||||
labels=self.lb,
|
labels=self.lb,
|
||||||
multi_label=True,
|
multi_label=True,
|
||||||
agnostic=self.args.single_cls,
|
agnostic=self.args.single_cls or self.args.agnostic_nms,
|
||||||
max_det=self.args.max_det,
|
max_det=self.args.max_det,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue