Closed kaftanski closed 8 months ago
I believe this to be fixed by 7566530669203769783c94024c25a39e1744e4ed, I ran your repro locally and it succeeded. Do let me know if it's still broken for you. Thanks!
I don't have any more issues after re-installing pytorch3d from master with your fix. Thank you so much for the very fast help!
🐛 Bugs / Unexpected behaviors
I am getting an index out of bounds in pytorch3d.ops.marching_cubes.py in line: https://github.com/facebookresearch/pytorch3d/blob/a27755db416644273de8d70b770f1d2e68db720b/pytorch3d/ops/marching_cubes.py#L299 The issue occurs only in the CUDA implementation, which generates face-indices much larger than possible (e.g. 1112276992 with only 506 verts in the example below). I am unsure, when this happens, I have not been able to construct a case myself, it occurs rather randomly in my scripts. There are no issues in the CPU-Implementation.
The stacktrace is the following:
Instructions To Reproduce the Issue:
Failure case volume: vol.pth.zip
Code to reproduce:
My environment (
conda list
). I installed pytorch3d viapip install "git+https://github.com/facebookresearch/pytorch3d.git"
.