Please format the code so it is more readable, use % ``` (without the %) at the beginning and end of the code.
This is an example how you could do your transforms:
my_transforms = transforms.Compose([
    transforms.RandomRotation(degrees=5), 
    transforms.ToTensor(), 
    transforms.Normalize(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5]) 
    ])