aim-uofa / AdelaiDet

AdelaiDet is an open source toolbox for multiple instance-level detection and recognition tasks.
https://git.io/AdelaiDet
Other
3.38k stars 650 forks source link

adet / layers / bezier_align.py报错,ImportError:无法导入名称“ _C”,这个_C是什么我没找到 #73

Closed jiangzz1628 closed 4 years ago

jiangzz1628 commented 4 years ago

请问‘_C’在什么地方

stan-haochen commented 4 years ago

Clean and recompile AdelaiDet

jiangzz1628 commented 4 years ago

您好,我按照您给的步骤重新setup了工程,还是cannot import name '_C',能否通俗的说一下如何Clean and recompile AdelaiDet吗?非常感谢

stan-haochen commented 4 years ago

remove the build/ directory under the project folder and run

python setup.py build develop

again

Yuliang-Liu commented 4 years ago

@jiangzz1628 Feel free to reopen if it still unsolved.

eeric commented 3 years ago

@jiangzz1628 Before installation,rm -rf build to clean the old build. script as following: python3 -m pip install 'git+https://github.com/facebookresearch/detectron2.git' from https://github.com/facebookresearch/detectron2/blob/master/INSTALL.md