I want to acess m_rcnn.py file in jupyter notebook. The folder structure is as follows collab_mask_rcnn(working directory). Inside this workinhg directory i have a folder name maskrcnn_colab and inside this maskrcnn_colab folder i have another folder named mrcnn_demo where i have all the python file like m_rcnn.py, config.py located which i am trying to import
import sys
sys.path.append('C:/Users/BIUTeamUser3/Desktop/collab_mask_rcnn/maskrcnn_colab/mrcnn_demo')
from m_rcnn import *
When i excute this i get the following error
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-2-3841d2b3769e> in <module>
3 import sys
4 sys.path.append("C:/Users/BIUTeamUser3/Desktop/collab_mask_rcnn/maskrcnn_colab/mrcnn_demo")
----> 5 from m_rcnn import *
6 get_ipython().run_line_magic('matplotlib', 'inline')
C:/Users/BIUTeamUser3/Desktop/collab_mask_rcnn/maskrcnn_colab/mrcnn_demo\m_rcnn.py in <module>
19 # Import Mask RCNN
20 sys.path.append(ROOT_DIR) # To find local version of the library
---> 21 from mrcnn_demo.config import Config
22 from mrcnn_demo import utils
23 import mrcnn_demo.model as modellib
ModuleNotFoundError: No module named 'mrcnn_demo'
What am i missing?