coco8-pose.yaml 895 B

12345678910111213141516171819202122232425
  1. # Ultralytics YOLO 🚀, AGPL-3.0 license
  2. # COCO8-pose dataset (first 8 images from COCO train2017) by Ultralytics
  3. # Example usage: yolo train data=coco8-pose.yaml
  4. # parent
  5. # ├── ultralytics
  6. # └── datasets
  7. # └── coco8-pose ← downloads here (1 MB)
  8. # 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, ..]
  9. path: ../datasets/coco8-pose # dataset root dir
  10. train: images/train # train images (relative to 'path') 4 images
  11. val: images/val # val images (relative to 'path') 4 images
  12. test: # test images (optional)
  13. # Keypoints
  14. kpt_shape: [17, 3] # number of keypoints, number of dims (2 for x,y or 3 for x,y,visible)
  15. flip_idx: [0, 2, 1, 4, 3, 6, 5, 8, 7, 10, 9, 12, 11, 14, 13, 16, 15]
  16. # Classes
  17. names:
  18. 0: person
  19. # Download script/URL (optional)
  20. download: https://ultralytics.com/assets/coco8-pose.zip