j96w / 6-PACK

"6-PACK: Category-level 6D Pose Tracker with Anchor-Based Keypoints" code repository
https://sites.google.com/view/6packtracking
MIT License
297 stars 52 forks source link

ModuleNotFoundError: No module named 'libs.knn.knn_pytorch._knn_pytorch' #33

Closed xsf777 closed 2 years ago

xsf777 commented 2 years ago

D:\Users\xsf\PycharmProjects\6-PACK-master\libs\transformations.py:1912: UserWarning: failed to import module _transformations warnings.warn('failed to import module %s' % name) Traceback (most recent call last): File "D:/Users/xsf/PycharmProjects/6-PACK-master/train.py", line 18, in from libs.loss import Loss File "D:\Users\xsf\PycharmProjects\6-PACK-master\libs\loss.py", line 11, in from libs.knn.init import KNearestNeighbor File "D:\Users\xsf\PycharmProjects\6-PACK-master\libs\knn__init__.py", line 7, in from libs.knn import knn_pytorch as knn_pytorch File "D:\Users\xsf\PycharmProjects\6-PACK-master\libs\knn\knn_pytorch__init__.py", line 3, in from ._knn_pytorch import lib as _lib, ffi as _ffi ModuleNotFoundError: No module named 'libs.knn.knn_pytorch._knn_pytorch'

Process finished with exit code 1

xsf777 commented 2 years ago

This is problem in windows.It disappears in linux.