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

output vector is all zeros of project_gaussians #26

Open
lixinhaiyk opened this issue Jul 4, 2024 · 7 comments
Open

output vector is all zeros of project_gaussians #26

lixinhaiyk opened this issue Jul 4, 2024 · 7 comments

Comments

@lixinhaiyk
Copy link

These input values are all correct, but the output vector is all zeros.Has anyone encountered this issue before?
the version is gsplat==0.1.2.1

        self.xys, self.depths, self.radii, self.conics, self.num_tiles_hit, self.cov3d__ = project_gaussians(  # type: ignore
            means_crop,
            scales_crop,
            1,
            quats_crop / quats_crop.norm(dim=-1, keepdim=True),
            viewmat.squeeze()[:3, :],
            projmat,
            camera.fx.item(),
            camera.fy.item(),
            cx,
            cy,
            H,
            W,
            #self.config.block_width,
            tile_bounds,
        )  # type: ignore
@ChengenXie
Copy link

It seems like the original code is

self.xys, self.depths, self.radii, self.conics, _, self.num_tiles_hit, _ = project_gaussians(  # type: ignore
            means_crop,
            scales_crop,
            1,
            quats_crop / quats_crop.norm(dim=-1, keepdim=True),
            viewmat.squeeze()[:3, :],
            camera.fx.item(),
            camera.fy.item(),
            cx,
            cy,
            H,
            W,
            self.config.block_width,
        )  # type: ignore

And I found there misses a parameter projmat, how to calculate it?

@lixinhaiyk
Copy link
Author

Yes, but the interface for gsplat==0.1.2.1 version is like this. I had to adjust it to get it running.

@Lazyangel
Copy link

Yes, but the interface for gsplat==0.1.2.1 version is like this. I had to adjust it to get it running.

I just run pip install gsplat==0.1.11 and the problem seems to be solved,you can give it a try.

@mzlchou
Copy link

mzlchou commented Jul 10, 2024

pip install gsplat==0.1.11

It says that "nerfstudio 1.0.0 requires gsplat==0.1.2.1, but you have gsplat 0.1.11 which is incompatible." How did you get around this?

@Lazyangel
Copy link

Lazyangel commented Jul 10, 2024

pip install gsplat==0.1.11

It says that "nerfstudio 1.0.0 requires gsplat==0.1.2.1, but you have gsplat 0.1.11 which is incompatible." How did you get around this?

install nerfstudio=1.0.3andgsplat==0.1.11, and no need to modify the code after installation.

@mzlchou
Copy link

mzlchou commented Jul 10, 2024

pip install gsplat==0.1.11

It says that "nerfstudio 1.0.0 requires gsplat==0.1.2.1, but you have gsplat 0.1.11 which is incompatible." How did you get around this?

install nerfstudio=1.0.3andgsplat==0.1.11, and no need to modify the code after installation.

Sorry to keep bothering you, but I got this error "ImportError: DLL load failed while importing gsplat_cuda: The specified module could not bund." Did you get anything like this?

@Lazyangel
Copy link

pip install gsplat==0.1.11

It says that "nerfstudio 1.0.0 requires gsplat==0.1.2.1, but you have gsplat 0.1.11 which is incompatible." How did you get around this?

install nerfstudio=1.0.3andgsplat==0.1.11, and no need to modify the code after installation.

Sorry to keep bothering you, but I got this error "ImportError: DLL load failed while importing gsplat_cuda: The specified module could not bund." Did you get anything like this?

Sorry, I haven't encountered similar problems

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

4 participants