zhuhao-nju / facescape

FaceScape (PAMI2023 & CVPR2020)
833 stars 94 forks source link

Error: run demo_rig #78

Closed ForrestPi closed 2 years ago

ForrestPi commented 2 years ago

when running demo_rig
error: in rig_20to52 affine = np.matmul(np.linalg.inv(R), Q.T) File "<__array_function__ internals>", line 6, in inv File "/Users/forrest/anaconda3/lib/python3.7/site-packages/numpy/linalg/linalg.py", line 545, in inv ainv = _umath_linalg.inv(a, signature=signature, extobj=extobj) File "/Users/forrest/anaconda3/lib/python3.7/site-packages/numpy/linalg/linalg.py", line 88, in _raise_linalgerror_singular raise LinAlgError("Singular matrix") numpy.linalg.LinAlgError: Singular matrix

zhuhao-nju commented 2 years ago

Updating trimesh to latest version may solve this problem.

I could reproduce this error when trimesh==3.5.23, while the error went away after updating trimesh to 3.9.12.

ForrestPi commented 2 years ago

@zhuhao-nju yeah, updating trimesh to 3.9.12 solved the problem