ultralytics 8.0.111 refactored model.loss() method (#2911)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Snyk bot <snyk-bot@snyk.io>
This commit is contained in:
Glenn Jocher
2023-05-30 20:23:30 +02:00
committed by GitHub
parent 305cde69d0
commit fd94d312da
14 changed files with 46 additions and 35 deletions

View File

@ -9,7 +9,7 @@ from ultralytics.yolo.data.augment import Compose, Format, LetterBox
from ultralytics.yolo.utils import colorstr, ops
from ultralytics.yolo.v8.detect import DetectionValidator
__all__ = ['RTDETRValidator']
__all__ = 'RTDETRValidator', # tuple or list
# TODO: Temporarily, RT-DETR does not need padding.