RotationDetection icon indicating copy to clipboard operation
RotationDetection copied to clipboard

python setup.py build_ext --inplace -> 'MSVCCompiler' object has no attribute 'compiler_so' problem

Open sangheonEN opened this issue 2 years ago • 9 comments

image

What am i solve the problem. Please tell me about the problem. thank you.

sangheonEN avatar Mar 11 '22 09:03 sangheonEN

Sorry, we don't support windows, the bottleneck is compilation. You may need to modify the compiled script, but I'm not familiar with that.

yangxue0827 avatar Mar 11 '22 09:03 yangxue0827

  1. Then, Can you share the code that below list?

If so, it seems that I can implement it myself with py code by referring to the cpp code.

/alpharotate/libs/utils/iou_cpu.cpp /alpharotate/libs/utils/rbbox_overlaps.cpp /alpharotate/libs/utils/rotate_gpu_nms.hpp /alpharotate/libs/utils/rotate_polygon_nms.cpp

image

  1. Is it correct to convert the codes in the /alpharotate/libs/utils path from cpp format to py format through setup.py?

sangheonEN avatar Mar 14 '22 00:03 sangheonEN

And I don't find the /alpharotate.libs.box_utils folder!

image

sangheonEN avatar Mar 15 '22 01:03 sangheonEN

alpharotate/libs/utils

yangxue0827 avatar Mar 15 '22 01:03 yangxue0827

alpharotate/libs/utils

image

Likewise, I don't see the box_utils above path.

sangheonEN avatar Mar 15 '22 01:03 sangheonEN

I rename it alpharotate/libs/utils. where do you find alpharotate/libs/box_utils

yangxue0827 avatar Mar 15 '22 01:03 yangxue0827

207 line in iou_rotate.py -> from alpharotate.libs.box_utils.overlaps_cython.overlaps_cython import rbox_overlaps

image

is rbox_overlaps function name change?

what is rbox_overlaps name now?

sangheonEN avatar Mar 15 '22 01:03 sangheonEN

image

What path should I set each of those cudaconfig parameters to in the CUDA Toolkit?

image image

In general, when setting the path to the cuda toolkit environment variable, is that nvcc path the nvcc.exe file in cudatoolkit?

sangheonEN avatar Mar 23 '22 00:03 sangheonEN

Hi @sangheonEN were you able to rewrite the compilation for windows ? I'm also finding difficulty in compiling it on windows. Help out

akashlp27 avatar Apr 15 '22 00:04 akashlp27