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

from . import deform_conv_cuda,ImportError: /home/user/repos/mmdetection/mmdet/ops/dcn/deform_conv_cuda.cpython-37m-x86_64-linux-gnu..so: undefined symbol: _ZN6caffe26detail37_typeMetaDataInstance_preallocated_32EI want to know the problem with this mmdet installation, my CUDA version is 10.1, pytorch version is 1.7.0, mmcv-full1.7.1 installed, mmdet2.10.0, if there is no other than the version is correct, but there is still this problem, it really crashes #5302

Open
cycj2021 opened this issue Jun 5, 2024 · 1 comment
Labels
documentation Problems about existing documentation or comments

Comments

@cycj2021
Copy link

cycj2021 commented Jun 5, 2024

📚 Documentation Issue

This issue category is for problems about existing documentation, not for asking how-to questions.

  • Provide a link to an existing documentation/comment/tutorial:

  • How should the above documentation/comment/tutorial improve:

@cycj2021 cycj2021 added the documentation Problems about existing documentation or comments label Jun 5, 2024
@cycj2021 cycj2021 changed the title from . import deform_conv_cuda,ImportError: /home/user/repos/mmdetection/mmdet/ops/dcn/deform_conv_cuda.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe26detail37_typeMetaDataInstance_preallocated_32E from . import deform_conv_cuda,ImportError: /home/user/repos/mmdetection/mmdet/ops/dcn/deform_conv_cuda.cpython-37m-x86_64-linux-gnu.I want to know the problem with this mmdet installation, my CUDA version is 10.1, pytorch version is 1.7.0, mmcv-full1.7.1 installed, mmdet2.10.0, if there is no other than the version is correct, but there is still this problem, it really crashes.so: undefined symbol: _ZN6caffe26detail37_typeMetaDataInstance_preallocated_32E Jun 5, 2024
@cycj2021 cycj2021 changed the title from . import deform_conv_cuda,ImportError: /home/user/repos/mmdetection/mmdet/ops/dcn/deform_conv_cuda.cpython-37m-x86_64-linux-gnu.I want to know the problem with this mmdet installation, my CUDA version is 10.1, pytorch version is 1.7.0, mmcv-full1.7.1 installed, mmdet2.10.0, if there is no other than the version is correct, but there is still this problem, it really crashes.so: undefined symbol: _ZN6caffe26detail37_typeMetaDataInstance_preallocated_32E from . import deform_conv_cuda,ImportError: /home/user/repos/mmdetection/mmdet/ops/dcn/deform_conv_cuda.cpython-37m-x86_64-linux-gnu..so: undefined symbol: _ZN6caffe26detail37_typeMetaDataInstance_preallocated_32EI want to know the problem with this mmdet installation, my CUDA version is 10.1, pytorch version is 1.7.0, mmcv-full1.7.1 installed, mmdet2.10.0, if there is no other than the version is correct, but there is still this problem, it really crashes Jun 5, 2024
@Programmer-RD-AI
Copy link
Contributor

Hi,
This issue is mainly from mmdetection which is also used in detectron2...
So it would help if you create an issue there is the following does not work.. :)

The following just pretty much reinstalls the packages but in regards to your CUDA versions, this issue mainly center's around the version mismatches, so try the following if not try and check up on if the versions you have support each other...

pip uninstall mmcv-full mmdet
CUDA_HOME=/usr/local/cuda-10.1 pip install mmcv-full==1.7.1 -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.7.0/index.html
pip install mmdet==2.10.0

Hope this helps
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Problems about existing documentation or comments
Projects
None yet
Development

No branches or pull requests

2 participants