matterport / Mask_RCNN

Mask R-CNN for object detection and instance segmentation on Keras and TensorFlow
Other
24.57k stars 11.69k forks source link

No module named 'keras.engine' #3024

Open QQ3107887303 opened 6 months ago

QQ3107887303 commented 6 months ago

Traceback (most recent call last): File "E:\git\maskrcnn-balloon\samples\balloon\balloon.py", line 62, in import model as modellib File "E:\git\maskrcnn-balloon\samples\balloon\model.py", line 28, in import keras.engine as KE ModuleNotFoundError: No module named 'keras.engine'

KRIPB commented 6 months ago

me too still not solved

lailailee commented 6 months ago

mee too

image
simone-agliano-dev commented 6 months ago

I guess python3.4 is required, I've been trying to install it and give it a shot. BTW, do you have Python 3.4?

SeeenyaOhar commented 5 months ago

An obvious solution to this is use: keras.layers.Layerinstead of KE.Layer

DevHawon commented 5 months ago

using "keras.layers.Layer" is the solution