---
description: Validate YOLOv5 detections using this PyTorch module. Ensure model accuracy with NMS IOU threshold tuning and label mapping.
keywords: detection, validator, YOLOv5, object detection, model improvement, Ultralytics Docs
---
## DetectionValidator
---
### ::: ultralytics.yolo.v8.detect.val.DetectionValidator
## val
---
### ::: ultralytics.yolo.v8.detect.val.val