Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssue with mesh deformation using TextDeformer on Objaverse dataset #12

Open
cwwjyh opened this issue Dec 6, 2024 · 0 comments
Open

Comments

@cwwjyh
Copy link

cwwjyh commented Dec 6, 2024

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!
image

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant