When I read an image from disk using scipy.ndimage.imread channels seems to be ordered okay - I can preview the picture just fine with plt.imshow
When I use ImageDataGenerator, this is not the case. I am guessing the channels are getting switched though can’t confirm. Please take a look at the below.
The question is - why is this happening? After rescaling the image is of dim (224, 224, 3), i tried all the possible permutations of the color channels, but to no avail - still getting peculiar colors.