From c26d4a222fa812c77fcba3cf904165f97f559a0f Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Tue, 9 Jan 2024 13:06:03 +0100 Subject: [PATCH] Add OBB models to `GITHUB_ASSET_NAMES` (#7425) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- ultralytics/utils/downloads.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ultralytics/utils/downloads.py b/ultralytics/utils/downloads.py index c97536a5..5e60ae7f 100644 --- a/ultralytics/utils/downloads.py +++ b/ultralytics/utils/downloads.py @@ -16,7 +16,7 @@ from ultralytics.utils import LOGGER, TQDM, checks, clean_url, emojis, is_online # Define Ultralytics GitHub assets maintained at https://github.com/ultralytics/assets GITHUB_ASSETS_REPO = 'ultralytics/assets' -GITHUB_ASSETS_NAMES = [f'yolov8{k}{suffix}.pt' for k in 'nsmlx' for suffix in ('', '-cls', '-seg', '-pose')] + \ +GITHUB_ASSETS_NAMES = [f'yolov8{k}{suffix}.pt' for k in 'nsmlx' for suffix in ('', '-cls', '-seg', '-pose', '-obb')] + \ [f'yolov5{k}{resolution}u.pt' for k in 'nsmlx' for resolution in ('', '6')] + \ [f'yolov3{k}u.pt' for k in ('', '-spp', '-tiny')] + \ [f'yolo_nas_{k}.pt' for k in 'sml'] + \