Open dlazares opened 9 months ago
Thank you for your interest in our work and sorry for the late response.
We learn codebooks based on the activated attributes due to better performance. And at the end of training, we apply VQ on the _scaling and _rotation parameters and save them with PLY. This is because we reference unactivated parameters when rendering.
As mentioned in the updated readme, colors are dependent on view direction, which is not supported by the original viewer. Your saving code seems to show non-optimal performance because it always uses arbitrary direction ([0,0,1]). We will try to support the proper viewer, and you can refer to other options in the readme at this time.
I also want get the ply file that can open in 3DGSViewer, so I only applying masking (change a lot codes), but I find it is unstable in training stage, the num of points may become zero. could you give some advice ... @maincold2
I also want get the ply file that can open in 3DGSViewer, so I only applying masking (change a lot codes), but I find it is unstable in training stage, the num of points may become zero. could you give some advice ... @maincold2
Which dataset did you try? There is no required tuning when we don't use R-VQ and I-NGP, and I wonder about your dataset and hyperparameters regarding masking.
Thanks!
The saving and loading of the PLY are different than the original paper. Based on my read, I thought it should be possible to save it the standard way since you use the original paper's rasterizer.
I took a try at it but couldn't get it to work at first. I had to use the inverse scaling activation which doesn't seem right to me but it works 🤷🏽 . I noticed in the render that you use the activated get_scaling and the unactivated _scaling in the renderer here. https://github.com/maincold2/Compact-3DGS/blob/78d077a61b03bf32d7ec6bfba92b526d7192200d/gaussian_renderer/__init__.py#L58-L86
why is that? Also, sometimes you use the mask on the scale, could you explain that as well? which would be the proper one to save out?
Here's my save code that's working decently for me right now, but I'd love to improve it and get into a PR: