Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.so: undefined symbol #36

Open
635583042qq opened this issue May 12, 2022 · 2 comments
Open

.so: undefined symbol #36

635583042qq opened this issue May 12, 2022 · 2 comments

Comments

@635583042qq
Copy link

when ℹ run this command :python train_and_eval.py --batch_size 8 --epochs 100 --ckpt_save_interval 2
i get error :Traceback (most recent call last):
File "train_and_eval.py", line 183, in
MODEL = importlib.import_module(args.net) # import network module
File "/home/liyunhao/anaconda3/envs/pointnet2/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/liyunhao/bao/Pointnet2.PyTorch-master/tools/pointnet2_msg.py", line 3, in
from pointnet2.pointnet2_modules import PointnetFPModule, PointnetSAModuleMSG
File "/home/liyunhao/bao/Pointnet2.PyTorch-master/tools/../pointnet2/pointnet2_modules.py", line 5, in
from . import pointnet2_utils
File "/home/liyunhao/bao/Pointnet2.PyTorch-master/tools/../pointnet2/pointnet2_utils.py", line 7, in
import pointnet2_cuda as pointnet2
ImportError: /home/liyunhao/anaconda3/envs/pointnet2/lib/python3.7/site-packages/pointnet2-0.0.0-py3.7-linux-x86_64.egg/pointnet2_cuda.cpython-37m-x86_64-linux-gnu.so: undefined symbol: Z31gather_points_grad_wrapper_fastiiiiN2at6TensorES0_S0

I think this error has something to do with so file but i cant solve it .

@Dejavuvvw
Copy link

Hello, I also encountered the same problem. Have you solved it?

@jia1047
Copy link

jia1047 commented Sep 27, 2024

请问解决了吗?显示装上了链接库,但是import pointnet2_cuda as pointnet2,pointnet2.ball_query_wrapper(B, N, npoint, radius, nsample, new_xyz, xyz, idx)有问题,查找不到pointnet2.ball_query_wrapper()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants