tianzhi0549 / FCOS

FCOS: Fully Convolutional One-Stage Object Detection (ICCV'19)
https://arxiv.org/abs/1904.01355
Other
3.27k stars 630 forks source link

can't import _C #353

Closed cvJie closed 3 years ago

cvJie commented 3 years ago

微信图片_20210720085125

I can't import _C,and can't find _C in fcos_sore,so i change it to import _C from ._utils,but it still error. can you give me some advices?

code from :

from ._utils import _C

from fcos_core import _C to: from ._utils import _C

from fcos_core import _C

guigarfr commented 3 years ago

You should compile C code.

run python setup.py develop in the project directory or python setup.py develop --no-deps

student123ab commented 1 year ago

You should compile C code.

run python setup.py develop in the project directory or python setup.py develop --no-deps

I run the file but report an error " RuntimeError: Error compiling objects for extension " could you help me, thanks