0

when I am writing the code in PowerShell in vscode

 from tensorflow.keras.preprocessing import image
 from keras_vggface.utils import preprocess_input
 from keras_vggface.vggface import VGGFace

I am getting this error. Help me with this

Traceback (most recent call last):
  File "src/02_feature_extractor.py", line 7, in <module>
    from keras_vggface.utils import preprocess_input
  File "C:\Users\shana\Desktop\face_match\env\lib\site-packages\keras_vggface\__init__.py", line 1, in <module>    from keras_vggface.vggface import VGGFace
  File "C:\Users\shana\Desktop\face_match\env\lib\site-packages\keras_vggface\vggface.py", line 9, in <module>
    from keras_vggface.models import RESNET50, VGG16, SENET50  File "C:\Users\shana\Desktop\face_match\env\lib\site-packages\keras_vggface\models.py", line 20, in <module>
    from keras.engine.topology import get_source_inputs
ModuleNotFoundError: No module named 'keras.engine.topology'
Shanu
  • 11
  • 1

0 Answers0