ultralytics 8.2.1 adopt v8.2 GitHub assets URL (#10131)

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Glenn Jocher 2024-04-17 20:03:46 -07:00 committed by GitHub
parent f9461d50b0
commit dae4ce8307
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 189 additions and 189 deletions

View file

@ -1,6 +1,6 @@
# Ultralytics YOLO 🚀, AGPL-3.0 license
__version__ = "8.2.0"
__version__ = "8.2.1"
from ultralytics.data.explorer.explorer import Explorer
from ultralytics.models import RTDETR, SAM, YOLO, YOLOWorld

View file

@ -402,7 +402,7 @@ def get_github_assets(repo="ultralytics/assets", version="latest", retry=False):
return data["tag_name"], [x["name"] for x in data["assets"]] # tag, assets i.e. ['yolov8n.pt', 'yolov8s.pt', ...]
def attempt_download_asset(file, repo="ultralytics/assets", release="v8.1.0", **kwargs):
def attempt_download_asset(file, repo="ultralytics/assets", release="v8.2.0", **kwargs):
"""
Attempt to download a file from GitHub release assets if it is not found locally. The function checks for the file
locally first, then tries to download it from the specified GitHub repository release.
@ -410,7 +410,7 @@ def attempt_download_asset(file, repo="ultralytics/assets", release="v8.1.0", **
Args:
file (str | Path): The filename or file path to be downloaded.
repo (str, optional): The GitHub repository in the format 'owner/repo'. Defaults to 'ultralytics/assets'.
release (str, optional): The specific release version to be downloaded. Defaults to 'v8.1.0'.
release (str, optional): The specific release version to be downloaded. Defaults to 'v8.2.0'.
**kwargs (any): Additional keyword arguments for the download process.
Returns: