GithubHelp home page GithubHelp logo

Comments (4)

FateScript avatar FateScript commented on July 20, 2024

This is a compile error, please provide your cuda/cudnn/pytorch version. This issue might help you.

from borderdet.

DaiBeimin avatar DaiBeimin commented on July 20, 2024

Their versions are CUDA 9.0.176, cudnn 7 and pytorch 1.3.1(pytorch is same as requirements).
Besides, my gcc version is 5.3.1 and there was no errors when I run the command "python setup.py build develop" except some warnings of cpp. This error occurred at the line "from cvpods import _C".

The full logs is:
Traceback (most recent call last):
File "", line 1, in
File "/home/dbm/BorderDet/cvpods/init.py", line 3, in
from .utils import setup_environment
File "/home/dbm/BorderDet/cvpods/utils/init.py", line 11, in
from .visualizer import colormap, random_color, VideoVisualizer, ColorMode, VisImage, Visualizer
File "/home/dbm/BorderDet/cvpods/utils/visualizer/init.py", line 5, in
from .video_visualizer import *
File "/home/dbm/BorderDet/cvpods/utils/visualizer/video_visualizer.py", line 6, in
from .visualizer import ColorMode, Visualizer, _create_text_labels, _PanopticPrediction
File "/home/dbm/BorderDet/cvpods/utils/visualizer/visualizer.py", line 15, in
from cvpods.structures import BitMasks, Boxes, BoxMode, Keypoints, PolygonMasks, RotatedBoxes
File "/home/dbm/BorderDet/cvpods/structures/init.py", line 2, in
from .boxes import Boxes, BoxMode, pairwise_iou, pairwise_ioa
File "/home/dbm/BorderDet/cvpods/structures/boxes.py", line 8, in
from cvpods.layers import cat
File "/home/dbm/BorderDet/cvpods/layers/init.py", line 3, in
from .deform_conv import DeformConv, ModulatedDeformConv
File "/home/dbm/BorderDet/cvpods/layers/deform_conv.py", line 10, in
from cvpods import _C
ImportError: /home/dbm/BorderDet/cvpods/_C.cpython-36m-x86_64-linux-gnu.so: undefined symbol: ZN6cvpods25ComputeAdaptiveLrOnDeviceEN2at6TensorES1_dddS1

This error makes me so confused because the compile seems successful but in fact failed.
I have no idea about how to solve this cpp error. And thanks for your reply. Can you give me some advice?

from borderdet.

FateScript avatar FateScript commented on July 20, 2024

The version of NVCC you use to build cvpods or torchvision does not match the version of CUDA you are running with. This often happens when using anaconda's CUDA runtime.

Uninstalling torch and torchvision and deleting the copies from /lib/python3.6/site-packages/ and reinstalling them might fix your issue.

from borderdet.

DaiBeimin avatar DaiBeimin commented on July 20, 2024

oh, thanks. I think I have figured out the problem. Pytorc 1.1.3 matchs to CUDA 10 rather than CUDA 9 and I will change the my CUDA version to see whether it is useful.

from borderdet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.