ImportError: cannot import name 'Image' from 'tensorflow.keras.preprocessing.image' (/usr/local/lib/python3.7/dist-packages/tensorflow/keras/preprocessing/image/__init__.py) site:stackoverflow.com code example
Example: ImportError: cannot import name 'image_dataset_from_directory' from 'tensorflow.keras.preprocessing.image' (C:\Users\zeewo\AppData\Roaming\Python\Python38\site-packages\tensorflow\keras\preprocessing\image\__init__.py)
pip install tf-nightly