You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
voxelgrids_to_trianglemeshes sometimes returns vertex indices that are out of range... In my experience it works for smaller voxel grid sizes, but quickly breaks,
Running pytorch 1.13.0, cuda 11.7, kaolin 0.13.0
Code to reproduce (possibly try different size grid if this works -- some grids do)
voxelgrids_to_trianglemeshes sometimes returns vertex indices that are out of range... In my experience it works for smaller voxel grid sizes, but quickly breaks,
Running pytorch 1.13.0, cuda 11.7, kaolin 0.13.0
Code to reproduce (possibly try different size grid if this works -- some grids do)
returns:
Strangely, there are a couple rogue 256 in the faces tensor:
print(unique)
If we print the counts, we see that some vertices are only attached to one face, which (as I understand) should not happen:
print(counts)
This indexing issue obviously causes issues if we try to use the generated vertices and faces. For example:
face_vertices = index_vertices_by_faces(torch.stack(vertices), faces[0])
yields:
CUDA error: device-side assert triggered, which is often caused by a list index out of range.
The text was updated successfully, but these errors were encountered: