Make sure this code is really called in your Dataset, as it should throw an error.
Image transformations like RandomRotation and RandomHorizontalFlip are only defined for PIL.Images.
Thus you would have to use ToTensor() and Normalize() as the last transformations.
I’m not sure if your Lambda(gaussian_blur) transform works on tensors or PIL.Images.