DetectionData.validate_prediction#

DetectionData.validate_prediction(batch, model, device)[source]#

Validate the prediction.

Parameters
batcht.Any

Batch from DataLoader

modelt.Any
devicetorch.Device
Raises
DeepchecksValueError

If predictions format is invalid

DeepchecksNotImplementedError

If infer_on_batch not implemented