I was working on Mask RCNN so while executing demo.ipynb on jupyter notebook i got an error can anyone please help me out

AttributeError Traceback (most recent call last) in 14 sys.path.append(ROOT_DIR) # To find local version of the library 15 from mrcnn import utils —> 16 import mrcnn.model as modellib 17 from mrcnn import visualize 18 # Import COCO config

~\ComputerVisionProject\Mask_RCNN_CustomDataset\Mask_RCNN-master\Mask_RCNN-master\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’

Are you using this repo? I think its for tf version 1.x

yes, same error here.

@rohan_Singh If you’re using tf 2. x you can use the following implementation. It’s an extended version of the matterport and provides many backbones including efficientnets.