4f35cda5adf73ab8ceacbba827400a1348cfb77f,albumentations/augmentations/transforms.py,RandomSnow,__init__,#RandomSnow#Any#Any#Any#Any#Any#,1689

Before Change


    def __init__(self, snow_point_lower=0.1, snow_point_upper=0.3, brightness_coeff=2.5, always_apply=False, p=0.5):
        super(RandomSnow, self).__init__(always_apply, p)

        assert 0 <= snow_point_lower <= snow_point_upper <= 1
        assert 0 <= brightness_coeff

        self.snow_point_lower = snow_point_lower
        self.snow_point_upper = snow_point_upper

After Change


                    (snow_point_lower, snow_point_upper)
                )
            )
        if brightness_coeff < 0:
            raise ValueError("brightness_coeff must be greater than 0. Got: {}".format(brightness_coeff))

        self.snow_point_lower = snow_point_lower
        self.snow_point_upper = snow_point_upper
        self.brightness_coeff = brightness_coeff
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: albu/albumentations
Commit Name: 4f35cda5adf73ab8ceacbba827400a1348cfb77f
Time: 2020-03-27
Author: dipetm@gmail.com
File Name: albumentations/augmentations/transforms.py
Class Name: RandomSnow
Method Name: __init__


Project Name: albu/albumentations
Commit Name: 4f35cda5adf73ab8ceacbba827400a1348cfb77f
Time: 2020-03-27
Author: dipetm@gmail.com
File Name: albumentations/augmentations/transforms.py
Class Name: RandomSnow
Method Name: __init__


Project Name: luispedro/mahotas
Commit Name: 9e4c5e7ddfd13624b5083b4fc37b7357632b4d31
Time: 2012-10-16
Author: luis@luispedro.org
File Name: mahotas/features/texture.py
Class Name:
Method Name: cooccurence


Project Name: markovmodel/PyEMMA
Commit Name: 3bdd46a595cc600c8b56c045530d1901639a7b2f
Time: 2017-05-24
Author: m.scherer@fu-berlin.de
File Name: pyemma/plots/networks.py
Class Name: NetworkPlot
Method Name: plot_network