COCOData.validate_image_data#

COCOData.validate_image_data(batch)[source]#

Validate that the data is in the required format.

The validation is done on the first element of the batch.

Parameters
batch
Raises
DeepchecksValueError

If the batch data doesn’t fit the format after being transformed by self().