From ce1c4b6246f7b4acebdb5d325fed0a9f89a4b9fc Mon Sep 17 00:00:00 2001 From: Satyam Bhardwaj <120597325+stymbhrdwj@users.noreply.github.com> Date: Sun, 1 Sep 2024 15:24:41 +0530 Subject: [PATCH] Update gui.py Fixed pc._visibility_tracing = None for DTU dataset when running GUI using neilf --- gui.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui.py b/gui.py index 3312452..45c2e78 100644 --- a/gui.py +++ b/gui.py @@ -364,6 +364,8 @@ def callback_camera_drag_pan(sender, app_data): gaussians.load_ply( os.path.join(args.model_path, "point_cloud", "iteration_" + str(loaded_iter), "point_cloud.ply")) + gaussians.update_visibility(pipe.sample_num) + render_fn = render_fn_dict[args.type] bg_color = [1, 1, 1] if dataset.white_background else [0, 0, 0] background = torch.tensor(bg_color, dtype=torch.float32, device="cuda")