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' #73
Comments
Same error for me when using the latest keras version. Keras 2.4.3/tensorflow 2.5 works fine. |
I solved this issue by changing the import from I made a PR for this issue. |
Same issue here, can this fix be merged? |
2 similar comments
Same issue here, can this fix be merged? |
Same issue here, can this fix be merged? |
same problem solved by this, plz accept the PR |
Same thing, it worked here. |
import cv2 def age_gender_prediction(image_path): example usageimage_path = r'C:\Users\pierr\Dropbox\pierre.jpg' |
hi @rcmalli,
|
Go inside the installed library and change that line there. ANy similar issues can be fixed like this.Even in colab |
from keras.engine.topology import get_source_inputs from keras.utils import layer_utilsto from keras.utils import get_source_inputs |
When I try to import keras-vggface in Google Colab I get the error: No module named 'keras.engine.topology'. The same happens on my local machine.
First, I install keras-vggface:
Then, I try to import:
The output is as follows:
The text was updated successfully, but these errors were encountered: