", line 1, in File "/public/home/G19940018/3DGroup/Yaochun/PointRCNN/pointnet2_lib/pointnet2/fps.py", line 7, in import pointnet2_cuda as p..._pointnet2_cuda">
当前位置:   article > 正文

pointnet2_cuda.cpython-36m-x86_64-linux-gnu.so: undefined symbol: 的可能原因

pointnet2_cuda

编译完的pointNet模块找不到,提示错误

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/public/home/G19940018/3DGroup/Yaochun/PointRCNN/pointnet2_lib/pointnet2/fps.py", line 7, in <module>
    import pointnet2_cuda as pointnet2
ImportError: /public/home/G19940018/anaconda3/envs/py36/lib/python3.6/site-packages/pointnet2-0.0.0-py3.6-linux-x86_64.egg/pointnet2_cuda.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe26detail37_typeMetaDataInstance_

 可能是因为需要先引用torch,再引用编译的模块 pointnet2_cuda,即:

  1. import torch
  2. import pointnet2_cuda as pointnet2

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/115900
推荐阅读
相关标签