Resizing the image is taking very long

Have you tried increasing the num_workers parameter of data loader?