ab11f67ef80ca205f9c4ae6d7f4dc7d43e829c19,test/augmenters/test_blend.py,TestAlphaElementwise,test_polygons_factor_is_0_and_per_channel,#TestAlphaElementwise#,1429

Before Change


            per_channel=True)
        observed = aug.augment_polygons([self.psoi])
        expected = self.psoi.shift(left=1)
        assert len(observed) == 1
        assert len(observed[0].polygons) == 1
        assert observed[0].shape == self.psoi.shape
        assert observed[0].polygons[0].exterior_almost_equals(
            expected.polygons[0])

After Change


            "augment_polygons", self.psoi)

    def test_polygons_factor_is_0_and_per_channel(self):
        self._test_cba_factor_is_0_and_per_channel(
            "augment_polygons", self.psoi)

    def test_polygons_factor_is_choice_around_050_and_per_channel(self):
        // why were different polygons than self.psoi chosen here?
        ps = [ia.Polygon([(0, 0), (15, 0), (10, 0), (10, 5), (10, 10),
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: aleju/imgaug
Commit Name: ab11f67ef80ca205f9c4ae6d7f4dc7d43e829c19
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_blend.py
Class Name: TestAlphaElementwise
Method Name: test_polygons_factor_is_0_and_per_channel


Project Name: aleju/imgaug
Commit Name: 51cf14a916b88493885988004646aee02a2fa5b3
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_blend.py
Class Name: TestAlpha
Method Name: test_polygons_factor_is_0_and_per_channel


Project Name: aleju/imgaug
Commit Name: 51cf14a916b88493885988004646aee02a2fa5b3
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_blend.py
Class Name: TestAlpha
Method Name: test_keypoints_factor_is_0_with_per_channel


Project Name: aleju/imgaug
Commit Name: ab11f67ef80ca205f9c4ae6d7f4dc7d43e829c19
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_blend.py
Class Name: TestAlphaElementwise
Method Name: test_keypoints_factor_is_0_with_per_channel