'Import "tensorflow.keras.preprocessing.image" could not be resolvedPylancereportMissingImports

I am getting the above error in my code. I do have the python keras library installed. Can anyone pls help with this?



Solution 1:[1]

I changed it to --from keras.applications import ImageDataGenerator and Voila it worked!!

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Vaishnavi