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

dynamic module does not define init function (init_c)

Open bashirulazam opened this issue 6 years ago • 3 comments

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?

bashirulazam avatar Jan 03 '20 18:01 bashirulazam

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)

sdoerr1 avatar Jan 19 '20 23:01 sdoerr1

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

tryontester avatar Mar 16 '20 08:03 tryontester

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

15131757787 avatar Mar 03 '24 13:03 15131757787