↓ 1 callersMethodsingle_mask_loss(self, gt_mask, pred, proto, xyxy, area, nm)
ppdet/modeling/losses/yolov5_loss.py:645
↓ 1 callersFunctionxyxy2xywh Convert bounding box coordinates from (x1, y1, x2, y2) format to (x, y, width, height) format where (x1, y1) is the top-left corner and (x2,
ppdet/modeling/heads/yolov6_head.py:2300
↓ 1 callersMethodyolov5_loss(self, pi, t_cls, t_box, t_indices, t_anchor, balance)
ppdet/modeling/losses/yolov5_loss.py:182
↓ 1 callersMethodyolov5ins_loss(self, pi, proto, t_cls, t_box, t_indices, t_anchor,
t_tidxs, t_xywhn, masks, balance)
ppdet/modeling/losses/yolov5_loss.py:560