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: /data/bbbbb/LearnableTreeFilterV2v/cvpods/_C.cpython-39-x86_64-linux-gnu.so: undefined symbol: _Z39tree_filter_refine_backward_edge_weightRKN2at6TensorES2_S2_S2_S2_S2_S2_S2_S2_ #7

Open
fengenxiang1123 opened this issue Sep 13, 2022 · 1 comment

Comments

@fengenxiang1123
Copy link

fengenxiang1123 commented Sep 13, 2022

When I execute "from cvpods.layers import TreeFilterV2", there is a problem. The detailed error is as follows:
Traceback (most recent call last):
File "", line 1, in
File "/data/bbbbb/LearnableTreeFilterV2v/cvpods/init.py", line 3, in
from .utils import setup_environment
File "/data/bbbbb/LearnableTreeFilterV2v/cvpods/utils/init.py", line 27, in
from .visualizer import ColorMode, VideoVisualizer, VisImage, Visualizer, colormap, random_color
File "/data/bbbbb/LearnableTreeFilterV2v/cvpods/utils/visualizer/init.py", line 5, in
from .video_visualizer import *
File "/data/bbbbb/LearnableTreeFilterV2v/cvpods/utils/visualizer/video_visualizer.py", line 6, in
from .visualizer import ColorMode, Visualizer, _create_text_labels, _PanopticPrediction
File "/data/bbbbb/LearnableTreeFilterV2v/cvpods/utils/visualizer/visualizer.py", line 17, in
from cvpods.structures import BitMasks, Boxes, BoxMode, Keypoints, PolygonMasks, RotatedBoxes
File "/data/bbbbb/LearnableTreeFilterV2v/cvpods/structures/init.py", line 2, in
from .boxes import Boxes, BoxMode, pairwise_ioa, pairwise_iou
File "/data/bbbbb/LearnableTreeFilterV2v/cvpods/structures/boxes.py", line 11, in
from cvpods.layers import cat
File "/data/bbbbb/LearnableTreeFilterV2v/cvpods/layers/init.py", line 4, in
from .deform_conv import DeformConv, ModulatedDeformConv
File "/data/bbbbb/LearnableTreeFilterV2v/cvpods/layers/deform_conv.py", line 11, in
from cvpods import _C
ImportError: /data/bbbbb/LearnableTreeFilterV2v/cvpods/_C.cpython-39-x86_64-linux-gnu.so: undefined symbol: Z39tree_filter_refine_backward_edge_weightRKN2at6TensorES2_S2_S2_S2_S2_S2_S2_S2

@fengenxiang1123 fengenxiang1123 changed the title ImportError: /data/hwang/program/LearnableTreeFilterV2v/cvpods/_C.cpython-39-x86_64-linux-gnu.so: undefined symbol: _Z39tree_filter_refine_backward_edge_weightRKN2at6TensorES2_S2_S2_S2_S2_S2_S2_S2_ ImportError: /data/bbbbb/LearnableTreeFilterV2v/cvpods/_C.cpython-39-x86_64-linux-gnu.so: undefined symbol: _Z39tree_filter_refine_backward_edge_weightRKN2at6TensorES2_S2_S2_S2_S2_S2_S2_S2_ Sep 13, 2022
@StevenGrove
Copy link
Owner

It seems the cuda codes of tree filter has not been compiled successfully. It could be using different cuda version for pytorch and nvcc. You can recompile the code by runing "python3 setup.py build develop --user" and check if it has similar issues.

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