Solved by ptrblck in post #2 
              
              
                You are currently trying to pass a single transformation to transforms, which expects a StandardTransform object as seen here. 
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 targ…