92e4f9fc21754db063e055f7873b5452e0f2fa51,chainercv/evaluations/eval_detection.py,,eval_detection,#Any#Any#Any#Any#Any#Any#Any#Any#,4

Before Change


            if len(bboxes_cls) > 0:
                valid_cls[cls] = True

    _gt_bboxes = [[None for _ in xrange(n_img)]
                  for _ in xrange(n_class)]
    for i in range(n_img):
        for cls in range(n_class):

After Change



    valid_cls = np.zeros((n_class,), dtype=np.bool)
    n_img = len(bboxes)
    _bboxes = [[None for _ in six.moves.range(n_img)] for _ in xrange(n_class)]
    _confs = [[None for _ in six.moves.range(n_img)] for _ in xrange(n_class)]

    for i in range(n_img):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: chainer/chainercv
Commit Name: 92e4f9fc21754db063e055f7873b5452e0f2fa51
Time: 2017-04-26
Author: yuyuniitani@gmail.com
File Name: chainercv/evaluations/eval_detection.py
Class Name:
Method Name: eval_detection


Project Name: deepmind/sonnet
Commit Name: 533293872d41d410b8115f405205c4e0dfc925aa
Time: 2018-07-17
Author: mareynolds@google.com
File Name: sonnet/examples/rmc_nth_farthest.py
Class Name:
Method Name: build_and_train


Project Name: deepmind/sonnet
Commit Name: 1eac5c69422027a12db72c2666af224a95bc3f3c
Time: 2018-07-17
Author: mareynolds@google.com
File Name: sonnet/examples/dataset_nth_farthest.py
Class Name: NthFarthest
Method Name: _get_batch_data