Closed Zkjoker closed 2 years ago
Can you check the content of the variable skin_mesh
just before this error occurs?
Moreover, if you execute skin_mesh.show()
it should show you your mesh.
thank you , I have solved the problem. but there is another issue:
/home/anmo1/OSSO/osso_venv/lib/python3.8/site-packages/scipy/sparse/linalg/_dsolve/linsolve.py:206: MatrixRankWarning: Matrix is exactly singular warn("Matrix is exactly singular", MatrixRankWarning) /home/anmo1/OSSO/osso_venv/lib/python3.8/site-packages/chumpy/optimization_internal.py:287: UserWarning: sparse solve failed, falling back to lsqr warnings.warn("sparse solve failed, falling back to lsqr")
Does your algorithm require the orientation of characters? Thank you!
This time I adjusted the character to face straight ahead, but it still reported an error and couldn't get the expected skeleton.
How can I solve this problem so that I can get the right bone?
Thank you!
/home/anmo1/OSSO/osso_venv/lib/python3.8/site-packages/scipy/sparse/linalg/_dsolve/linsolve.py:206: MatrixRankWarning: Matrix is exactly singular warn("Matrix is exactly singular", MatrixRankWarning) /home/anmo1/OSSO/osso_venv/lib/python3.8/site-packages/chumpy/optimization_internal.py:287: UserWarning: sparse solve failed, falling back to lsqr warnings.warn("sparse solve failed, falling back to lsqr") 1.46e-02 | ball_joint: 5.72e-11 | skin_spring: 1.46e-02 | stitching: 1.13e-09 | tendon_cost: 1.05e-10 /home/anmo1/OSSO/osso_venv/lib/python3.8/site-packages/scipy/sparse/linalg/_dsolve/linsolve.py:206: MatrixRankWarning: Matrix is exactly singular warn("Matrix is exactly singular", MatrixRankWarning) /home/anmo1/OSSO/osso_venv/lib/python3.8/site-packages/chumpy/optimization_internal.py:287: UserWarning: sparse solve failed, falling back to lsqr warnings.warn("sparse solve failed, falling back to lsqr") 1.46e-02 | ball_joint: 3.01e-11 | skin_spring: 1.46e-02 | stitching: 1.13e-09 | tendon_cost: 1.08e-10 /home/anmo1/OSSO/osso_venv/lib/python3.8/site-packages/scipy/sparse/linalg/_dsolve/linsolve.py:206: MatrixRankWarning: Matrix is exactly singular warn("Matrix is exactly singular", MatrixRankWarning) /home/anmo1/OSSO/osso_venv/lib/python3.8/site-packages/chumpy/optimization_internal.py:287: UserWarning: sparse solve failed, falling back to lsqr warnings.warn("sparse solve failed, falling back to lsqr")
This problem should be solved by the last commit. Can you pull and try again?
Basically you provided a mesh without faces, which the code did not support. Now the code supports input mesh without faces.
Thank you for your assistance in solving the problem. Excellent work!
By some other algorithm, I got an ply file which is in smpl format. And I want to use your code to generate the skeleton. However, there is an error: