↓ 2 callersMethodhard_mining(self, inds, num_expected, bboxes, labels, feats)
mmdet/models/task_modules/samplers/ohem_sampler.py:34
↓ 2 callersMethodhbox2cornerConvert box coordinates from (x1, y1, x2, y2) to corners ((x1, y1), (x2, y1), (x1, y2), (x2, y2)). Args: boxes (Tensor):
mmdet/structures/bbox/horizontal_boxes.py:205