jwyang / faster-rcnn.pytorch

A faster pytorch implementation of faster r-cnn
MIT License
7.67k stars 2.33k forks source link

dynamic module does not define init function (init_c) #742

Open bashirulazam opened 4 years ago

bashirulazam commented 4 years ago

I am having this error while running the train function. I am using Python 2.7 and Pytorch = 1.0.0. Has anyone experienced the same issue?

sdoerr1 commented 4 years ago

I'm having this same error using ubuntu 18.04.3 with Pytorch = 1.14, Python 3.7, and cuda 10. I've been having this error consistently for a while:

I've changed the file path structure here, so some of these folders will be different. I was able to compile this exact code on another Linux machine with the same versions back earlier in Fall 2018, however now I keep getting the same error. File "/home/sdoerr1/Screw Detection Network/ScrewDetector/screw_detector/models/faster_rcnn/roi_layers/__init__.py", line 3, in <module> from .nms import nms File "/home/sdoerr1/Screw Detection Network/ScrewDetector/screw_detector/models/faster_rcnn/roi_layers/nms.py", line 3, in <module> from screw_detector.models.faster_rcnn import _C ImportError: dynamic module does not define module export function (PyInit__C)

tryontester commented 4 years ago

Same error while running in colab. Changed python,cuda,pytorch versions but always got the same error.

15131757787 commented 7 months ago

ImportError: dynamic module does not define module export function (PyInit__C)