rcnn调用的cython,cython需要编译
I just find my command python use python3, but my project use python2.
So, I make it with python2 setup.py build_ext --inplace again.
So the problem was solved.
You can also enter the folder where the Cython files are placed and simply run:
python setup.py build_ext --inplace
make sure the setup.py is in the folder.
还需要在linux环境编译!!!!!!!不然win10报错:
File "setup.py", line 115, in build_extensions
customize_compiler_for_nvcc(self.compiler)
File "setup.py", line 88, in customize_compiler_for_nvcc
default_compiler_so = self.compiler_so
AttributeError: MSVCCompiler instance has no attribute 'compiler_so'
本文详细介绍了如何解决RCNN项目中Cython文件的编译问题,特别是在Python2和Python3版本冲突的情况下,提供了具体的解决方案,包括使用正确的Python版本进行编译,并确保在Linux环境下完成编译过程。
5181

被折叠的 条评论
为什么被折叠?



