ComfyUI-3D-Pack
ComfyUI-3D-Pack copied to clipboard
StableFast3D via StabilityMatrix
So I've installed Comfy-3D-Pack in various ways now, once by downloading the comfyui portable folder, installing the correct torch, vision and audio version, fixing the bug with the VS2022 version etc. and got it all running. However doing it this way messed up all my other comfyui installs so I wanted to do it again via Stability Matrix (which sets up venv automatically etc.) The install went smooth, no errors on startup etc. however when I run a workflow and the SF3D model gets loaded I get the following error:
Error occurred when executing [Comfy3D] Load SF3D Model:
[WinError 2] The system cannot find the file specified: 'E:\\Stable'
File "E:\Stable Diffusion\Packages\3D-Pack\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "E:\Stable Diffusion\Packages\3D-Pack\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "E:\Stable Diffusion\Packages\3D-Pack\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "E:\Stable Diffusion\Packages\3D-Pack\custom_nodes\ComfyUI-3D-Pack\nodes.py", line 1969, in load_SF3D
sf3d_model = SF3D.from_pretrained(
File "E:\Stable Diffusion\Packages\3D-Pack\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\StableFast3D\sf3d\system.py", line 78, in from_pretrained
model = cls(cfg)
File "E:\Stable Diffusion\Packages\3D-Pack\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\StableFast3D\sf3d\models\utils.py", line 29, in __init__
self.configure(*args, **kwargs)
File "E:\Stable Diffusion\Packages\3D-Pack\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\StableFast3D\sf3d\system.py", line 128, in configure
self.baker = TextureBaker()
File "E:\Stable Diffusion\Packages\3D-Pack\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\StableFast3D\sf3d\texture_baker.py", line 13, in __init__
self.baker = slangtorch.loadModule(
File "E:\Stable Diffusion\Packages\3D-Pack\venv\lib\site-packages\slangtorch\slangtorch.py", line 652, in loadModule
rawModule = _loadModule(fileName, moduleName, buildDir, options, sourceDir=outputFolder, verbose=verbose, includePaths=includePaths, dryRun=False)
File "E:\Stable Diffusion\Packages\3D-Pack\venv\lib\site-packages\slangtorch\slangtorch.py", line 557, in _loadModule
resultCpp, metadataCpp = compileSlang(metadata.get("cpp", None), fileName, "torch-binding", options, cppOutName, verbose, includePaths=includePaths, dryRun=dryRun)
File "E:\Stable Diffusion\Packages\3D-Pack\venv\lib\site-packages\slangtorch\slangtorch.py", line 313, in compileSlang
return True, (_compileSlang(metadata, fileName, targetMode, options, outputFile, includePaths, verbose) if not dryRun else None)
File "E:\Stable Diffusion\Packages\3D-Pack\venv\lib\site-packages\slangtorch\slangtorch.py", line 344, in _compileSlang
deps = parseDepfile(depFile)
File "E:\Stable Diffusion\Packages\3D-Pack\venv\lib\site-packages\slangtorch\slangtorch.py", line 526, in parseDepfile
depFilesWithTimestamps = [
File "E:\Stable Diffusion\Packages\3D-Pack\venv\lib\site-packages\slangtorch\slangtorch.py", line 527, in
(depFile, os.path.getmtime(depFile)) for depFile in depFiles]
File "genericpath.py", line 55, in getmtime
I can't figure out why it's doing this. When I select the model file in the node it finds the file just fine and shows it in the list, but when I queue it throws this error. It should look for the model under "E:\Stable Diffusion\Packages\3D-Pack\custom_nodes\ComfyUI-3D-Pack\Checkpoints\StableFast3D" but it tries to find it in "E:\Stable"... why is it doing this?
Does anyone know why and how to fix it? Cheers!