MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / MatchedPrediction

Class MatchedPrediction

deeplabcut/core/inferenceutils.py:884–902  ·  view source on GitHub ↗

A match between a prediction and a ground truth assembly. The ground truth assembly should be None f the prediction was not matched to any GT, and the OKS should be 0. Attributes: prediction: A prediction made by a pose model. score: The confidence score for the predict

Source from the content-addressed store, hash-verified

882
883@dataclass
884class MatchedPrediction:
885 """A match between a prediction and a ground truth assembly.
886
887 The ground truth assembly should be None f the prediction was not matched to any GT,
888 and the OKS should be 0.
889
890 Attributes:
891 prediction: A prediction made by a pose model.
892 score: The confidence score for the prediction.
893 ground_truth: If None, then this prediction is not matched to any ground truth
894 (this can happen when there are more predicted individuals than GT).
895 Otherwise, the ground truth assembly to which this prediction is matched.
896 oks: The OKS score between the prediction and the ground truth pose.
897 """
898
899 prediction: Assembly
900 score: float
901 ground_truth: Assembly | None
902 oks: float
903
904
905def calc_object_keypoint_similarity(

Callers 1

match_assembliesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected