You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, a great work on the TextDeformer project! I am attempting to use TextDeformer to deform some of my meshes from the Objaverse dataset.
in PoissonSystem.py", line 109:
return CholeskySolverD(self.n, self.inds[0,:], self.inds[1,:], self.vals, MatrixType.COO)
ValueError: Matrix is not positive definite!
I tried addressing this issue using the advice provided in KAIST-Visual-AI-Group/APAP#3 (comment), but the error persisted: Matrix is not positive definite!
To resolve this, I modified PoissonSystem.py the code as follows: if self.my_splu is None: if isinstance(self.lap,SparseMat): if USE_CHOLESPY_CPU or USE_CHOLESPY_GPU: self.my_splu = self.lap.to_cholesky() else: self.my_splu = scipy_splu(self.lap.to_coo()) else: self.my_splu = scipy_splu(self.lap) into if self.my_splu is None: if isinstance(self.lap,SparseMat): if USE_CHOLESPY_CPU or USE_CHOLESPY_GPU: self.my_splu = scipy_splu(self.lap.to_coo()) else: self.my_splu = scipy_splu(self.lap)
This change successfully resolved the ValueError: Matrix is not positive definite! error. However, the resulting mesh deformation is significantly degraded.
video_log.mp4
Could you please advise on whether TextDeformer is suitable for deforming meshes from the Objaverse dataset? If so, any suggestions on how to improve the deformation quality would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered:
Hi, a great work on the TextDeformer project! I am attempting to use TextDeformer to deform some of my meshes from the Objaverse dataset.
in PoissonSystem.py", line 109:
return CholeskySolverD(self.n, self.inds[0,:], self.inds[1,:], self.vals, MatrixType.COO)
ValueError: Matrix is not positive definite!
I tried addressing this issue using the advice provided in KAIST-Visual-AI-Group/APAP#3 (comment), but the error persisted: Matrix is not positive definite!
To resolve this, I modified
PoissonSystem.py
the code as follows:if self.my_splu is None: if isinstance(self.lap,SparseMat): if USE_CHOLESPY_CPU or USE_CHOLESPY_GPU: self.my_splu = self.lap.to_cholesky() else: self.my_splu = scipy_splu(self.lap.to_coo()) else: self.my_splu = scipy_splu(self.lap)
intoif self.my_splu is None: if isinstance(self.lap,SparseMat): if USE_CHOLESPY_CPU or USE_CHOLESPY_GPU: self.my_splu = scipy_splu(self.lap.to_coo()) else: self.my_splu = scipy_splu(self.lap)
This change successfully resolved the ValueError: Matrix is not positive definite! error. However, the resulting mesh deformation is significantly degraded.
video_log.mp4
Could you please advise on whether TextDeformer is suitable for deforming meshes from the Objaverse dataset? If so, any suggestions on how to improve the deformation quality would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered: