Cannot import name 'images' from 'keras.preprocessing

keras was working fine before and suddenly this error popped up in my notebook after writing this code:
import os
from pathlib import Path
from keras.preprocessing import images
import matplotlib.pyplot as plt

hey @shreyanarula3 ,
you have mistakenly written it as images instead of image
the correct command is : from keras.preprocessing import image

I hope this would work and had also resolved your doubt.
Thank You

Happy Learning :slightly_smiling_face: .

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.