def __call__(self, img):
    if (random.random() < self.p):
        return ImageOps.solarize(img)
    else:
        return img
def __call__(self, img):
    if (random.random() < self.p):
        return ImageOps.solarize(img)
    else:
        return img