Ultralytics Asset URL Update (#13181)
Refactor code for speed and clarity
This commit is contained in:
1 parent
ff06328498
commit
150a1a318d
13 files changed
+29
-29
No files matched your search
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user