Vijayabhaskar J
1 min readFeb 28, 2019

--

Hi, keras-preprocessing uses PIL to read images and transform them underneath. I think it should work if you select color_mode=”rgb”. But I think the grayscale will be converted to 3 channel images that look grayscale but has rgb (3 channels). You don’t need to repeat the channels by copying it.

--

--

Vijayabhaskar J
Vijayabhaskar J

No responses yet