Skip to content

Commit

Permalink
yolov8 docs update (#69)
Browse files Browse the repository at this point in the history
* yolov8 docs update
  • Loading branch information
Eldies authored Dec 25, 2024
1 parent 8330e2d commit a3ed10b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions site/content/en/docs/formats/yolo_ultralytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,22 @@ All coordinates must be normalized and be in range \[0, 1\].
It can be achieved by dividing x coordinates and widths by image width,
and y coordinates and heights by image height.

For compatibility with other tools exporting in Ultralytics YOLO format
(e.g. [roboflow](https://roboflow.com/formats/yolov8-pytorch-txt)),
datumaro supports datasets with the inverted directory order of subset and "images" or "labels",
i.e. both `train/images/`, `images/train/` are valid inputs.
```bash
archive.zip/
├── train/
│ ├── images/ # directory with images for train subset
│ │ ├── image1.jpg
│ │ ├── image2.jpg
│ │ └── ...
│ ├── labels/ # directory with annotations for train subset
│ │ ├── image1.txt
│ │ ├── image2.txt
│ │ └── ...
```

## Export to other formats

Expand Down

0 comments on commit a3ed10b

Please sign in to comment.