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

gs-extract-mesh #89

Open
WS517 opened this issue Nov 27, 2024 · 0 comments
Open

gs-extract-mesh #89

WS517 opened this issue Nov 27, 2024 · 0 comments

Comments

@WS517
Copy link

WS517 commented Nov 27, 2024

Thanks for your great work, I tried to extract the results generated by octree-gs using gaustudio and got the following error:
图片2

Loading trained model at iteration 40000
Loaded 485775 points from /home/wyj517/517/ws/gaustudio/data/jianzhuwu/point_cloud/iteration_40000/point_cloud.ply
Loading camera data from /home/wyj517/517/ws/gaustudio/data/cameras.json
0%| | 0/80 [00:00<?, ?it/s]
Traceback (most recent call last):
File "/home/wyj517/miniconda3/envs/gaustudio/bin/gs-extract-mesh", line 33, in
sys.exit(load_entry_point('gaustudio', 'console_scripts', 'gs-extract-mesh')())
File "/home/wyj517/517/ws/gaustudio/gaustudio/scripts/extract_mesh.py", line 99, in main
render_pkg = renderer.render(camera, pcd)
File "/home/wyj517/517/ws/gaustudio/gaustudio/renderers/base.py", line 11, in render
xyz, shs, colors_precomp, opacity, scales, rotations, cov3D_precomp = self.get_gaussians_properties(viewpoint_camera, gaussian_model)
File "/home/wyj517/517/ws/gaustudio/gaustudio/renderers/vanilla_renderer.py", line 51, in get_gaussians_properties
shs = gaussian_model.get_features
File "/home/wyj517/517/ws/gaustudio/gaustudio/models/vanilla_sg.py", line 104, in get_features
features_dc = self._f_dc.reshape(len(self._f_dc), -1, 3)
RuntimeError: cannot reshape tensor of 0 elements into shape [0, -1, 3] because the unspecified dimension size -1 can be any value and is ambiguous
What is the problem and how should I fix the issue? Is it that gaustudio is not able to perform facet extraction on octree-gs generated results? Looking forward to your reply, thank you very much!

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

1 participant