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.
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
- Stage the data and run the ingest: Prepare Data
- Shared rules for every template: Dataset templates