module 'keras.engine' has no attribute 'Layer'
You should write keras.layers
instead keras.engine at import section in model.py file
----> 6 from mrcnn.model import MaskRCNN
/usr/local/lib/python3.7/dist-packages/mrcnn/model.py in ()
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'