From 4a54763323041941f43140736d1b76c80a75af7f Mon Sep 17 00:00:00 2001 From: Hardik Dava <39372750+hardikdava@users.noreply.github.com> Date: Tue, 19 Dec 2023 18:20:17 +0100 Subject: [PATCH] fixed color issue in ply file (#2693) fixed color export --- nerfstudio/models/gaussian_splatting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nerfstudio/models/gaussian_splatting.py b/nerfstudio/models/gaussian_splatting.py index 78ad185a2..91686b44a 100644 --- a/nerfstudio/models/gaussian_splatting.py +++ b/nerfstudio/models/gaussian_splatting.py @@ -211,7 +211,7 @@ class GaussianSplattingModel(Model): @property def colors(self): - return SH2RGB(self.colors_all[:, 0, :]) + return self.colors_all[:, 0, :] @property def shs_rest(self):