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

SPC: support creation with empty octrees. #716

Open
orperel opened this issue May 1, 2023 · 1 comment
Open

SPC: support creation with empty octrees. #716

orperel opened this issue May 1, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@orperel
Copy link
Collaborator

orperel commented May 1, 2023

Creating a SPC with an empty octree of 0 LODs (octree is a tensor of [0]) fails.

Suggested fix: update kaolin.ops.spc.scan_octrees to return an empty torch.Tensor when octrees is a tensor of [0].

@orperel orperel added the bug Something isn't working label May 1, 2023
@orperel orperel self-assigned this May 1, 2023
@sparse-mvs-2
Copy link

I face the same problem. Besides I found that spc at any level of LOD with octrees all empty ( that is, spc.octrees = [0,0,0,0,...,0]) is not supported. Now I have to judge this situation by summation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants