Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

29 lines
1.6KB

  1. # COCO 2017 dataset http://cocodataset.org - first 128 training images
  2. # Train command: python train.py --data coco128.yaml
  3. # Default dataset location is next to YOLOv5:
  4. # /parent
  5. # /datasets/coco128
  6. # /yolov5
  7. # Train/val/test sets as 1) dir: path/to/imgs, 2) file: path/to/imgs.txt, or 3) list: [path/to/imgs1, path/to/imgs2, ..]
  8. path: ../datasets/coco128 # dataset root dir
  9. train: images/train2017 # train images (relative to 'path') 128 images
  10. val: images/train2017 # val images (relative to 'path') 128 images
  11. test: # test images (optional)
  12. # Classes
  13. nc: 80 # number of classes
  14. names: [ 'person', 'bicycle', 'car', 'motorcycle', 'airplane', 'bus', 'train', 'truck', 'boat', 'traffic light',
  15. 'fire hydrant', 'stop sign', 'parking meter', 'bench', 'bird', 'cat', 'dog', 'horse', 'sheep', 'cow',
  16. 'elephant', 'bear', 'zebra', 'giraffe', 'backpack', 'umbrella', 'handbag', 'tie', 'suitcase', 'frisbee',
  17. 'skis', 'snowboard', 'sports ball', 'kite', 'baseball bat', 'baseball glove', 'skateboard', 'surfboard',
  18. 'tennis racket', 'bottle', 'wine glass', 'cup', 'fork', 'knife', 'spoon', 'bowl', 'banana', 'apple',
  19. 'sandwich', 'orange', 'broccoli', 'carrot', 'hot dog', 'pizza', 'donut', 'cake', 'chair', 'couch',
  20. 'potted plant', 'bed', 'dining table', 'toilet', 'tv', 'laptop', 'mouse', 'remote', 'keyboard', 'cell phone',
  21. 'microwave', 'oven', 'toaster', 'sink', 'refrigerator', 'book', 'clock', 'vase', 'scissors', 'teddy bear',
  22. 'hair drier', 'toothbrush' ] # class names
  23. # Download script/URL (optional)
  24. download: https://github.com/ultralytics/yolov5/releases/download/v1.0/coco128.zip