Allow agnostic NMS in validation for OBB, Pose, Segment and NAS (#16251)
This commit is contained in:
parent
bf2b221d11
commit
6c3297623b
4 changed files with 4 additions and 4 deletions
|
|
@ -45,7 +45,7 @@ class OBBValidator(DetectionValidator):
|
|||
labels=self.lb,
|
||||
nc=self.nc,
|
||||
multi_label=True,
|
||||
agnostic=self.args.single_cls,
|
||||
agnostic=self.args.single_cls or self.args.agnostic_nms,
|
||||
max_det=self.args.max_det,
|
||||
rotated=True,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue