Hi, I'm trying to reproduce your code.
Running python3 modelnetdataset.py on downloaded modelnet40_normal_resampled dataset yields the following error:
torch._C._LinAlgError: linalg.inv: The diagonal element 1 is zero, the inversion could not be completed because the input matrix is singular.
File "modelnetdataset.py", line 105, in __getitem__
blurs=plane_blur(pc[:3].unsqueeze(0),mask=None,single=False)
File "/home/me.levi/igos/blur_utils.py", line 317, in plane_blur
pc=plane_smoothing(pc,k=k,r=r,d=0,lamb=lamb,miu=miu,erosion=True,subset=idx)
File "/home/me.levi/igos/blur_utils.py", line 285, in plane_smoothing
x=project_to_line(nn_pos,x,normal,plane,erosion,lamb,miu)
File "/home/me.levi/igos/blur_utils.py", line 228, in project_to_line
uv_inverse=torch.inverse(uv) # 2 x 2
torch._C._LinAlgError: linalg.inv: The diagonal element 1 is zero, the inversion could not be completed because the input matrix is singular.
Hi, I'm trying to reproduce your code.
Running
python3 modelnetdataset.pyon downloaded modelnet40_normal_resampled dataset yields the following error:Any clue how to solve it?
Thanks a lot!
Here is the error log: