* YOLOv5 forward compatibility update * add data dir * ci test yolov3 * update build_targets() * update build_targets() * update build_targets() * update yolov3-spp.yaml * add yolov3-tiny.yaml * add yolov3-tiny.yaml * Update yolov3-tiny.yaml * thop bug fix * Detection() device bug fix * Use torchvision.ops.nms() * Remove redundant download mirror * CI tests with yolov3-tiny * Update README.md * Synch train and test iou_thresh * update requirements.txt * Cat apriori autolabels * Confusion matrix * Autosplit * Autosplit * Update README.md * AP no plot * Update caching * Update caching * Caching bug fix * --image-weights bug fix * datasets bug fix * mosaic plots bug fix * plot_study * boxes.max() * boxes.max() * boxes.max() * boxes.max() * boxes.max() * boxes.max() * update * Update README * Update README * Update README.md * Update README.md * results png * Update README * Targets scaling bug fix * update plot_study * update plot_study * update plot_study * update plot_study * Targets scaling bug fix * Finish Readme.md * Finish Readme.md * Finish Readme.md * Update README.md * Creado con Colaboratory
25 lines
935 B
Bash
Executable File
25 lines
935 B
Bash
Executable File
#!/bin/bash
|
|
# COCO 2017 dataset http://cocodataset.org
|
|
# Download command: bash data/scripts/get_coco.sh
|
|
# Train command: python train.py --data coco.yaml
|
|
# Default dataset location is next to /yolov3:
|
|
# /parent_folder
|
|
# /coco
|
|
# /yolov3
|
|
|
|
# Download/unzip labels
|
|
d='../' # unzip directory
|
|
url=https://github.com/ultralytics/yolov5/releases/download/v1.0/
|
|
f='coco2017labels.zip' # 68 MB
|
|
echo 'Downloading' $url$f ' ...' && curl -L $url$f -o $f && unzip -q $f -d $d && rm $f # download, unzip, remove
|
|
|
|
# Download/unzip images
|
|
d='../coco/images' # unzip directory
|
|
url=http://images.cocodataset.org/zips/
|
|
f1='train2017.zip' # 19G, 118k images
|
|
f2='val2017.zip' # 1G, 5k images
|
|
f3='test2017.zip' # 7G, 41k images (optional)
|
|
for f in $f1 $f2; do
|
|
echo 'Downloading' $url$f ' ...' && curl -L $url$f -o $f && unzip -q $f -d $d && rm $f # download, unzip, remove
|
|
done
|