FCOS icon indicating copy to clipboard operation
FCOS copied to clipboard

ImportError: cannot import name '_C'

Open EchoTang123 opened this issue 6 years ago • 4 comments

when i ran this code, there is an import error, i can't find the _C file in fcos_core, please help me with the problem. Thank you a lot!

EchoTang123 avatar Oct 09 '19 09:10 EchoTang123

@EchoTang123 Do you follow the installation instructions to compile the project?

tianzhi0549 avatar Oct 10 '19 05:10 tianzhi0549

Thanks for your reply, but i met another problem, shown as follows FileNotFoundError: [Errno 2] No such file or directory: './configs/fcos_R_50_FPN_1x.yaml' 2019-10-17 10-10-02屏幕截图 This '.yaml' file has existed in the configs folder. But when i run the code, errors happened.

EchoTang123 avatar Oct 17 '19 02:10 EchoTang123

@EchoTang123 After following the installation instructions(Option1), I still get the error for cannot import name '_C'. How do you solve this error?

Chiweishndsme avatar Dec 25 '19 02:12 Chiweishndsme

when i ran this code, there is an import error, i can't find the _C file in fcos_core, please help me with the problem. Thank you a lot!

Compile the project. Run python setup.py develop --no-deps. If you still get the same error, check that the compilation finished successfully.

guigarfr avatar Aug 13 '21 07:08 guigarfr