module = self._system_import(name, *args, **kwargs) File "D:\Python39\lib\site-packages\mrcnn\model.py", line 24, in import keras.engine as KE File "D:\PyCharm 2021.3.3\plugins\python\helpers\pydev_pydev_bundle\pydev_import_hook.py", line 21, in do_import ...
25 from mrcnn import visualize /content/Mask_RCNN/mrcnn/model.pyin 21 import keras.backend as K 22 import keras.layers as KL ---> 23 import keras.engine as KE 24 import keras.models as KM 25 ModuleNotFoundError: No module named 'keras.engine' ...
KL.Input(shape=[config.IMAGE_META_SIZE], 1859 name="input_image_meta") 1860 if mode == "training": 1861 # RPN GT ... File :991, in _find_and_load(name, import_) File :973, in _find_and_load_unlocked(name, import_) ModuleNotFoundError: No module named 'keras.engine.base_...
-> 1837 self.keras_model = self.build(mode=mode, config=config) 1838 1839 def build(self, mode, config): /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/mask_rcnn-2.1-py3.8.egg/mrcnn/model.py in build(self, mode, config) 2041 # output is [batch, num_de...