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

Update in model.py #2697

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update in model.py #2697

wants to merge 1 commit into from

Conversation

keval2232
Copy link

Hello . I am commiting a change in the model.py file because in the new version of keras==2.4.0 there are some changes in keras so we can't import Layer from keras.engine so while importing the library mrcnn we get Atttribute error like "there is no attribute like Layer in keras.engine " so i get same error and i sloved it by importing Layer from tensorflow.keras.layers inplace of keras.engine and it works so i would request you to please commit this change so in future others will not face same issue as i face :)

Hello . I am commiting a change in the model.py file because in the new version of keras==2.4.0  there are some changes in keras so we can't import Layer from keras.engine so while importing the library mrcnn we get Atttribute error like "there is no attribute like Layer in keras.engine " so i get same error and i sloved it by importing Layer from tensorflow.keras.layers inplace of keras.engine and it works so i would request you to please commit this change so in future others will not face same issue as i face :)
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

Successfully merging this pull request may close these issues.

None yet

1 participant