Explorar o código

fixed learning rate for spatial

bkerbl %!s(int64=2) %!d(string=hai) anos
pai
achega
f022f0c048
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      scene/gaussian_model.py

+ 1 - 1
scene/gaussian_model.py

@@ -84,7 +84,7 @@ class GaussianModel:
             self.active_sh_degree += 1
 
     def create_from_pcd(self, pcd : BasicPointCloud, spatial_lr_scale : float):
-        self.spatial_lr_scale = spatial_lr_scale
+        self.spatial_lr_scale = 5#spatial_lr_scale
         fused_point_cloud = torch.tensor(np.asarray(pcd.points)).float().cuda()
         fused_color = RGB2SH(torch.tensor(np.asarray(pcd.colors)).float().cuda())
         features = torch.zeros((fused_color.shape[0], 3, (self.max_sh_degree + 1) ** 2)).float().cuda()