e4d62de5bc12d1e411adbfe4b76f15d157d77c65,utils/utils.py,,non_max_suppression,#Any#Any#Any#,295

Before Change


                    ious = bbox_iou(det_class[:1], det_class[1:])

                    if ious.max() > 0.5:
                        det_max.append(det_class[0].unsqueeze(0))

                    // Remove detections with IoU >= NMS threshold
                    det_class = det_class[1:][ious < nms_thres]

After Change


                while len(dc) > 1:
                    iou = bbox_iou(dc[:1], dc[1:])  // iou with other boxes
                    if iou.max() > 0.5:
                        det_max.append(dc[:1])
                    dc = dc[1:][iou < nms_thres]  // remove ious > threshold

            elif nms_style == "MERGE":  // weighted mixture box
                while len(dc) > 0:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: ultralytics/yolov3
Commit Name: e4d62de5bc12d1e411adbfe4b76f15d157d77c65
Time: 2019-02-18
Author: glenn.jocher@ultralytics.com
File Name: utils/utils.py
Class Name:
Method Name: non_max_suppression


Project Name: mariogeiger/se3cnn
Commit Name: 056e16dead1d8c8c59496de6b2d1fc0ccb396afb
Time: 2018-10-15
Author: geiger.mario@gmail.com
File Name: se3cnn/kernel.py
Class Name:
Method Name: gaussian_window


Project Name: pytorch/fairseq
Commit Name: de977736f91d23c53e6a60c45822973a615daa15
Time: 2020-11-02
Author: shajain@fb.com
File Name: fairseq/models/bart/hub_interface.py
Class Name: BARTHubInterface
Method Name: fill_mask