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

ImportError: /workspaces/BRNet/mmdet3d/ops/ball_query/ball_query_ext.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe28TypeMeta21_typeMetaDataInstanceIN3c107complexINS2_4HalfEEEEEPKNS_6detail12TypeMetaDataEv #9

Open
fathyshalaby opened this issue Feb 2, 2022 · 1 comment

Comments

@fathyshalaby
Copy link

fathyshalaby commented Feb 2, 2022

Thanks for your error report and we appreciate it a lot.

Checklist

  1. I have searched related issues but cannot get the expected help.
  2. The bug has not been fixed in the latest version.

Describe the bug
I tried running the demo mentioned in the readme.md and get the following error:

Traceback (most recent call last):
File "demo/pcd_demo.py", line 3, in
from mmdet3d.apis import inference_detector, init_detector, show_result_meshlab
File "/workspaces/BRNet/mmdet3d/apis/init.py", line 1, in
from .inference import inference_detector, init_detector, show_result_meshlab
File "/workspaces/BRNet/mmdet3d/apis/inference.py", line 8, in
from mmdet3d.core import Box3DMode, show_result
File "/workspaces/BRNet/mmdet3d/core/init.py", line 2, in
from .bbox import * # noqa: F401, F403
File "/workspaces/BRNet/mmdet3d/core/bbox/init.py", line 2, in
from .coders import DeltaXYZWLHRBBoxCoder
File "/workspaces/BRNet/mmdet3d/core/bbox/coders/init.py", line 6, in
from .class_agnostic_bbox_coder import ClassAgnosticBBoxCoder
File "/workspaces/BRNet/mmdet3d/core/bbox/coders/class_agnostic_bbox_coder.py", line 4, in
from mmdet3d.core.bbox.structures import rotation_3d_in_axis
File "/workspaces/BRNet/mmdet3d/core/bbox/structures/init.py", line 1, in
from .base_box3d import BaseInstance3DBoxes
File "/workspaces/BRNet/mmdet3d/core/bbox/structures/base_box3d.py", line 5, in
from mmdet3d.ops.iou3d import iou3d_cuda
File "/workspaces/BRNet/mmdet3d/ops/init.py", line 5, in
from .ball_query import ball_query
File "/workspaces/BRNet/mmdet3d/ops/ball_query/init.py", line 1, in
from .ball_query import ball_query
File "/workspaces/BRNet/mmdet3d/ops/ball_query/ball_query.py", line 4, in
from . import ball_query_ext
ImportError: /workspaces/BRNet/mmdet3d/ops/ball_query/ball_query_ext.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe28TypeMeta21_typeMetaDataInstanceIN3c107complexINS2_4HalfEEEEEPKNS_6detail12TypeMetaDataEv

Reproduction

  1. What command or script did you run?
CUDA_VISIBLE_DEVICES=0 python demo/pcd_demo.py sunrgbd_000094.bin demo/brnet_8x1_sunrgbd-3d-10class.py checkpoints/brnet_8x1_sunrgbd-3d-10class_trained.pth

I used the config file included so don't think that is a solution to this problem.

@cheng052
Copy link
Owner

cheng052 commented Feb 8, 2022

It's usually a compile error. You may check your pytorch version, nvcc version, gcc/g++ version for compiling the cuda ops in mmdetection3d.

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

2 participants