VITA-Group / LightGaussian

"LightGaussian: Unbounded 3D Gaussian Compression with 15x Reduction and 200+ FPS", Zhiwen Fan, Kevin Wang, Kairun Wen, Zehao Zhu, Dejia Xu, Zhangyang Wang
https://lightgaussian.github.io/
Other
506 stars 41 forks source link

How to calculate metrics for the quantized model? #25

Open songllz opened 2 months ago

songllz commented 2 months ago

Thank you for your work.

After quantization, the model folder contains only one folder named extreme_saving and a point_cloud.ply file. I tried to use this folder directly with the command

python render_video.py --load_vq

But it gives an error saying it can't find the cfg_args folder.

How can I resolve this problem?

songllz commented 2 months ago

Moreover, I want to know where the Recovery after pruning is implemented in the code. I haven't found it.

Looking forward to your reply.

tuallen commented 2 months ago

I would like to follow up on this. How do we render the vector quantized scene? I get the following error when I try to run it on a quantized directory formatted like the example.

    extra_f_names = extra_f_names.reshape((features_dc.shape[0],3,sh_dim//3))
ValueError: cannot reshape array of size 61899232 into shape (1934351,3,15)
yangqing-yq commented 3 weeks ago

same error as below ~ @Kevin-2017
But it gives an error saying it can't find the cfg_args folder.