ComfyUI-3D-Pack icon indicating copy to clipboard operation
ComfyUI-3D-Pack copied to clipboard

Stuck on Convert 3DGS to Mesh with NeRF and Marching Cubes

Open DeepSkyObjects opened this issue 1 year ago • 2 comments

The project works good but I have some issues with the node called [Comfy3D] Convert 3DGS to Mesh with NeRF and Marching Cubes. For some reason it get stuck on [Comfy3D] Convert 3DGS to Mesh with NeRF and Marching Cubes and never pass this node.

If I remove this node and just check the preview 3DGS then it runs without any issues.

There arent any errors in the commandline.

Running it on one of my 3090s so memory shouldnt be any issue.

Any ideas of what causing it?

DeepSkyObjects avatar Feb 14 '24 20:02 DeepSkyObjects

I believe I was able to resolve that issue by installing Build Tools for Visual Studio 2019 https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2017

I'm not sure if it's related but previously I had to also install Ninja - https://github.com/MrForExample/ComfyUI-3D-Pack/issues/32#issuecomment-1943206856

BizaNator avatar Feb 14 '24 21:02 BizaNator

Did you have any issues during install or was this just related to the process later on?

Im using visual studio 2022 on a daily basis and have build tools installed for it. Ninja is already installed.

DeepSkyObjects avatar Feb 15 '24 20:02 DeepSkyObjects

This could very likely be torch lock issue: Code Hangs Indefinitely When Evaluating Neuron Models on GPU

MrForExample avatar Feb 17 '24 14:02 MrForExample

This could very likely be torch lock issue: Code Hangs Indefinitely When Evaluating Neuron Models on GPU

Looks like this was the issue. Well after a few tries and restart after deleting the cache, then it started to work.

DeepSkyObjects avatar Feb 17 '24 15:02 DeepSkyObjects

In case this helps anyone: on my Windows 10 machine the cache folder was located under C:\Users\MyUserName\AppData\Local\torch_extensions. After deleting these files, the conversion started working after a slightly delayed start.

tcarneyjohnson avatar Mar 02 '24 04:03 tcarneyjohnson