3d4655914a58c53e177cc51e357596d94222f290,tests/evaluations_tests/test_eval_detection_coco.py,TestEvalDetectionCOCOSimple,test_crowded,#TestEvalDetectionCOCOSimple#,39

Before Change


        self.gt_labels = (np.array(label) for label in data["gt_labels"])

    def test_crowded(self):
        if not optional_modules:
            return
        result = eval_detection_coco(self.pred_bboxes, self.pred_labels,
                                     self.pred_scores,
                                     self.gt_bboxes, self.gt_labels,
                                     gt_crowdeds=[[True]])

After Change


        self.gt_labels = (np.array(label) for label in data["gt_labels"])

    def test_crowded(self):
        if not available:
            self.skipTest("pycocotools is not available")
        result = eval_detection_coco(self.pred_bboxes, self.pred_labels,
                                     self.pred_scores,
                                     self.gt_bboxes, self.gt_labels,
                                     gt_crowdeds=[[True]])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 8

Instances


Project Name: chainer/chainercv
Commit Name: 3d4655914a58c53e177cc51e357596d94222f290
Time: 2018-06-06
Author: yuyuniitani@gmail.com
File Name: tests/evaluations_tests/test_eval_detection_coco.py
Class Name: TestEvalDetectionCOCOSimple
Method Name: test_crowded


Project Name: chainer/chainercv
Commit Name: 3d4655914a58c53e177cc51e357596d94222f290
Time: 2018-06-06
Author: yuyuniitani@gmail.com
File Name: tests/evaluations_tests/test_eval_detection_coco.py
Class Name: TestEvalDetectionCOCOSimple
Method Name: test_area_default


Project Name: chainer/chainercv
Commit Name: 3d4655914a58c53e177cc51e357596d94222f290
Time: 2018-06-06
Author: yuyuniitani@gmail.com
File Name: tests/evaluations_tests/test_eval_detection_coco.py
Class Name: TestEvalDetectionCOCO
Method Name: test_eval_detection_voc


Project Name: chainer/chainercv
Commit Name: 3d4655914a58c53e177cc51e357596d94222f290
Time: 2018-06-06
Author: yuyuniitani@gmail.com
File Name: tests/evaluations_tests/test_eval_detection_coco.py
Class Name: TestEvalDetectionCOCOSimple
Method Name: test_area_specified