VideoPose3D复现过程中遇到的问题

Undefined symbols that looks like "TH..","at::Tensor...","torch..."
Missing torch dynamic libraries, OR segmentation fault immediately when using detectron2.
Undefined C++ symbols (e.g. "GLIBCXX..") or C++ symbols not found.
"nvcc not found" or "Not compiled with GPU support" or "Detectron2 CUDA Compiler: not available".
"invalid device function" or "no kernel image is available for execution".
Undefined CUDA symbols; Cannot open libcudart.so
C++ compilation errors from NVCC / NVRTC, or "Unsupported gpu architecture"
"ImportError: cannot import name '_C'".
Any issue on windows.
ONNX conversion segfault after some "TraceWarning".
"library not found for -lstdc++" on older version of MacOS
Installation inside specific environments:
Colab: see our Colab Tutorial which has step-by-step instructions.

Docker: The official Dockerfile installs detectron2 with a few simple commands.

我的目的是安装预构建的 Detectron2(仅限 Linux)

上述错误可以用解决方式上看出:原因在于我的CUDA安装位置比较特殊,并不是在默认安装路径下安装的

CUDA 11.8 实际路径为 /home/deng1/cuda-11.8
export CUDA_HOME=/home/deng1/cuda-11.8
export PATH=$CUDA_HOME/bin:$PATH
export LD_LIBRARY_PATH=$CUDA_HOME/lib64:$LD_LIBRARY_PATH
posted @ 2025-02-18 22:04  珍惜时光,辉煌拔尖  阅读(37)  评论(0)    收藏  举报