RoITransformer_DOTA icon indicating copy to clipboard operation
RoITransformer_DOTA copied to clipboard

ImportError: No module named dota_kit.poly_nms_gpu.poly_overlaps

Open chituma110 opened this issue 5 years ago • 11 comments

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 avatar Jul 06 '19 14:07 chituma110

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

dingjiansw101 avatar Jul 06 '19 15:07 dingjiansw101

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

YsDTL avatar Jul 11 '19 09:07 YsDTL

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?

husthkk avatar Jul 13 '19 09:07 husthkk

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.

YsDTL avatar Jul 14 '19 11:07 YsDTL

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'"

dingpc000 avatar Jul 24 '19 08:07 dingpc000

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 avatar Jul 24 '19 08:07 wonyoungsen

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!

wonyoungsen avatar Jul 24 '19 08:07 wonyoungsen

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!

vickabuto avatar Oct 02 '19 12:10 vickabuto

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

GrayGriffin avatar Oct 26 '19 14:10 GrayGriffin

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?

lingdiandeshui avatar Nov 15 '19 03:11 lingdiandeshui

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'"".

nandini211995 avatar Oct 27 '21 05:10 nandini211995