Shortcuts

FiftyOneDetectionLabelsOutput

class flash.image.detection.output.FiftyOneDetectionLabelsOutput(labels=None, threshold=None, return_filepath=True)[source]

A Output which converts model outputs to FiftyOne detection format.

Parameters
  • labels (Optional[List[str]]) – A list of labels, assumed to map the class index to the label for that class.

  • threshold (Optional[float]) – a score threshold to apply to candidate detections.

  • return_filepath (bool) – Boolean determining whether to return a dict containing filepath and FiftyOne labels (True) or only a list of FiftyOne labels (False)

Read the Docs v: 0.7.2
Versions
latest
stable
0.7.2
0.7.1
0.7.0
0.6.0
0.5.2
0.5.1
0.5.0
0.4.0
0.3.2
0.3.1
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0post1
docs-fix_typing
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.