Load data with ImageFolder

hi im tyring to load my data with ImageFolder but i have problem to load it bicuse my data has two subfolder one of them for class and the other is for diffrent angle of my photos like 0,30,90

image_datasets = datasets.ImageFolder(root= PATH_OF_DATA, transform=data_transforms)

Comment 2: Using the image datasets and the transforms, define the dataloaders

dataloaders = torch.utils.data.DataLoader(image_datasets, batch_size=32, shuffle=False, num_workers=2)

If your data uses a different structure than the expected one in ImageFolder, you could write a custom Dataset as described in this tutorial.