C2_W4_Lab_1_multi_class_classifier.ipynb No module named 'keras_preprocessing'
xyashapyx opened this issue · comments
In the "Prepare the ImageDataGenerator" it is needed to replace
"from keras_preprocessing.image import ImageDataGenerator"
with
"from tensorflow.keras.preprocessing.image import ImageDataGenerator"
without this I'm getting the error:
`---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
in <cell line: 1>()
----> 1 from keras_preprocessing.image import ImageDataGenerator
2 from tensorflow.keras.preprocessing.image import ImageDataGenerator
3
4 TRAINING_DIR = "tmp/rps-train/rps"
5 training_datagen = ImageDataGenerator(
ModuleNotFoundError: No module named 'keras_preprocessing'
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------`
Hi! This is now fixed. Thank you for reporting!