a7706fbde22887909db42f96a696437c084c05db,chainercv/evaluations/eval_detection_voc.py,,eval_detection_voc,#Any#Any#Any#Any#Any#Any#Any#Any#,11

Before Change


            for bb in pred_bbox_l:
                if len(gt_bbox_l) > 0:
                    iou = bbox_iou(gt_bbox_l, bb[np.newaxis])
                    gt_idx = iou.argmax()
                    iou = iou[gt_idx]
                else:
                    iou = -np.inf

After Change


            if len(pred_bbox_l) == 0:
                continue
            if len(gt_bbox_l) == 0:
                match[l].extend((0,) * pred_bbox_l.shape[0])
                continue

            // VOC evaluation follows integer typed bounding boxes.
            pred_bbox_l = pred_bbox_l.copy()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: chainer/chainercv
Commit Name: a7706fbde22887909db42f96a696437c084c05db
Time: 2017-05-31
Author: Hakuyume@users.noreply.github.com
File Name: chainercv/evaluations/eval_detection_voc.py
Class Name:
Method Name: eval_detection_voc


Project Name: stanfordnlp/stanza
Commit Name: de634a0c0df0ff33c20f52d5ebb42b90ad8a82bf
Time: 2020-05-21
Author: horatio@gmail.com
File Name: stanza/models/classifiers/cnn_classifier.py
Class Name:
Method Name: label_text


Project Name: reinforceio/tensorforce
Commit Name: 49222e2c9fa43dc101efb72ab71c94fe94e41089
Time: 2017-05-21
Author: mi.schaarschmidt@gmail.com
File Name: tensorforce/models/dqfd_model.py
Class Name: DQFDModel
Method Name: create_tf_operations