You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

get_coco.sh 900B

YOLOv5 Segmentation Dataloader Updates (#2188) * Update C3 module * Update C3 module * Update C3 module * Update C3 module * update * update * update * update * update * update * update * update * update * updates * updates * updates * updates * updates * updates * updates * updates * updates * updates * update * update * update * update * updates * updates * updates * updates * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update datasets * update * update * update * update attempt_downlaod() * merge * merge * update * update * update * update * update * update * update * update * update * update * parameterize eps * comments * gs-multiple * update * max_nms implemented * Create one_cycle() function * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * GitHub API rate limit fix * update * ComputeLoss * ComputeLoss * ComputeLoss * ComputeLoss * ComputeLoss * ComputeLoss * ComputeLoss * ComputeLoss * ComputeLoss * ComputeLoss * ComputeLoss * astuple * epochs * update * update * ComputeLoss() * update * update * update * update * update * update * update * update * update * update * update * merge * merge * merge * merge * update * update * update * update * commit=tag == tags[-1] * Update cudnn.benchmark * update * update * update * updates * updates * updates * updates * updates * updates * updates * update * update * update * update * update * mosaic9 * update * update * update * update * update * update * institute cache versioning * only display on existing cache * reverse cache exists booleans
3 years ago
123456789101112131415161718192021222324252627
  1. #!/bin/bash
  2. # YOLOv5 🚀 by Ultralytics, GPL-3.0 license
  3. # Download COCO 2017 dataset http://cocodataset.org
  4. # Example usage: bash data/scripts/get_coco.sh
  5. # parent
  6. # ├── yolov5
  7. # └── datasets
  8. # └── coco ← downloads here
  9. # Download/unzip labels
  10. d='../datasets' # unzip directory
  11. url=https://github.com/ultralytics/yolov5/releases/download/v1.0/
  12. f='coco2017labels.zip' # or 'coco2017labels-segments.zip', 68 MB
  13. echo 'Downloading' $url$f ' ...'
  14. curl -L $url$f -o $f && unzip -q $f -d $d && rm $f &
  15. # Download/unzip images
  16. d='../datasets/coco/images' # unzip directory
  17. url=http://images.cocodataset.org/zips/
  18. f1='train2017.zip' # 19G, 118k images
  19. f2='val2017.zip' # 1G, 5k images
  20. f3='test2017.zip' # 7G, 41k images (optional)
  21. for f in $f1 $f2; do
  22. echo 'Downloading' $url$f '...'
  23. curl -L $url$f -o $f && unzip -q $f -d $d && rm $f &
  24. done
  25. wait # finish background tasks