COCOData.validate_get_classes#

COCOData.validate_get_classes(batch)[source]#

Validate that the get_classes function returns data in the correct format.

Parameters
batch
Raises
ValidationError

If the classes data doesn’t fit the format after being transformed.