MCPcopy Create free account
hub / github.com/Tencent/FaceDetection-DSFD / jaccard

Function jaccard

layers/box_utils.py:56–74  ·  view source on GitHub ↗

Compute the jaccard overlap of two sets of boxes. The jaccard overlap is simply the intersection over union of two boxes. Here we operate on ground truth boxes and default boxes. E.g.: A ∩ B / A ∪ B = A ∩ B / (area(A) + area(B) - A ∩ B) Args: box_a: (tensor) Ground

(box_a, box_b)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

refine_matchFunction · 0.85
matchFunction · 0.85
sfd_matchFunction · 0.85

Calls 1

intersectFunction · 0.70

Tested by

no test coverage detected