update dataset comments

pull/1/head
Glenn Jocher 5 years ago
parent 1b1681bac9
commit 8b38e6f429

@ -1,13 +1,13 @@
# COCO 2017 dataset http://cocodataset.org # COCO 2017 dataset http://cocodataset.org
# Download command: bash yolov5/data/get_coco2017.sh # Download command: bash yolov5/data/get_coco2017.sh
# Train command: python train.py --data ./data/coco.yaml # Train command: python train.py --data coco.yaml
# Dataset should be placed next to yolov5 folder: # Default dataset location is next to /yolov5:
# /parent_folder # /parent_folder
# /coco # /coco
# /yolov5 # /yolov5
# train and val datasets (image directory or *.txt file with image paths) # train and val data as 1) directory: path/images/, 2) file: path/images.txt, or 3) list: [path1/images/, path2/images/]
train: ../coco/train2017.txt # 118k images train: ../coco/train2017.txt # 118k images
val: ../coco/val2017.txt # 5k images val: ../coco/val2017.txt # 5k images
test: ../coco/test-dev2017.txt # 20k images for submission to https://competitions.codalab.org/competitions/20794 test: ../coco/test-dev2017.txt # 20k images for submission to https://competitions.codalab.org/competitions/20794

@ -1,15 +1,15 @@
# COCO 2017 dataset http://cocodataset.org - first 128 training images # COCO 2017 dataset http://cocodataset.org - first 128 training images
# Download command: python -c "from yolov5.utils.google_utils import gdrive_download; gdrive_download('1n_oKgR81BJtqk75b00eAjdv03qVCQn2f','coco128.zip')" # Download command: python -c "from yolov5.utils.google_utils import *; gdrive_download('1n_oKgR81BJtqk75b00eAjdv03qVCQn2f', 'coco128.zip')"
# Train command: python train.py --data ./data/coco128.yaml # Train command: python train.py --data coco128.yaml
# Dataset should be placed next to yolov5 folder: # Default dataset location is next to /yolov5:
# /parent_folder # /parent_folder
# /coco128 # /coco128
# /yolov5 # /yolov5
# train and val datasets (image directory or *.txt file with image paths) # train and val data as 1) directory: path/images/, 2) file: path/images.txt, or 3) list: [path1/images/, path2/images/]
train: ../coco128/images/train2017/ train: ../coco128/images/train2017/ # 128 images
val: ../coco128/images/train2017/ val: ../coco128/images/train2017/ # 128 images
# number of classes # number of classes
nc: 80 nc: 80

@ -1,12 +1,13 @@
#!/bin/bash #!/bin/bash
# COCO 2017 dataset http://cocodataset.org # COCO 2017 dataset http://cocodataset.org
# Download command: bash yolov5/data/get_coco2017.sh # Download command: bash yolov5/data/get_coco2017.sh
# Train command: python train.py --data ./data/coco.yaml # Train command: python train.py --data coco.yaml
# Dataset should be placed next to yolov5 folder: # Default dataset location is next to /yolov5:
# /parent_folder # /parent_folder
# /coco # /coco
# /yolov5 # /yolov5
# Download labels from Google Drive, accepting presented query # Download labels from Google Drive, accepting presented query
filename="coco2017labels.zip" filename="coco2017labels.zip"
fileid="1cXZR_ckHki6nddOmcysCuuJFM--T-Q6L" fileid="1cXZR_ckHki6nddOmcysCuuJFM--T-Q6L"

@ -1,11 +1,12 @@
# PASCAL VOC dataset http://host.robots.ox.ac.uk/pascal/VOC/ # PASCAL VOC dataset http://host.robots.ox.ac.uk/pascal/VOC/
# Download command: bash ./data/get_voc.sh # Download command: bash ./data/get_voc.sh
# Train command: python train.py --data voc.yaml # Train command: python train.py --data voc.yaml
# Dataset should be placed next to yolov5 folder: # Default dataset location is next to /yolov5:
# /parent_folder # /parent_folder
# /VOC # /VOC
# /yolov5 # /yolov5
start=`date +%s` start=`date +%s`
# handle optional download dir # handle optional download dir

@ -1,14 +1,15 @@
# PASCAL VOC dataset http://host.robots.ox.ac.uk/pascal/VOC/ # PASCAL VOC dataset http://host.robots.ox.ac.uk/pascal/VOC/
# Download command: bash ./data/get_voc.sh # Download command: bash ./data/get_voc.sh
# Train command: python train.py --data voc.yaml # Train command: python train.py --data voc.yaml
# Dataset should be placed next to yolov5 folder: # Default dataset location is next to /yolov5:
# /parent_folder # /parent_folder
# /VOC # /VOC
# /yolov5 # /yolov5
# train and val datasets (image directory or *.txt file with image paths)
train: ../VOC/images/train/ # train and val data as 1) directory: path/images/, 2) file: path/images.txt, or 3) list: [path1/images/, path2/images/]
val: ../VOC/images/val/ train: ../VOC/images/train/ # 16551 images
val: ../VOC/images/val/ # 4952 images
# number of classes # number of classes
nc: 20 nc: 20

Loading…
Cancel
Save