mrcnm.model报错,怎么解决?

新手上路,请多包涵

mrcnm.model报错:module 'keras.engine' has no attribute 'Layer'

我尝试过运行MatterPort/MaskRCNN代码,但报错:

----> 6 from mrcnn.model import MaskRCNN

/usr/local/lib/python3.7/dist-packages/mrcnn/model.py in <module>()
    253 
    254 
--> 255 class ProposalLayer(KE.Layer):
    256     """Receives anchor scores and selects a subset to pass as proposals
    257     to the second stage. Filtering is done based on anchor scores and

AttributeError: module 'keras.engine' has no attribute 'Layer'

有大佬懂这个情况是怎么回事吗?

阅读 859
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题