kimyoon-young / centerNet-deep-sort

realtime multiple people tracking (centerNet based person detector + deep sort algorithm with pytorch)
GNU General Public License v3.0
592 stars 148 forks source link

ImportError: cannot import name 'lib' #35

Closed WestbrookZero closed 4 years ago

WestbrookZero commented 4 years ago

<module 'sys' (built-in)> Traceback (most recent call last): File "D:/Projects/Track/OpenCV/centerNet-deep-sort/demo_centernet_deepsort.py", line 15, in from CenterNet.src.lib.detectors.detector_factory import detector_factory File "D:\Projects\Track\OpenCV\centerNet-deep-sort\CenterNet\src\lib\detectors\detector_factory.py", line 5, in from .exdet import ExdetDetector File "D:\Projects\Track\OpenCV\centerNet-deep-sort\CenterNet\src\lib\detectors\exdet.py", line 33, in from .base_detector import BaseDetector File "D:\Projects\Track\OpenCV\centerNet-deep-sort\CenterNet\src\lib\detectors\base_detector.py", line 14, in from ..models.model import create_model, load_model File "D:\Projects\Track\OpenCV\centerNet-deep-sort\CenterNet\src\lib\models\model.py", line 12, in from .networks.pose_dla_dcn import get_pose_net as get_dla_dcn File "D:\Projects\Track\OpenCV\centerNet-deep-sort\CenterNet\src\lib\models\networks\pose_dla_dcn.py", line 16, in from .DCNv2.dcn_v2 import DCN File "D:\Projects\Track\OpenCV\centerNet-deep-sort\CenterNet\src\lib\models\networks\DCNv2\dcn_v2.py", line 11, in from .dcn_v2_func import DCNv2Function File "D:\Projects\Track\OpenCV\centerNet-deep-sort\CenterNet\src\lib\models\networks\DCNv2\dcn_v2_func.py", line 9, in from ._ext import dcn_v2 as _backend File "D:\Projects\Track\OpenCV\centerNet-deep-sort\CenterNet\src\lib\models\networks\DCNv2_ext\dcn_v2__init__.py", line 6, in from ..dcn_v2 import lib as _lib, ffi as _ffi ImportError: cannot import name 'lib'