Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about exporting PLY File for better visualization #20

Open
Eisoc opened this issue Sep 12, 2024 · 1 comment
Open

Question about exporting PLY File for better visualization #20

Eisoc opened this issue Sep 12, 2024 · 1 comment

Comments

@Eisoc
Copy link

Eisoc commented Sep 12, 2024

Hi !
I followed the guidelines very well and ran the code on some waymo datasets and was very shocked at the results. For better visualization, I think, exporting to ply is very good. And I see that you have already written this function.

def export_gaussians_to_ply(model, path, name='point_cloud.ply', aabb=None):

I would like to know, does this function require the incoming models to be trainer.models.values(), and if so, maybe we have to put some getters inside the Gaussian model, such as vanilla, in order to read attributes such as self._means.

@ziyc
Copy link
Owner

ziyc commented Sep 15, 2024

Hi @Eisoc, sorry for the late response!

Yes, this function requires the input models to be trainer.models.values().

I've implemented some export_gaussians_to_ply functions in both misc.py and some Gaussian model files. These were used when I was debugging the code, and I haven't modified them to export standard .ply yet.

I saw your PR, I'll look into it today, thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants