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

The issue about “save as” #111

Open
dadaaichifan opened this issue Sep 25, 2024 · 3 comments
Open

The issue about “save as” #111

dadaaichifan opened this issue Sep 25, 2024 · 3 comments

Comments

@dadaaichifan
Copy link

dadaaichifan commented Sep 25, 2024

In the segment option in the GUI interface, whether the "save as" button can save the split object as a .ply file and later render it with SIBR

@siyanhu
Copy link

siyanhu commented Sep 28, 2024

In render.py, save the segmented gaussian after gaussians.segment(...)

@seulqxq
Copy link

seulqxq commented Sep 29, 2024

Hi, @siyanhu
Can I ask you about the details of "save the segmented gaussian"? How should I add it and what code should I add?
Thank you for your time and help!

@siyanhu
Copy link

siyanhu commented Oct 3, 2024

Hi, @siyanhu Can I ask you about the details of "save the segmented gaussian"? How should I add it and what code should I add? Thank you for your time and help!

Hi Seulqxq, mine is quite simple. Surely there will be better ways. Please just have a check (in render.py):

        scene = Scene(dataset, gaussians, feature_gaussians, load_iteration=iteration, shuffle=False, mode='eval', target=target if precomputed_mask is None else 'scene')

        if segment:
            scene.save(scene.loaded_iter, target='scene_no_mask')
            gaussians.segment(precomputed_mask)
            gaussians.save_ply("seg_obj.ply", has_mask=True)

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

3 participants