95019f66fa70766e78a949bddd336305be4918b8,chainercv/evaluations/eval_detection_voc.py,,_pred_and_rec_cls,#Any#Any#Any#Any#Any#,141
Before Change
if gt_bb.size > 0:
lt = np.maximum(gt_bb[:, :2], bb[:2])
rb = np.minimum(gt_bb[:, 2:], bb[2:])
area = np.prod(np.maximum(rb - lt + 1, 0), axis=1)
iou = area / (bbox_area[d] + gt_bb_area - area)
ioumax = np.max(iou)
jmax = np.argmax(iou)
After Change
axis=1)
bb_int = np.concatenate((bb[None][:, :2], bb[None][:, 2:] + 1),
axis=1)
iou = bbox_overlap(gt_bb_int, bb_int)[:, 0]
ioumax = np.max(iou)
jmax = np.argmax(iou)
if ioumax > iou_thresh:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: chainer/chainercv
Commit Name: 95019f66fa70766e78a949bddd336305be4918b8
Time: 2017-05-22
Author: yuyuniitani@gmail.com
File Name: chainercv/evaluations/eval_detection_voc.py
Class Name:
Method Name: _pred_and_rec_cls
Project Name: chainer/chainercv
Commit Name: 5e5c5374283ebbe1d32c10cbab271b893c03cdd7
Time: 2017-05-31
Author: Hakuyume@users.noreply.github.com
File Name: chainercv/evaluations/eval_detection_voc.py
Class Name:
Method Name: _voc_ap
Project Name: ray-project/ray
Commit Name: ce96b03b07a4a4bdd851aa84493c616cd291aff2
Time: 2020-10-06
Author: sven@anyscale.io
File Name: rllib/examples/env/mbmpo_env.py
Class Name: HopperWrapper
Method Name: reward