COCOData.validate_format#

COCOData.validate_format(model, device=None)[source]#

Validate the correctness of the data class implementation according to the expected format.

Parameters
modelModel

Model to validate the data class implementation against.

device

Device to run the model on.