MrForExample / ComfyUI-3D-Pack

An extensive node suite that enables ComfyUI to process 3D inputs (Mesh & UV Texture, etc) using cutting edge algorithms (3DGS, NeRF, etc.)
MIT License
2.43k stars 250 forks source link

SF3D Error #287

Open msola-ht opened 3 months ago

msola-ht commented 3 months ago

py3.11.8 cu118 ninja:F:\AI\ComfyUI\python\Lib\site-packages\ninja\data\bin image

Error occurred when executing [Comfy3D] Load SF3D Model:

'cp1' codec can't decode bytes in position 0--1: No mapping for the Unicode character exists in the target code page.

File "F:\AI\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\AI\ComfyUI\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\AI\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\AI\ComfyUI\custom_nodes\ComfyUI-3D-Pack\nodes.py", line 1969, in load_SF3D
sf3d_model = SF3D.from_pretrained(
^^^^^^^^^^^^^^^^^^^^^
File "F:\AI\ComfyUI\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\StableFast3D\sf3d\system.py", line 78, in from_pretrained
model = cls(cfg)
^^^^^^^^
File "F:\AI\ComfyUI\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\StableFast3D\sf3d\models\utils.py", line 29, in __init__
self.configure(*args, **kwargs)
File "F:\AI\ComfyUI\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\StableFast3D\sf3d\system.py", line 128, in configure
self.baker = TextureBaker()
^^^^^^^^^^^^^^
File "F:\AI\ComfyUI\custom_nodes\ComfyUI-3D-Pack\Gen_3D_Modules\StableFast3D\sf3d\texture_baker.py", line 13, in __init__
self.baker = slangtorch.loadModule(
^^^^^^^^^^^^^^^^^^^^^^
File "F:\AI\ComfyUI\python\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 "F:\AI\ComfyUI\python\Lib\site-packages\slangtorch\slangtorch.py", line 571, in _loadModule
slangLib, metadata = compileAndLoadModule(
^^^^^^^^^^^^^^^^^^^^^
File "F:\AI\ComfyUI\python\Lib\site-packages\slangtorch\slangtorch.py", line 460, in compileAndLoadModule
slangLib = _compileAndLoadModule(metadata, sources, moduleName, buildDir, slangSourceDir, verbose)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\AI\ComfyUI\python\Lib\site-packages\slangtorch\slangtorch.py", line 501, in _compileAndLoadModule
return jit_compile(
^^^^^^^^^^^^
File "F:\AI\ComfyUI\python\Lib\site-packages\slangtorch\util\compile.py", line 71, in jit_compile
_write_ninja_file_and_build_library(
File "F:\AI\ComfyUI\python\Lib\site-packages\torch\utils\cpp_extension.py", line 1832, in _write_ninja_file_and_build_library
_run_ninja_build(
File "F:\AI\ComfyUI\python\Lib\site-packages\torch\utils\cpp_extension.py", line 2122, in _run_ninja_build
message += f": {error.output.decode(*SUBPROCESS_DECODE_ARGS)}" # type: ignore[union-attr]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\AI\ComfyUI\python\Lib\encodings\oem.py", line 15, in decode
return oem_decode(input, errors, True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dedoogong commented 1 month ago

me too!