roytseng-tw / Detectron.pytorch

A pytorch implementation of Detectron. Both training from scratch and inferring directly from pretrained Detectron weights are available.
MIT License
2.82k stars 565 forks source link

ImportError: dynamic module does not define init function (init_roi_pooling) #156

Open softmicro929 opened 6 years ago

softmicro929 commented 6 years ago

have you anyone got such a problem? when run testing. Traceback (most recent call last): File "tools/test_net.py", line 14, in from core.test_engine import run_inference File "/home/wangshuainan/mask-rcnn.pytorch/lib/core/test_engine.py", line 39, in from modeling import model_builder File "/home/wangshuainan/mask-rcnn.pytorch/lib/modeling/model_builder.py", line 11, in from model.roi_pooling.functions.roi_pool import RoIPoolFunction File "/home/wangshuainan/mask-rcnn.pytorch/lib/model/roi_pooling/functions/roi_pool.py", line 3, in from .._ext import roi_pooling File "/home/wangshuainan/mask-rcnn.pytorch/lib/model/roi_pooling/_ext/roi_pooling/init.py", line 3, in from ._roi_pooling import lib as _lib, ffi as _ffi ImportError: dynamic module does not define init function (init_roi_pooling)

softmicro929 commented 6 years ago

make again.