gaussian-splatting icon indicating copy to clipboard operation
gaussian-splatting copied to clipboard

Quaternions are not unit when writing out ply's in ASCII

Open msouiai opened this issue 1 year ago • 1 comments
trafficstars

Hi,

I am looking into the resulting GS PLY's and noticed that the Quaternions are not of unit length and the opacitiy values are often negative. I am dumping the ASCII plys here: https://github.com/graphdeco-inria/gaussian-splatting/blob/main/scene/gaussian_model.py#L208 as follows PlyData([el], text=True).write(path) Am I misunderstanding something?

msouiai avatar Mar 18 '24 19:03 msouiai

The parameters are saved in their unactivated/raw form, as seen here (note that the _<parameter> is used instead of get_<parameter>).

Of course, one can save the data however they like, but keep in mind that in any case the load_ply should be changed accordingly (atm it expects to read unactivated values)

PanagiotisP avatar Apr 29 '24 13:04 PanagiotisP