Error when training 3DGS
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?
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.
Have you solved it?I am using the enerf_outdoor dataset
Probably change the config file gaussiant_actor1_4_subseq.yaml where the number "262144" is hard setted ?