Hi again,
I had the same issue after loading all graphs direct from seaborn. I follow the face landmarks tutorial and your tips on how to load the data into the data loader.  I successfully load the data, saw the images ( so they were there), but then to my surprise
0 torch.Size([4, 224, 224])
1 torch.Size([4, 224, 224])
So i follow another  topic you had on how to fix this then i used the code below:
data_transforms = transforms.Compose([
transforms.Grayscale(num_output_channels=1),
transforms.Resize(256),
transforms.CenterCrop(256),
transforms.ToTensor(),
transforms.Normalize(mean=[0.485, 0.456, 0.406],
                     std=[0.229, 0.224, 0.225] )])

transformed_dataset = FaceLandmarksDataset(csv_file='metadata.csv',
                                       root_dir="/figures/",
                                       transform = data_transforms )

for i in range(len(transformed_dataset)):
    sample = transformed_dataset[i]

    print(i, sample['image'].size())

    if i == 3:
        break

dataloader = DataLoader(transformed_dataset, batch_size=4,
                    shuffle=True, num_workers=4)

And I get the following error:
TypeError: img should be PIL Image. Got <class ‘dict’>