Open orperel opened 1 year ago
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].
kaolin.ops.spc.scan_octrees
torch.Tensor
octrees
[0]
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.
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 emptytorch.Tensor
whenoctrees
is a tensor of[0]
.