You are currently trying to pass a single transformation to transforms, which expects a StandardTransform object as seen here 21.
Try to use transform=transforms.ToTensor() instead (note the missing s on the left hand side) to transform the data.
If you also want to pass a transformation for the target image, use target_transform additionally.