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

Question about the method: Why the detach (stop gradient) operation during training? #80

Open
preacherwhite opened this issue Nov 22, 2024 · 1 comment

Comments

@preacherwhite
Copy link

First thanks for the great work and the clean repository. It has been pretty easy to use.
I have one question regarding the line 97 in https://github.com/ingra14m/Deformable-3D-Gaussians/blob/main/train.py
d_xyz, d_rotation, d_scaling = deform.step(gaussians.get_xyz.detach(), time_input + ast_noise)
In the paper there is also a stop gradient operation indicated in this step. I found there isn't an explanation on this choice in both the main paper and supplementary. Why do we stop gradients from the deformation network to the gaussians?

@ingra14m
Copy link
Owner

Hi, thanks for the interest.

We want the position gradient of 3DGS to be clean. That is, the update of the canonical Gaussian position should only come from the RGB loss, rather than also involving the deformation field branch. Theoretically, this can separate the learning of the deformation field from the canonical Gaussian, making joint training possible.

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

2 participants