I saw this code on the official keras documentation and I have read the images need to be resized/ scaled prior to feeding to model. Can you please advise the best way?