def __call__(self, fcos_head_outs, scale_factor):
    '\n        Decode the bbox and do NMS in FCOS.\n        '
    (locations, cls_logits, bboxes_reg, centerness) = fcos_head_outs
    (bboxes, score) = self.decode(locations, cls_logits, bboxes_reg, centerness, scale_factor)
    (bbox_pred, bbox_num, _) = self.nms(bboxes, score)
    return (bbox_pred, bbox_num)
Decode the bbox and do NMS in FCOS.
def __call__(self, fcos_head_outs, scale_factor):
    '\n        \n        '
    (locations, cls_logits, bboxes_reg, centerness) = fcos_head_outs
    (bboxes, score) = self.decode(locations, cls_logits, bboxes_reg, centerness, scale_factor)
    (bbox_pred, bbox_num, _) = self.nms(bboxes, score)
    return (bbox_pred, bbox_num)