MCPcopy Create free account
hub / github.com/PaddlePaddle/PaddleYOLO / get_pred

Method get_pred

ppdet/modeling/post_process.py:79–173  ·  view source on GitHub ↗

Rescale, clip and filter the bbox from the output of NMS to get final prediction. Notes: Currently only support bs = 1. Args: bboxes (Tensor): The output bboxes with shape [N, 6] after decode and NMS, including labels, scores a

(self, bboxes, bbox_num, im_shape, scale_factor)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

nonempty_bboxFunction · 0.90

Tested by

no test coverage detected