ShuangXieIrene / ssds.pytorch

Repository for Single Shot MultiBox Detector and its variants, implemented with pytorch, python3.
MIT License
571 stars 166 forks source link

how to deal with this bug? --No module named 'lib.utils.nms._ext.nms._nms' #10

Closed liye228 closed 6 years ago

liye228 commented 6 years ago

from ._nms import lib as _lib, ffi as _ffi ModuleNotFoundError: No module named 'lib.utils.nms._ext.nms._nms'

I use python3.6 .

foreverYoungGitHub commented 6 years ago

It is caused by the nms implementation with cuda version. We should remove it from the newest, please pull the newest version first.

But if you still have this problem. There are two solutions. 1) try to remove all the lib.utils.nms from your python file, or 2) try to build the cuda version nms based on the make.sh in lib/utils/nms