def __call__(self, img):
    if (random.random() < self.p):
        sigma = ((random.random() * 1.9) + 0.1)
        return img.filter(ImageFilter.GaussianBlur(sigma))
    else:
        return img
def __call__(self, img):
    if (random.random() < self.p):
        sigma = ((random.random() * 1.9) + 0.1)
        return img.filter(ImageFilter.GaussianBlur(sigma))
    else:
        return img