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

Method decode

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

Apply transformation `pred_bboxes` to `boxes`. Args: bboxes (torch.Tensor): Basic boxes.Shape (B, N, 4) or (N, 4) pred_bboxes (torch.Tensor): Encoded boxes with shape (B, N, 4) or (N, 4) max_shape (Sequence[int] or torch.Tensor or Sequence[

(self, bboxes, pred_bboxes, max_shape=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

test_tblr_bbox_coderFunction · 0.95

Calls 1

tblr2bboxesFunction · 0.85

Tested by 1

test_tblr_bbox_coderFunction · 0.76