Hi I have this error. My code looks like:
import torch
import torchvision
import torchvision.transforms as transforms
from torch.autograd import variable
import os

transform = transforms.Compose([transforms.ToTensor(),
                                transforms.Normalize((0.5,0.5,0.5),(0.5 , 0.5,0.5))])
trainset=torchvision.datasets.ImageFolder("C:/Users/join2/Desktop/updates/data/train/meningioma/1/",transform=transform)
trainLoader=torch.utils.data.DataLoader(trainset, batch_size= 4)

File “”, line 1, in 
runfile(‘C:/Users/join2/Desktop/updates/data/train/dataload.py’, wdir=‘C:/Users/join2/Desktop/updates/data/train’)
File “C:\Users\join2\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py”, line 704, in runfile
execfile(filename, namespace)
File “C:\Users\join2\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py”, line 108, in execfile
exec(compile(f.read(), filename, ‘exec’), namespace)
File “C:/Users/join2/Desktop/updates/data/train/dataload.py”, line 17, in 
trainset=torchvision.datasets.ImageFolder(“C:/Users/join2/Desktop/updates/data/train/meningioma/1/”,transform=transform)
File “C:\Users\join2\Anaconda3\lib\site-packages\torchvision\datasets\folder.py”, line 178, in init
target_transform=target_transform)
File “C:\Users\join2\Anaconda3\lib\site-packages\torchvision\datasets\folder.py”, line 75, in init
classes, class_to_idx = find_classes(root)
File “C:\Users\join2\Anaconda3\lib\site-packages\torchvision\datasets\folder.py”, line 23, in find_classes
classes = [d for d in os.listdir(dir) if os.path.isdir(os.path.join(dir, d))]
FileNotFoundError: [WinError 3] The system cannot find the path specified: ‘C:/Users/join2/Desktop/updates/data/train/meningioma/1/’