Skip to content

Commit

Permalink
fix COCO download
Browse files Browse the repository at this point in the history
  • Loading branch information
fpaissan committed Dec 14, 2023
1 parent 2bd9fd7 commit 41c4e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/object_detection/cfg/data/coco.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ download: |
dir = Path(data_cfg['path']) # dataset root dir
url = 'https://github.com/ultralytics/yolov5/releases/download/v1.0/'
urls = [url + ('coco2017labels-segments.zip' if segments else 'coco2017labels.zip')] # labels
download(urls, dir=dir.parent)
download(urls, dir=dir)
# Download data
urls = ['http://images.cocodataset.org/zips/train2017.zip', # 19G, 118k images
'http://images.cocodataset.org/zips/val2017.zip', # 1G, 5k images
Expand Down

0 comments on commit 41c4e78

Please sign in to comment.