def __call__(self, image, target):
    if self.to_bgr255:
        image = (image[[2, 1, 0]] * 255)
    image = F.normalize(image, mean=self.mean, std=self.std)
    return (image, target)
def __call__(self, image, target):
    if self.to_bgr255:
        image = (image[[2, 1, 0]] * 255)
    image = F.normalize(image, mean=self.mean, std=self.std)
    return (image, target)