Folder layout
- The image folder must be named
imagesand sit next to the labels CSV. - All images share one extension (
.jpg,.jpegor.png; default.jpg) and one resolution, which you declare intarget_size. The ingestor copies them unchanged.
Labels CSV
Rules for
Annotation:
- Every row must name exactly
number_of_keypointskeypoints, and every row must use the same keypoint names as the first row. - Coordinates must be numeric and non-negative, with
x < widthandy < heightoftarget_size. - At least two keypoints must differ in both x and y, so the keypoints span a real bounding box.
ingest.yaml
What the ingestor checks
Plus the checks every ingest runs.
Size limit
Onetracebloc data ingest takes at most 1 GiB in total and 500 MiB per file. If your dataset is larger:
- Save the images as JPEG instead of PNG.
- Lower the resolution: resize every image to one smaller size, and scale the keypoint coordinates to match.
- Use fewer images.
Sample dataset
The template ships three 448×448 RGB JPEG images with nine upper-body keypoints each (nose, left_eye, right_eye, left_shoulder, right_shoulder, left_elbow, right_elbow, left_wrist, right_wrist) and three classes. The ingest.yaml above ingests it as is.
Next steps
- Ingest the data: Prepare Data
- Shared rules for every template: Dataset templates