class documentation

Interface for processing the outputs of Torch models.

Parameters
classesthe list of class labels for the model. This may not be required or used by some models
Method __call__ Parses the model output.
Method __init__ Undocumented
def __call__(self, output, frame_size, confidence_thresh=None): (source)

Parses the model output.

Parameters
outputthe model output for the batch of predictions
frame_sizethe (width, height) of the frames in the batch
confidence_thresh:Nonean optional confidence threshold to use to filter any applicable predictions
Returns
a list of fiftyone.core.labels.Label instances