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

Error when training 3DGS #32

Open
brianneoberson opened this issue May 8, 2024 · 2 comments
Open

Error when training 3DGS #32

brianneoberson opened this issue May 8, 2024 · 2 comments

Comments

@brianneoberson
Copy link

Hello,

I am trying to test your dynamic 3DGS implementation on the example dataset actor1_4_subseq you provide. I did all of the previous steps, including training Instant-NGP+T and getting the vhulls. But now when running evc-train -c configs/exps/gaussiant/gaussiant_${expname}.yaml I get the following error:

RuntimeError: The expanded size of the tensor (262144) must match the existing size (705441) at non-singleton dimension 0.  Target sizes: [262144, 3].  Tensor sizes: [705441, 3]
*** The expanded size of the tensor (262144) must match the existing size (705441) at non-singleton dimension 0.  Target sizes: [262144, 3].  Tensor sizes: [705441, 3]
> {path/to/EasyVolcap/easyvolcap/utils/gaussian_utils.py(443)create_from_pcd()
    441         if colors is not None:
    442             SH = rgb2sh0(colors)
--> 443             features[:, :3, 0] = SH
    444         features[:, 3: 1:] = 0
    445 

Would you have an idea why this is happening?

@dendenxu
Copy link
Member

Looks like we encountered a shape mismatch error when using the initial point cloud for initializing 3DGS. Could you share the prepared init point clouds files (.plys)?
In the documented example, we use dense initialization for every frame instead of visual hulls, so there might be some bug in the visual hull code path.

@foooolish
Copy link

Have you solved it?I am using the enerf_outdoor dataset

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