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 initializing the pose in add_view_v2 #30

Open
lqzhao opened this issue Jul 24, 2024 · 1 comment
Open

error when initializing the pose in add_view_v2 #30

lqzhao opened this issue Jul 24, 2024 · 1 comment

Comments

@lqzhao
Copy link

lqzhao commented Jul 24, 2024

Hi, thank you for your excellent paper. In the original implementation, the pose between view_idx_prev and view_idx is initialized via self.gs_render_local.gaussians.init_RT(None). It can be run normally.

However, when I tried to initialize the pose with gt values in add_view_v2 (e.g., self.gs_render_local.gaussians.init_RT(pose=gt_pose[view_idx_prev]) ), I encountered the following issue:

Traceback (most recent call last):
File "/home/zlq/code/CF-3DGS/run_cf3dgs.py", line 48, in
trainer.train_from_progressive()
File "/home/zlq/code/CF-3DGS/trainer/cf3dgs_trainer.py", line 475, in train_from_progressive
pcd_new, local_gauss_params = self.add_view_v2(
File "/home/zlq/code/CF-3DGS/trainer/cf3dgs_trainer.py", line 277, in add_view_v2
self.gs_render_local.gaussians.training_setup_fix_position(
File "/home/zlq/code/CF-3DGS/scene/gaussian_model_cf.py", line 307, in training_setup_fix_position
self.xyz_gradient_accum = torch.zeros((self.get_xyz.shape[0], 1), device="cuda")
File "/home/zlq/code/CF-3DGS/scene/gaussian_model_cf.py", line 128, in get_xyz
xyz = self.P[0].retr().act(xyz)
TypeError: LieGroup.retr() missing 1 required positional argument: 'a'

How can I solve this? Thanks!

@7rwang
Copy link

7rwang commented Jan 11, 2025

Did u solve? I encountered same issue :(

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

2 participants