Hi,
You have typo here, it must be transform not transforms. I mean s is the problem.



 Gustavo_Adolfo_Schwa:

testset = torchvision.datasets.ImageFolder(‘data/’, transform=transforms)


Based on your definition in below line



 Gustavo_Adolfo_Schwa:

transform = transforms.Compose( [transforms.ToTensor(), transforms.Normalize([0.485, 0.456, 0.406], [0.229, 0.224, 0.225])])


transform is composed object and transforms is the PyTorch package itself.
In the CIFAR10 example, you are using transform!



 Gustavo_Adolfo_Schwa:

“”"testset = torchvision.datasets.CIFAR10(root=’./data’, train=False, download=True, transform=transform)


Good luck