vt-vl-lab / 3d-photo-inpainting

[CVPR 2020] 3D Photography using Context-aware Layered Depth Inpainting
https://shihmengli.github.io/3D-Photo-Inpainting/
Other
6.9k stars 1.11k forks source link

ValueError: no unit eigenvector corresponding to eigenvalue 1 #143

Closed NagabhushanSN95 closed 2 years ago

NagabhushanSN95 commented 2 years ago

Hi, I'm trying to test your model on a database with GT depths. I'm getting the following error for few of the frames in the dataset and not for all the frames. Any help is appreciated.

  File "/media/.../3DP/src/mesh.py", line 2373, in output_image
    axis, angle = transforms3d.axangles.mat2axangle(rel_pose[0:3, 0:3])
  File "/home/.../anaconda2/envs/3DP/lib/python3.7/site-packages/transforms3d/axangles.py", line 152, in mat2axangle
    raise ValueError("no unit eigenvector corresponding to eigenvalue 1")
ValueError: no unit eigenvector corresponding to eigenvalue 1