Closed
Description
🐛 Bugs / Unexpected behaviors
All vertices returned by pytorch3d.ops.marching_cubes.marching_cubes() have coordinates -1.
Instructions To Reproduce the Issue:
Code:
from pytorch3d.ops.marching_cubes import marching_cubes
from skimage.draw import ellipsoid
ellip_base = ellipsoid(50, 60, 16, levelset=True)
verts, faces = marching_cubes(torch.from_numpy(ellip_base).unsqueeze(0).float(), 0)
print(verts[0])
Output:
tensor([[-1., -1., -1.],
[-1., -1., -1.],
[-1., -1., -1.],
...,
[-1., -1., -1.],
[-1., -1., -1.],
[-1., -1., -1.]])
Metadata
Metadata
Assignees
Labels
No labels