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

Freeze gs paramters during splatfacto optimization #3460

Open
rzhevcherkasy opened this issue Oct 2, 2024 · 2 comments
Open

Freeze gs paramters during splatfacto optimization #3460

rzhevcherkasy opened this issue Oct 2, 2024 · 2 comments

Comments

@rzhevcherkasy
Copy link

Hi, thank you for the great work!

I'm trying to freeze certain properties of 3D-GS while still optimizing others (such as means). However, when I try setting self.gauss_params["scales"].requires_grad_(False), it results in an error in gsplat. Could you kindly provide guidance on how to achieve this in Splatfacto v1.4.0? Thank you in advance!

@rzhevcherkasy
Copy link
Author

Correction: I'm working with NerfStudio v1.1.4 and gsplat v1.3.0.

@cainiaoshidai
Copy link

Hi, thank you for the great work!

I'm trying to freeze certain properties of 3D-GS while still optimizing others (such as means). However, when I try setting self.gauss_params["scales"].requires_grad_(False), it results in an error in gsplat. Could you kindly provide guidance on how to achieve this in Splatfacto v1.4.0? Thank you in advance!

You can use with torch.no_grad():

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