7cb46cb78c2e83ad5055e6f4b92cb57af8ccff59,tests/links_tests/model_tests/faster_rcnn_tests/utils_tests/test_delta_encode_decode.py,TestDeltaEncodeDecode,check_delta_decode,#TestDeltaEncodeDecode#Any#Any#Any#,49

Before Change


    def check_delta_decode(self, bbox, gt_bbox, target):
        out_bbox = delta_decode(bbox, target)

        xp = cuda.get_array_module(gt_bbox)
        self.assertEqual(xp, cuda.get_array_module(out_bbox))

        np.testing.assert_equal(
            cuda.to_cpu(out_bbox), cuda.to_cpu(gt_bbox))

After Change


    def check_delta_decode(self, bbox, base_raw_bbox, expected):
        raw_bbox = delta_decode(bbox, base_raw_bbox)

        self.assertIsInstance(raw_bbox, type(expected))
        np.testing.assert_equal(
            cuda.to_cpu(raw_bbox), cuda.to_cpu(expected))

    def test_delta_decode_cpu(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: chainer/chainercv
Commit Name: 7cb46cb78c2e83ad5055e6f4b92cb57af8ccff59
Time: 2017-05-17
Author: yuyuniitani@gmail.com
File Name: tests/links_tests/model_tests/faster_rcnn_tests/utils_tests/test_delta_encode_decode.py
Class Name: TestDeltaEncodeDecode
Method Name: check_delta_decode


Project Name: chainer/chainercv
Commit Name: 8060a6afa8c754d7914aac5e7655294758a8449f
Time: 2017-05-07
Author: yuyuniitani@gmail.com
File Name: tests/utils_tests/bbox_tests/test_non_maximum_suppression.py
Class Name: TestNonMaximumSuppressionZeroLengthBbox
Method Name: check_non_maximum_suppression_zero_legnth_bbox


Project Name: chainer/chainercv
Commit Name: 9d5a80b76dd3449e224fd2c9887dead1040ee5a0
Time: 2017-05-16
Author: yuyuniitani@gmail.com
File Name: tests/links_tests/model_tests/faster_rcnn_tests/utils_tests/test_proposal_creator.py
Class Name: TestProposalCreator
Method Name: check_proposal_creator


Project Name: chainer/chainercv
Commit Name: 7cb46cb78c2e83ad5055e6f4b92cb57af8ccff59
Time: 2017-05-17
Author: yuyuniitani@gmail.com
File Name: tests/links_tests/model_tests/faster_rcnn_tests/utils_tests/test_delta_encode_decode.py
Class Name: TestDeltaEncodeDecode
Method Name: check_delta_encode