-
Notifications
You must be signed in to change notification settings - Fork 5.5k
ImportError: No module named core.config #475
Comments
Hi @saivineethkumar, have you followed the installation instructions and run |
thanks for the reply @ir413 |
@saivineethkumar Did you set the |
Hi @gadcam |
@saivineethkumar |
Thanks for the suggestion @gadcam . Setting the @saivineethkumar: Could you please describe the exact steps you have taken? (i.e. provide the information requested in the issue template).
Could you please clarify what do you mean by this? |
@ir413 When you have to build it without root privileges setting the |
@gadcam Permissions can be an issue when trying to install Detectron python modules into global site-packages (which can be done by running |
thanks @ir413 @gadcam |
|
@saivineethkumar ,you should make clean detectron build folder,and re-make this.it could be fine for me |
Hello
when I run the inference command
"sudo python tools/infer_simple.py --cfg configs/12_2017_baselines/e2e_mask_rcnn_R-101-FPN_2x.yaml --output-dir demo/output --image-ext jpg --wts \https://s3-us-west-2.amazonaws.com/detectron/35861858/12_2017_baselines/e2e_mask_rcnn_R-101-FPN_2x.yaml.02_32_51.SgT4y1cO/output/train/coco_2014_train:coco_2014_valminusminival/generalized_rcnn/model_final.pkl \demo"
I am getting the following error:
Traceback (most recent call last):
File "tools/infer_simple.py", line 40, in
from detectron.core.config import assert_and_infer_cfg
ImportError: No module named core.config
I can see the file config.py in the subfolder core which is in detectron dir, still I am getting the error.
And there are init.py files in both detectron dir and core dir
I am unable to understand where the problem is, can anyone help me with this
thankyou
The text was updated successfully, but these errors were encountered: