Stuck on [INFO] fitting nerf... 0%
Hi! I have followed the installation guide and tutorial, but I am getting stuck on the step ( It stays on 0% indefinitely):
[Comfy3D] [Load_Large_Multiview_Gaussian_Model] loaded model ckpt from F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\checkpoints/lgm\model_fp16.safetensors Number of points at loading : 47778 [INFO] fitting nerf... 0%| | 0/512 [00:00<?, ?it/s]
There is a big chance because of the torch runtime lock, can you please check if this link solve the problem
Seeing as how the issue is still open, I will add the steps I followed to resolve this issue.
1 - in ComfyUI folder, search for file cpp_extension.py
2 - in cpp_extension.py, search for the line that contains baton = FileBaton(os.path.join(build_directory, 'lock'))
3 - right after the line with baton, add the line print(build_directory)
4 - run ComfyUI and the workflow that gets stuck. In cmd, you should have a path printed after the line [Comfy3D] [Load_Large_Multiview_Gaussian_Model] loaded model ckpt from F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\checkpoints/lgm\model_fp16.safetensors Number of points at loading : 47778
5 - go to the path from cmd and you should find some files there, one of them being Lock. If you delete that file and run ComfyUI again, it should now work.
Seeing as how the issue is still open, I will add the steps I followed to resolve this issue.鉴于问题仍然存在,我将添加解决此问题所遵循的步骤。
1 - in ComfyUI folder, search for file cpp_extension.py1 - 在 ComfyUI 文件夹中,搜索文件 cpp_extension.py 2 - in cpp_extension.py, search for the line that contains
baton = FileBaton(os.path.join(build_directory, 'lock'))2 - 在 cpp_extension.py 中,搜索包含baton = FileBaton(os.path.join(build_directory, 'lock'))的行 3 - right after the line with baton, add the lineprint(build_directory)3 - 在带有指挥棒的行之后,添加行print(build_directory)4 - run ComfyUI and the workflow that gets stuck. In cmd, you should have a path printed after the line[Comfy3D] [Load_Large_Multiview_Gaussian_Model] loaded model ckpt from F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\checkpoints/lgm\model_fp16.safetensors Number of points at loading : 477784 - 运行 ComfyUI 和卡住的工作流程。在 cmd 中,您应该在[Comfy3D] [Load_Large_Multiview_Gaussian_Model] loaded model ckpt from F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\checkpoints/lgm\model_fp16.safetensors Number of points at loading : 47778行之后打印一个路径 5 - go to the path from cmd and you should find some files there, one of them being Lock. If you delete that file and run ComfyUI again, it should now work. 5 - 从 cmd 转到该路径,您应该在那里找到一些文件,其中之一是 Lock。如果您删除该文件并再次运行 ComfyUI,它现在应该可以工作了。
Damn, I found out I didn't have this file called lock.Help me plz.