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

No module named 'keras.engine' #3024

Open
QQ3107887303 opened this issue Mar 16, 2024 · 5 comments
Open

No module named 'keras.engine' #3024

QQ3107887303 opened this issue Mar 16, 2024 · 5 comments

Comments

@QQ3107887303
Copy link

Traceback (most recent call last):
File "E:\git\maskrcnn-balloon\samples\balloon\balloon.py", line 62, in
import model as modellib
File "E:\git\maskrcnn-balloon\samples\balloon\model.py", line 28, in
import keras.engine as KE
ModuleNotFoundError: No module named 'keras.engine'

@KRIPB
Copy link

KRIPB commented Mar 18, 2024

me too
still not solved

@lailailee
Copy link

mee too
image

@simone-agliano-dev
Copy link

I guess python3.4 is required, I've been trying to install it and give it a shot. BTW, do you have Python 3.4?

@SeeenyaOhar
Copy link

An obvious solution to this is use:
keras.layers.Layer instead of KE.Layer

@DevHawon
Copy link

using "keras.layers.Layer" is the solution

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

6 participants