Open koktavy opened 3 months ago
Also here's the batch script I used to download the data on Windows instead of Linux:
IF NOT EXIST "datasets\tum" mkdir "datasets\tum"
cd datasets\tum
curl -LJO https://vision.in.tum.de/rgbd/dataset/freiburg1/rgbd_dataset_freiburg1_desk.tgz
tar -xvzf rgbd_dataset_freiburg1_desk.tgz
curl -LJO https://vision.in.tum.de/rgbd/dataset/freiburg2/rgbd_dataset_freiburg2_xyz.tgz
tar -xvzf rgbd_dataset_freiburg2_xyz.tgz
curl -LJO https://vision.in.tum.de/rgbd/dataset/freiburg3/rgbd_dataset_freiburg3_long_office_household.tgz
tar -xvzf rgbd_dataset_freiburg3_long_office_household.tgz
cd ../..
Run from the root in Powershell as scripts\download_tum.bat
me too
Hi, thank you for your interest!
Can you print out the variables R, t, Rt, in getWorld2View2
so we can check if the matrix is singular?
I suspect R,t are all zeros due to this bug, but I could be wrong: https://discuss.pytorch.org/t/pytorch-multiprocessing-with-cuda-sets-tensors-to-0/179117
这是来自QQ邮箱的假期自动回复邮件。您好,已收到您的邮件,将尽快给您回复!
Can you print out the variables R, t, Rt, in
getWorld2View2
so we can check if the matrix is singular?I suspect R,t are all zeros due to this bug, but I could be wrong: https://discuss.pytorch.org/t/pytorch-multiprocessing-with-cuda-sets-tensors-to-0/179117
It is true. Sometimes, the orientation and translation are all zeros. I printed the inputs of getWorld2View2(R,t, .....) `w2v tensor([[-0.8280, 0.5254, -0.1956], [ 0.4139, 0.3374, -0.8455], [-0.3782, -0.7811, -0.4969]], device='cuda:0') tensor([-2.2574, 0.3327, 1.9227], device='cuda:0')
w2v tensor([[0., 0., 0.], [0., 0., 0.], [0., 0., 0.]], device='cuda:0') tensor([0., 0., 0.], device='cuda:0')
w2v tensor([[-0.8280, 0.5254, -0.1956], [ 0.4139, 0.3374, -0.8455], [-0.3782, -0.7811, -0.4969]], device='cuda:0') tensor([-2.2574, 0.3327, 1.9227], device='cuda:0')
w2v tensor([[0., 0., 0.], [0., 0., 0.], [0., 0., 0.]], device='cuda:0') tensor([0., 0., 0.], device='cuda:0')`
As a quick look, some people reported the same issue in pytorch repo, but no one seems to find a solution. This problem seems to happen only in pytorch multiprocess on Windows.
Would appreciate it if you share the solution when you find it! The last resort would be to set up an Ubuntu environment on Docker and run MonoGS.
Have you solve this error? I meet this error too on my Win10.
add this script to disable multithreads! torch.set_num_interop_threads(1)
add this script to disable multithreads! torch.set_num_interop_threads(1)
is this the solution? can you be more specific
add this script to disable multithreads! torch.set_num_interop_threads(1)
hi i am not sure that i understand what you say, can you tell me where should i add this line
I've (almost) gotten the repo working on Windows with the help of Issue 16.
When I run on the sample data (even using
--eval
) I hit this issue:torch._C._LinAlgError: torch.linalg.inv: The diagonal element 1 is zero, the inversion could not be completed because the input matrix is singular.
This is a fresh install using
--recursive
and only incorporating the change noted above.