Closed Azong-HQU closed 1 year ago
请问作者,我运行./easy_setup.sh时一直编译失败,一直报一些环境问题,例如: FAILED: /media/disk1/NEW/UniHead-main/build/temp.linux-x86_64-3.8/media/disk1/NEW/UniHead-main/up/extensions/csrc/iou3d_nms/iou3d_nms_kernel.o
FAILED: /media/disk1/NEW/UniHead-main/build/temp.linux-x86_64-3.8/media/disk1/NEW/UniHead-main/up/extensions/csrc/cross_focal_loss/cross_focal_loss_sigmoid_kernel.o 等等
请问作者有其他方式创建环境吗?
另外,这三个路径都必须要指定好是吗?请问能否只指定gcc呢? export PATH=/your/path/to/gcc-5.3.0/bin/:$PATH # gcc path export LD_LIBRARY_PATH=/your/path/to/gmp-4.3.2/lib/:/your/path/to/mpfr-2.4.2/lib/:/your/path/to/mpc-0.8.1/lib/:$LD_LIBRARY_PATH # lib path export TORCH_CUDA_ARCH_LIST='3.5;5.0+PTX;6.0;7.0' # cuda list
请问作者,我运行./easy_setup.sh时一直编译失败,一直报一些环境问题,例如: FAILED: /media/disk1/NEW/UniHead-main/build/temp.linux-x86_64-3.8/media/disk1/NEW/UniHead-main/up/extensions/csrc/iou3d_nms/iou3d_nms_kernel.o
FAILED: /media/disk1/NEW/UniHead-main/build/temp.linux-x86_64-3.8/media/disk1/NEW/UniHead-main/up/extensions/csrc/cross_focal_loss/cross_focal_loss_sigmoid_kernel.o 等等
请问作者有其他方式创建环境吗?
另外,这三个路径都必须要指定好是吗?请问能否只指定gcc呢? export PATH=/your/path/to/gcc-5.3.0/bin/:$PATH # gcc path export LD_LIBRARY_PATH=/your/path/to/gmp-4.3.2/lib/:/your/path/to/mpfr-2.4.2/lib/:/your/path/to/mpc-0.8.1/lib/:$LD_LIBRARY_PATH # lib path export TORCH_CUDA_ARCH_LIST='3.5;5.0+PTX;6.0;7.0' # cuda list