Skip to content

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.

1 participant