dataeval.utils.data¶
Deprecated location. Dataset operations moved to dataeval.data.
Importing split_dataset(), unzip_dataset(), TrainValSplit, or
DatasetSplits from here is deprecated; import them from dataeval.data.
The validation helpers (DatasetKind, validate_dataset(),
requires_maite_dataset()) remain available here.
Attributes¶
Kind of MAITE dataset a consumer requires. |
Functions¶
Validate a named dataset argument before the wrapped call runs (decorator). |
|
Validate that a dataset matches the expected MAITE datum shape. |
Module Contents¶
- dataeval.utils.data.DatasetKind¶
Kind of MAITE dataset a consumer requires.
"image_only"— only the image (datum[0]) is read; tuple or bare image both OK."classification"— full 3-tuple;datum[1]is anArrayof class scores/logits."object_detection"— full 3-tuple;datum[1]is anObjectDetectionTarget."segmentation"— full 3-tuple;datum[1]is aSegmentationTarget."any_target"— full 3-tuple;datum[1]matches any of the above.