faster-rcnn.pytorch icon indicating copy to clipboard operation
faster-rcnn.pytorch copied to clipboard

cannot import name '_C' from 'model'

Open nicyyyy opened this issue 4 years ago • 6 comments

when I run trainval_net.py,the error comes up like this: from model import _C ImportError: cannot import name 'C' from 'model' (D:\1cnn\faster-rcnn.pytorch\lib\model_init.py) It has been confusing me for a long time.save me please!

nicyyyy avatar Jul 29 '20 07:07 nicyyyy

怎么搞同样的问题,您解决了吗

lxdo517 avatar Aug 09 '20 14:08 lxdo517

我也还没有呢 qAq@lxdo517

nicyyyy avatar Aug 09 '20 15:08 nicyyyy

you should run cd lib python setup.py build develop in readme.md,jwyang said The default version is compiled with Python 2.7, please compile by yourself if you are using a different python version.

cotyyang avatar Oct 02 '20 03:10 cotyyang

请问有人解决了吗?

tomato-lii avatar Nov 19 '20 08:11 tomato-lii

@nicyyyy 老哥解决了吗 emmm

a957815154 avatar Dec 04 '20 05:12 a957815154

I change to _C to _ _C, two dash line in config.py

dengandong avatar Aug 27 '21 10:08 dengandong