dataeval.exceptions.MaiteShapeError

exception dataeval.exceptions.MaiteShapeError

Raised when a dataset does not match the expected MAITE datum shape.

Public entry points that consume a MAITE-protocol dataset probe dataset[0] and raise this error when the datum does not have the expected (image, target, metadata) 3-tuple shape, or when the target does not match the protocol the consumer requires (e.g. ObjectDetectionTarget for an object detection consumer).

Inherits from TypeError so callers that previously caught the silent IndexError/TypeError from downstream destructuring keep working.