Open FlorinM25 opened 7 months ago
Were you able to solve this? I too am using a 3080Ti and am facing this same issue when running with CUDA 11.3
Hello, I wasn't able to solve this on Windows, but I managed to make it work on Linux Ubuntu 22.04 (I don't think DROID-SLAM can work on Windows). I installed CUDA 12.2 from the NVIDIA website and used PyTorch with CUDA 12.1 with pip3 install from the official PyTorch website. For the environment I used the virtualenv package from pip instead of conda. The version of python that I used is 3.8. I installed the rest of the packages in the environment with pip commands. Additionally, I installed the ninja package with pip install ninja
because python setup.py install
will be faster. I hope this will help you!
@FlorinM25 I tried with pytorch=2.1.1 and cuda=12.1 and python=3.8 but I got libcudart error @Sebastian-Garcia I also tried with pytorch=1.10.1 and cuda=11.3 and python=3.9 but I am getting this unpack error. Did you figure it out in the end? What pytorch, cuda and python versions you use?
I'm getting the same unpack error because the distance comparison https://github.com/princeton-vl/DROID-SLAM/blob/main/droid_slam/factor_graph.py#L322 comes back as close to zero and gets set to inf
which is then skipped https://github.com/princeton-vl/DROID-SLAM/blob/main/droid_slam/factor_graph.py#L352
Hello, Firstly, thank you very much for this amazing project!
When I want to run some demos with the commands presented in the README file I always get this error:
ii, jj = torch.as_tensor(es, device=self.device).unbind(dim=-1)
The terminal looks like this:
When the demo is running, when the images are iterated, the
Open3d
window opens but nothing appears on it.After some debugging in the
factor_graph.py
file, I noticed that tensorsii
andjj
are[0]
for all the running process, as well as thees
array which is always empty.I tried to use the
--reconstruction_path
flag to save the recon files. I get disps.npy, images.npy, intrinsics.npy, poses.npy, tstamps.npy. The .npy files have some values in them, but I doubt the fact that they are correct because the disps.npy file looks like this:I also tried to disable visualization as said in issue #76 with
--disable_vis
flag but the process just stops after some iterations:In issue #13 a
datapath
is mentioned, but I am not sure what it refers to..I am working on Windows in a virtualenv in which I installed
PyTorch 2.1.1 with cuda11.8
(I tried with torch 1.10 and cuda11.3 but the same error occurred). The GPU I tested on was a 3080TI with 12gb VRAM.I assume this is a CUDA related issue, but I am sure in what way.
I hope someone can help me fix my errors. Thank you!