Ultralytics Asset URL Update (#13181)

Refactor code for speed and clarity
This commit is contained in:
Glenn Jocher authored and GitHub committed 2024-07-10 20:47:16 +02:00
1 parent ff06328498
commit 150a1a318d
13 files changed
+29 -29

No files matched your search

+1 -1
View File
@@ -103,7 +103,7 @@ download: |
# Download labels
segments = False # segment or box labels
dir = Path(yaml['path']) # dataset root dir
url = 'https://github.com/ultralytics/yolov5/releases/download/v1.0/'
url = 'https://github.com/ultralytics/assets/releases/download/v0.0.0/'
urls = [url + ('coco2017labels-segments.zip' if segments else 'coco2017labels.zip')] # labels
download(urls, dir=dir.parent)