yangxue0827 / RotationDetection

This is a tensorflow-based rotation detection benchmark, also called AlphaRotate.
https://rotationdetection.readthedocs.io/
Apache License 2.0
1.08k stars 181 forks source link

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

Open sangheonEN opened 2 years ago

sangheonEN commented 2 years ago

image

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

yangxue0827 commented 2 years ago

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.

sangheonEN commented 2 years ago
  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 commented 2 years ago

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

image

yangxue0827 commented 2 years ago

alpharotate/libs/utils

sangheonEN commented 2 years ago

alpharotate/libs/utils

image

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

yangxue0827 commented 2 years ago

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

sangheonEN commented 2 years ago

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 commented 2 years ago

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?

akashlp27 commented 2 years ago

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