Skip to main content
Sort images into classes. Each sample is one image file plus one row in a labels CSV that names the file and its class.

Folder layout

  • The image folder must be named images and 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 with spec.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 classes cat and dog. The ingest.yaml above ingests it with no overrides.

Next steps