Folder layout
- The image folder must be named
imagesand sit next to the labels CSV. - Every image in the dataset must have the same extension and the same width and height. Mixed extensions or mixed resolutions fail the ingest.
- Supported extensions:
.jpg,.jpeg,.png. The default is.jpeg; override it withspec.file_options.extension. - The ingestor copies images as they are. It does not resize them — bring them to the target size before you ingest.
Labels CSV
Extra columns are ignored unless you declare them in
schema.
ingest.yaml
To use images of another size, set
target_size (or spec.file_options.target_size) to their exact dimensions:
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.
- Use fewer images.
Sample dataset
The template ships six 256×256 RGB JPEG images (three cats, three dogs) and a labels CSV with the two classescat and dog. The ingest.yaml above ingests it with no overrides.
Next steps
- Ingest the data: Prepare Data
- Shared rules for every template: Dataset templates