MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / tblr2bboxes

Function tblr2bboxes

mmdet/core/bbox/coder/tblr_bbox_coder.py:124–206  ·  view source on GitHub ↗

Decode tblr outputs to prediction boxes. The process includes 3 steps: 1) De-normalize tblr coordinates by multiplying it with `normalizer`; 2) De-normalize tblr coordinates by the prior bbox width and height if `normalize_by_wh` is `True`; 3) Convert tblr (top, bottom, left, right)

(priors,
                tblr,
                normalizer=4.0,
                normalize_by_wh=True,
                max_shape=None,
                clip_border=True)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

decodeMethod · 0.85

Calls 3

dynamic_clip_for_onnxFunction · 0.90
catMethod · 0.80
flipMethod · 0.45

Tested by

no test coverage detected