78af1378c55637a88c63019b3b8dbdd5379c5a20,tests/extensions_tests/evaluator_tests/test_semantic_segmentation_evaluator.py,TestSemanticSegmentationEvaluator,test_evaluate,#TestSemanticSegmentationEvaluator#,97

Before Change


        np.testing.assert_equal(eval_["main/class_accuracy/c"], np.nan)

    def test_evaluate(self):
        self._check_evaluate()

    @attr.mpi
    def test_evaluate_with_comm(self):
        comm = create_communicator("naive")

After Change


            self.iterator, self.link, self.label_names)

    def test_evaluate(self):
        reporter = chainer.Reporter()
        reporter.add_observer("main", self.link)
        with reporter:
            eval_ = self.evaluator.evaluate()

        // No observation is reported to the current reporter. Instead the
        // evaluator collect results in order to calculate their mean.
        np.testing.assert_equal(len(reporter.observation), 0)

        np.testing.assert_equal(eval_["main/miou"], self.miou)
        np.testing.assert_equal(eval_["main/pixel_accuracy"],
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 10

Instances


Project Name: chainer/chainercv
Commit Name: 78af1378c55637a88c63019b3b8dbdd5379c5a20
Time: 2019-05-28
Author: yuyuniitani@gmail.com
File Name: tests/extensions_tests/evaluator_tests/test_semantic_segmentation_evaluator.py
Class Name: TestSemanticSegmentationEvaluator
Method Name: test_evaluate


Project Name: chainer/chainercv
Commit Name: 78af1378c55637a88c63019b3b8dbdd5379c5a20
Time: 2019-05-28
Author: yuyuniitani@gmail.com
File Name: tests/extensions_tests/evaluator_tests/test_instance_segmentation_voc_evaluator.py
Class Name: TestInstanceSegmentationVOCEvaluator
Method Name: test_evaluate


Project Name: chainer/chainercv
Commit Name: 78af1378c55637a88c63019b3b8dbdd5379c5a20
Time: 2019-05-28
Author: yuyuniitani@gmail.com
File Name: tests/extensions_tests/evaluator_tests/test_detection_voc_evaluator.py
Class Name: TestDetectionVOCEvaluator
Method Name: test_evaluate


Project Name: chainer/chainercv
Commit Name: 78af1378c55637a88c63019b3b8dbdd5379c5a20
Time: 2019-05-28
Author: yuyuniitani@gmail.com
File Name: tests/extensions_tests/evaluator_tests/test_instance_segmentation_coco_evaluator.py
Class Name: TestInstanceSegmentationCOCOEvaluator
Method Name: test_evaluate