from ultralytics.yolo.v8.detect.train import DetectionTrainer, train from ultralytics.yolo.v8.detect.val import DetectionValidator, val