0c1fa98633a568dd77dd3ff62a23d8f680a1658d,chainercv/evaluations/eval_detection_coco.py,,eval_detection_coco,#,16

Before Change


    pred_scores = iter(pred_scores)
    gt_bboxes = iter(gt_bboxes)
    gt_labels = iter(gt_labels)
    gt_areas = (iter(gt_areas) if gt_areas is not None
                else itertools.repeat(None))
    gt_crowdeds = (iter(gt_crowdeds) if gt_crowdeds is not None
                   else itertools.repeat(None))

After Change


    gt_labels = iter(gt_labels)
    if gt_areas is None:
        compute_area_dependent_metrics = False
        gt_areas = itertools.repeat(None)
    else:
        compute_area_dependent_metrics = True
        gt_areas = iter(gt_areas)
    gt_crowdeds = (iter(gt_crowdeds) if gt_crowdeds is not None
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: chainer/chainercv
Commit Name: 0c1fa98633a568dd77dd3ff62a23d8f680a1658d
Time: 2018-06-10
Author: yuyuniitani@gmail.com
File Name: chainercv/evaluations/eval_detection_coco.py
Class Name:
Method Name: eval_detection_coco


Project Name: chainer/chainercv
Commit Name: e5ea96a8a1be0e89f8f20fe3735c24cdfd8fb192
Time: 2018-04-24
Author: yuyuniitani@gmail.com
File Name: chainercv/experimental/links/model/fcis/utils/mask_voting.py
Class Name:
Method Name: mask_voting


Project Name: OpenNMT/OpenNMT-py
Commit Name: 614c41e7f05d274991d95271c49a87af3fa2cf49
Time: 2017-12-22
Author: skywalker@postech.edu
File Name: onmt/Loss.py
Class Name: NMTLossCompute
Method Name: compute_loss


Project Name: OpenNMT/OpenNMT-py
Commit Name: 211c9870f89e134bccd0a3d02d997e76af01a708
Time: 2018-06-24
Author: vince62s@yahoo.com
File Name: onmt/decoders/decoder.py
Class Name: RNNDecoderState
Method Name: repeat_beam_size_times