From 1b4d3be268079727b55eb91aa72d32dc1bf09389 Mon Sep 17 00:00:00 2001 From: GalkinDenis <72812069+GalkinDenis@users.noreply.github.com> Date: Sat, 6 Sep 2025 14:54:13 +0300 Subject: [PATCH] Update densify_and_prune function I have been little bit exploring the sources and noticed this redundant initialization :) --- scene/gaussian_model.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scene/gaussian_model.py b/scene/gaussian_model.py index 473887db89..5b602c33a2 100644 --- a/scene/gaussian_model.py +++ b/scene/gaussian_model.py @@ -463,7 +463,6 @@ def densify_and_prune(self, max_grad, min_opacity, extent, max_screen_size, radi big_points_ws = self.get_scaling.max(dim=1).values > 0.1 * extent prune_mask = torch.logical_or(torch.logical_or(prune_mask, big_points_vs), big_points_ws) self.prune_points(prune_mask) - tmp_radii = self.tmp_radii self.tmp_radii = None torch.cuda.empty_cache()