Allow agnostic NMS in validation for OBB, Pose, Segment and NAS (#16251)

This commit is contained in:
Mohammed Yasin 2024-09-14 01:35:33 +08:00 committed by GitHub
parent bf2b221d11
commit 6c3297623b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View file

@ -69,7 +69,7 @@ class PoseValidator(DetectionValidator):
self.args.iou,
labels=self.lb,
multi_label=True,
agnostic=self.args.single_cls,
agnostic=self.args.single_cls or self.args.agnostic_nms,
max_det=self.args.max_det,
nc=self.nc,
)