Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named dota_kit.poly_nms_gpu.poly_overlaps #6

Open
chituma110 opened this issue Jul 6, 2019 · 11 comments
Open

Comments

@chituma110
Copy link

image

After running the following command. there are no poly_overlaps to import

sudo apt-get install swig
cd ${RoI_ROOT}/dota_kit
swig -c++ -python polyiou.i
python setup.py build_ext --inplace
cd ${RoI_ROOT}/dota_kit/poly_nms_gpu
make -j16

@chituma110 chituma110 reopened this Jul 6, 2019
@dingjiansw101
Copy link
Owner

You should use the same python interpret for complile and run.

@YsDTL
Copy link

YsDTL commented Jul 11, 2019

I also encountered the same problem.I used the same python interpret(python 2.7) for complile and run.
image

@husthkk
Copy link

husthkk commented Jul 13, 2019

I also encountered the same problem.I used the same python interpret(python 2.7) for complile and run.
image

I also met this question.did you solved it?

@YsDTL
Copy link

YsDTL commented Jul 14, 2019

I also encountered the same problem.I used the same python interpret(python 2.7) for complile and run.
image

I also met this question.did you solved it?

I have not solved it yet.

@dingpc000
Copy link

in the file add
"import sys
sys.path.append("${RoI_ROOT}")
"

but it seem that another error happened
"AttributeError: 'module' object has no attribute 'PSROIALIGNAVEPooling'"

@wonyoungsen
Copy link

I solved this problem by modifying "..../core/rcnn.py" file,add a line ---- import sys sys.path.append("${RoI_ROOT}") at the beginning, it can work!

@wonyoungsen
Copy link

I also encountered the same problem.I used the same python interpret(python 2.7) for complile and run.
image

I also met this question.did you solved it?

I have not solved it yet.

I solved this problem by modifying "..../core/rcnn.py" file,add a line ---- import sys sys.path.append("${RoI_ROOT}") at the beginning, it can work!

@vickabuto
Copy link

I also encountered the same problem.I used the same python interpret(python 2.7) for complile and run.
image

I also met this question.did you solved it?

I have not solved it yet.

I solved this problem by modifying "..../core/rcnn.py" file,add a line ---- import sys sys.path.append("${RoI_ROOT}") at the beginning, it can work!

I have add "import sys
sys.path.append("${RoI_ROOT}")
"
but it still has the same problem.(ImportError: No module named dota_kit.poly_nms_gpu.poly_overlaps)
Please help me thank you!

@GrayGriffin
Copy link

I have also been having this issue. "import sys" doesn't help at all, nor does directly editing the import path.

@lingdiandeshui
Copy link

Also encounter this issue, compile all in the same anaconda envi,“import sys” does not help,hope author can help. @dingjiansw101
PS,Is there anything to do with MXnet?

@nandini211995
Copy link

in the file add "import sys sys.path.append("${RoI_ROOT}") " but it seem that another error happened "AttributeError: 'module' object has no attribute 'PSROIALIGNAVEPooling'"

Did you solve "another error happened "AttributeError: 'module' object has no attribute 'PSROIALIGNAVEPooling'"".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants