nerfstudio-project/nerfstudio

Freeze gs paramters during splatfacto optimization

Opened this issue · 2 comments

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!

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

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():