NeRF-SLAM icon indicating copy to clipboard operation
NeRF-SLAM copied to clipboard

ImportError: /usr/local/lib/python3.8/dist-packages/droid_backends-0.0.0-py3.8-linux-x86_64.egg/lietorch_backends.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZNK2at10TensorBase8data_ptrIdEEPT_v

Open 1005452649 opened this issue 2 years ago • 11 comments

Traceback (most recent call last): File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/user/linzejun01/linzejun_mutiply_view01/NeRF-SLAM/./examples/../pipeline/pipeline_module.py", line 88, in spin self.initialize_module() File "/home/user/linzejun01/linzejun_mutiply_view01/NeRF-SLAM/./examples/../gui/gui_module.py", line 19, in initialize_module from gui.open3d_gui import Open3dGui File "/home/user/linzejun01/linzejun_mutiply_view01/NeRF-SLAM/./examples/../gui/open3d_gui.py", line 4, in from fusion.tsdf_fusion import TsdfFusion File "/home/user/linzejun01/linzejun_mutiply_view01/NeRF-SLAM/./examples/../fusion/tsdf_fusion.py", line 6, in from lietorch import SE3 File "/usr/local/lib/python3.8/dist-packages/droid_backends-0.0.0-py3.8-linux-x86_64.egg/lietorch/init.py", line 2, in from .groups import LieGroupParameter, SO3, RxSO3, SE3, Sim3, cat, stack File "/usr/local/lib/python3.8/dist-packages/droid_backends-0.0.0-py3.8-linux-x86_64.egg/lietorch/groups.py", line 5, in from .group_ops import Exp, Log, Inv, Mul, Adj, AdjT, Jinv, Act3, Act4, ToMatrix, ToVec, FromVec File "/usr/local/lib/python3.8/dist-packages/droid_backends-0.0.0-py3.8-linux-x86_64.egg/lietorch/group_ops.py", line 1, in import lietorch_backends ImportError: /usr/local/lib/python3.8/dist-packages/droid_backends-0.0.0-py3.8-linux-x86_64.egg/lietorch_backends.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZNK2at10TensorBase8data_ptrIdEEPT_v Process Process-2: Traceback (most recent call last): File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/user/linzejun01/linzejun_mutiply_view01/NeRF-SLAM/./examples/../pipeline/pipeline_module.py", line 88, in spin self.initialize_module() File "/home/user/linzejun01/linzejun_mutiply_view01/NeRF-SLAM/./examples/../fusion/fusion_module.py", line 21, in initialize_module from fusion.tsdf_fusion import TsdfFusion File "/home/user/linzejun01/linzejun_mutiply_view01/NeRF-SLAM/./examples/../fusion/tsdf_fusion.py", line 6, in from lietorch import SE3 File "/usr/local/lib/python3.8/dist-packages/droid_backends-0.0.0-py3.8-linux-x86_64.egg/lietorch/init.py", line 2, in from .groups import LieGroupParameter, SO3, RxSO3, SE3, Sim3, cat, stack File "/usr/local/lib/python3.8/dist-packages/droid_backends-0.0.0-py3.8-linux-x86_64.egg/lietorch/groups.py", line 5, in from .group_ops import Exp, Log, Inv, Mul, Adj, AdjT, Jinv, Act3, Act4, ToMatrix, ToVec, FromVec File "/usr/local/lib/python3.8/dist-packages/droid_backends-0.0.0-py3.8-linux-x86_64.egg/lietorch/group_ops.py", line 1, in import lietorch_backends ImportError: /usr/local/lib/python3.8/dist-packages/droid_backends-0.0.0-py3.8-linux-x86_64.egg/lietorch_backends.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZNK2at10TensorBase8data_ptrIdEEPT_v

1005452649 avatar Apr 25 '23 10:04 1005452649

@ToniRV

1005452649 avatar Apr 25 '23 10:04 1005452649

have solved this problem myself

1005452649 avatar Apr 26 '23 02:04 1005452649

Hi,I meet a similar problem with you: image could you please tell me how you solved this error finally?

nowhereman1999 avatar Apr 26 '23 02:04 nowhereman1999

Check whether the cuda and pytorch versions match, and then update pytorch to match the cuda version @Hezhexi2002

1005452649 avatar Apr 26 '23 03:04 1005452649

Check whether the cuda and pytorch versions match, and then update pytorch to match the cuda version @Hezhexi2002

image the verion of my cuda and torch should be matched like the screenshot shown above,but the error still exits

nowhereman1999 avatar Apr 26 '23 06:04 nowhereman1999

your cuda version? @Hezhexi2002

1005452649 avatar Apr 26 '23 06:04 1005452649

your cuda version? @Hezhexi2002

image my cuda version is 11.8 as you can see,so you mean I must reinstall the torch with cu118?

nowhereman1999 avatar Apr 26 '23 06:04 nowhereman1999

your cuda version? @Hezhexi2002

image my cuda version is 11.8 as you can see,so you mean I must reinstall the torch with cu118?

image image as you can see,the error still exits after I install the torch exactly match my cuda version,is it related to my gtsam installation but the compilation is completely successful,could you please give me more suggestions?

nowhereman1999 avatar Apr 26 '23 09:04 nowhereman1999

must reinstall the torch with cu118

1005452649 avatar May 04 '23 00:05 1005452649

must reinstall the torch with cu118

But there is no release version of torch with cu118

nowhereman1999 avatar May 05 '23 07:05 nowhereman1999

reinstall cuda @Hezhexi2002

1005452649 avatar May 06 '23 04:05 1005452649