Unverified 提交 b8be76f9 authored 作者: Jiacong Fang's avatar Jiacong Fang 提交者: GitHub

Add get_coco128.sh for downloading the coco128 dataset (#3047)

* Add get_coco128.sh * Update get_coco128.sh Co-authored-by: 's avatarGlenn Jocher <glenn.jocher@ultralytics.com>
上级 b18ca31f
#!/bin/bash
# COCO128 dataset https://www.kaggle.com/ultralytics/coco128
# Download command: bash data/scripts/get_coco128.sh
# Train command: python train.py --data coco128.yaml
# Default dataset location is next to /yolov5:
# /parent_folder
# /coco128
# /yolov5
# Download/unzip images and labels
d='../' # unzip directory
url=https://github.com/ultralytics/yolov5/releases/download/v1.0/
f='coco128.zip' # or 'coco2017labels-segments.zip', 68 MB
echo 'Downloading' $url$f ' ...'
curl -L $url$f -o $f && unzip -q $f -d $d && rm $f & # download, unzip, remove in background
wait # finish background tasks
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论