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

Inference near plane option #2938

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ethanweber
Copy link
Collaborator

@ethanweber ethanweber commented Feb 20, 2024

Ability to set the near plane distance to avoid rendering Gaussians very close to the camera.

@ethanweber ethanweber changed the title inference near plane option Inference near plane option Feb 21, 2024
@@ -764,6 +766,16 @@ def get_outputs(self, camera: Cameras) -> Dict[str, Union[torch.Tensor, List]]:
else:
rgbs = torch.sigmoid(colors_crop[:, 0, :])

if not self.training and self.config.inference_near_plane != 0.0:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any update on doing this with the gsplat project_gaussians flag instead of manual masks?

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.

None yet

2 participants