DROID-SLAM
DROID-SLAM copied to clipboard
setup.py problem
src/droid_kernels.cu:15:10: fatal error: Eigen/Sparse: No such file or directory #include <Eigen/Sparse> ^~~~~~~~~~~~~~ compilation terminated. error: command '/usr/local/cuda-11/bin/nvcc' failed with exit code 1
when i run python setup.py install, i got some problem, can you help me~
src/droid_kernels.cu:15:10: fatal error: Eigen/Sparse: No such file or directory #include <Eigen/Sparse> ^~~~~~~~~~~~~~ compilation terminated. error: command '/usr/local/cuda-11/bin/nvcc' failed with exit code 1
when i run python setup.py install, i got some problem, can you help me~
It is possible that your third party (./thirdparty/eigen) dose not be downloaded
I installed this, but this error is still reported..
I had a similar problem that I solved because I did not clone with --recursive
. Even though the Eigen folder was there, the submodule was not cloned.
Is Eigen needed download by ourself? i cannot find download part in code
I solved this by using symbolic links to eigen3 in /usr/include
(DRD) ita:~/DROID-SLAM$ sudo python3 setup.py install
Traceback (most recent call last):
File "setup.py", line 2, in
Another Error: (DRD) ita:~/DROID-SLAM$ python3 setup.py install nvcc fatal : Unsupported gpu architecture 'compute_80' error: command '/bin/nvcc' failed with exit code 1
PLz help me
For your 2nd error, after that it will work I think:
@pradyumnakulkarni87 what is the output of torch.cuda.get_arch_list()
? after importing torch.
you need to comment some lines in setup.py:
if your GPU doesn't support compute_86 and compute_80 (which seems to be your case), comment out line no: 25, 26, 55, 56.
I found that in one of the issues earlier.
For your 2nd error, after that it will work I think:
@pradyumnakulkarni87 what is the output of
torch.cuda.get_arch_list()
? after importing torch. you need to comment some lines in setup.py: if your GPU doesn't support compute_86 and compute_80 (which seems to be your case), comment out line no: 25, 26, 55, 56. I found that in one of the issues earlier.
Thank you ! It works after Commenting ....Thank you