Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'keras.engine.topology #91

Open
PierrunoYT opened this issue Mar 1, 2023 · 3 comments
Open

ModuleNotFoundError: No module named 'keras.engine.topology #91

PierrunoYT opened this issue Mar 1, 2023 · 3 comments

Comments

@PierrunoYT
Copy link

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'

@o-ayoub
Copy link

o-ayoub commented Mar 25, 2023

@PierrunoYT have you fixed the issue ?

@gelodefaultbrain
Copy link

gelodefaultbrain commented May 16, 2023

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.

@gelodefaultbrain
Copy link

gelodefaultbrain commented May 16, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants