coco8-pose.yaml 1022 B

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