faster-rcnn.pytorch
faster-rcnn.pytorch copied to clipboard
Import _C - ImportError: DLL load failed - Branch: pytorch-1.0
I tried to run the demo.py and got an import error message.
python demo.py
Traceback (most recent call last):
File "demo.py", line 32, in
What I did so far is to run the lib/setup.py and got the lib/model/_C.cp37-win_amd64.pyd file. After running the demo.py I got the error mentioned above. Its seems there is no module called '_C'. Does somebody have any recommendations?
Thanks!
为什么之前的人们没有遇到这个问题
我也是同样的问题,好久了
I got the same error, made it work by using: requirements.txt: torch==1.4.0 torchvision==0.5.0
If someone has a fix using the latest pytorch please do comment
can _C be directly imported? I mean in config.py it is __C rather than _C