#๐Ÿ”’ Stuck at version error while running Mask RCNN module

6 messages ยท Page 1 of 1 (latest)

near lynx
#

I'm trying to run mask RCNN code. But i'm stuck at keras version error. Here's my tensorflow, keras version and [mask rcnn link] [https://github.com/matterport/Mask_RCNN]

import keras, tensorflow as tf

keras.__version__ , tf.__version__

('3.4.1', '2.17.0')

ModuleNotFoundError                       Traceback (most recent call last)

<ipython-input-3-87b76c9d6778> in <cell line: 12>()
     10 
     11 from mrcnn.config import Config
---> 12 from mrcnn.model import modellib, utils

/content/mrcnn/model.py in <module>
     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'
tacit mirageBOT
#

@near lynx

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

midnight bay
near lynx
tacit mirageBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.