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

An error occurred while generating the mesh #4

Open
ldj0o opened this issue Mar 19, 2024 · 3 comments
Open

An error occurred while generating the mesh #4

ldj0o opened this issue Mar 19, 2024 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ldj0o
Copy link

ldj0o commented Mar 19, 2024

Thanks for your amazing work!

i use the following command to extract the mesh:
gs-extract-mesh -m ./data/1750250955326095360_data/result -o ./output/1750250955326095360_data

But the following errors will occur

Loading trained model at iteration 10000
./output/point_cloud/iteration_10000/point_cloud.ply
Traceback (most recent call last):
  File "/home/yxiong/anaconda3/envs/gaustudio/bin/gs-extract-mesh", line 33, in <module>
    sys.exit(load_entry_point('gaustudio', 'console_scripts', 'gs-extract-mesh')())
  File "/home/yxiong/gaustudio/gaustudio/gaustudio/scripts/extract_mesh.py", line 64, in main
    pcd.load(os.path.join(args.model,"point_cloud", "iteration_" + str(loaded_iter), "point_cloud.ply"))
  File "/home/yxiong/gaustudio/gaustudio/gaustudio/models/base.py", line 68, in load
    assert len(names) == self.config["attributes"][elem]
AssertionError

Is there any solution?

@ldj0o ldj0o changed the title 生成mesh时出现错误 生成mesh时出现错误 An error occurred while generating the mesh An error occurred while generating the mesh Mar 19, 2024
@hugoycj
Copy link
Collaborator

hugoycj commented Mar 19, 2024

Apologies for the inconvenience. This error could be caused by a mismatch between the dimension numbers of specific properties. For instance, if the splat file has a SH of 2, which is different from the usual SH of 3, it could lead to this issue. Could you please share the properties and dimensions of your ply model?

@hugoycj hugoycj added the good first issue Good for newcomers label Mar 19, 2024
@ldj0o
Copy link
Author

ldj0o commented Mar 19, 2024

Sure,this is my ply model.
point_cloud.zip

@ldj0o
Copy link
Author

ldj0o commented Mar 20, 2024

This is the property of my ply model

    system.init_dreamer="output/gs_init/kitchen" \
    system.refresh_size=8 \
    data.data_dir="data/mip360/kitchen" \
    data.resolution=8 \
    data.sparse_num=4 \
    data.prompt="a photo of a xxy5syt00" \
    data.refresh_size=8 \
    system.sh_degree=2 \

@hugoycj hugoycj added the enhancement New feature or request label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants