class documentation
class UltralyticsOutputProcessor(fout.OutputProcessor): (source)
Constructor: UltralyticsOutputProcessor(classes, **kwargs)
Converts Ultralytics PyTorch Hub model outputs to FiftyOne format.
Method | __call__ |
Parses the model output. |
Method | _to |
Undocumented |
Inherited from OutputProcessor
:
Method | __init__ |
Undocumented |
Parses the model output.
Parameters | |
result | Undocumented |
frame | the (width, height) of the frames in the batch |
confidenceNone | an optional confidence threshold to use to filter any applicable predictions |
output | the model output for the batch of predictions |
Returns | |
a list of fiftyone.core.labels.Label instances |