I have seen there is an option to load image with ‘mode’ = ‘RGB’, but I could not see a proper way to pass this argument while creating the Image feature for the dataset.
eventually I was doing this using map on the image feature in order to convert them all to RGB
But I was thinking on something that I can add up to the builtin dataset creation module, since the imagefolder framework also reads the Image column as PIL image