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'
有大佬懂这个情况是怎么回事吗?
以上是 mrcnm.model报错,怎么解决? 的全部内容, 来源链接: utcz.com/p/938520.html