How to load image dataset for image classification

I have custom dataset in which labels are given as folder name.
How can I load such dataset using torchvision.datasets

Hi @Kalaria_Pinkesh,
You can use torchvision.datasets.ImageFolder()
Please refer Pytorch Documentation for more details.