rcmalli/keras-vggface

ModuleNotFoundError: No module named 'keras.engine.topology

Opened this issue · 3 comments

Traceback (most recent call last):
File "C:\Users\pierr\Downloads\run.py", line 3, in
import keras_vggface
File "C:\Users\pierr\AppData\Local\Programs\Python\Python311\Lib\site-packages\keras_vggface_init_.py", line 1, in
from keras_vggface.vggface import VGGFace
File "C:\Users\pierr\AppData\Local\Programs\Python\Python311\Lib\site-packages\keras_vggface\vggface.py", line 9, in
from keras_vggface.models import RESNET50, VGG16, SENET50
File "C:\Users\pierr\AppData\Local\Programs\Python\Python311\Lib\site-packages\keras_vggface\models.py", line 20, in
from keras.engine.topology import get_source_inputs
ModuleNotFoundError: No module named 'keras.engine.topology'

@PierrunoYT have you fixed the issue ?

This has already been solved by this issue #73 and following a PR #89

However I think the Pypi isn't updated yet? for some reason? I'm getting the same issue as well when I do a pip install or even pipenv install. I assume the same to you @PierrunoYT

Could we please update Pypi please? Then we can close this? Thank you.

For now the best option is to install it on the github repo itself via

pip install git+https://github.com/rcmalli/keras-vggface.git