Skip to content

Bugfix: ShN incorrectly reshaping when NaN present #2044

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

Open
wants to merge 1 commit into
base: feature/fvdb
Choose a base branch
from

Conversation

j-nordling
Copy link

Currently if there is an NaN or Inf value when saving out the Gaussian Splat to a .ply file using GaussianSplat3d::savePly, the dispatchGaussianNanInfMask will remove it before writing the file. However, the spherical harmonics are still reshaped based off of the premasked tensor shape, which leads to a crash due to mismatched tensor shapes.

This PR adds a test case to check for this error in the future and a fix to reshape the tensor to the correct shape.

Copy link

CLA Not Signed

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

Successfully merging this pull request may close these issues.

1 participant