pydn / ComfyUI-to-Python-Extension

A powerful tool that translates ComfyUI workflows into executable Python code.
MIT License
842 stars 87 forks source link

KeyError: 'CheckpointLoaderSimpleWithNoiseSelect' #51

Closed runshouse closed 1 month ago

runshouse commented 1 month ago

When I run "!python comfyui_to_python.py" I'm getting this error. Any ideas?

Traceback (most recent call last): File "/content/ComfyUI/ComfyUI/ComfyUI-to-Python-Extension/comfyui_to_python.py", line 460, in ComfyUItoPython(input_file=input_file, output_file=output_file, queue_size=queue_size) File "/content/ComfyUI/ComfyUI/ComfyUI-to-Python-Extension/comfyui_to_python.py", line 425, in init self.execute() File "/content/ComfyUI/ComfyUI/ComfyUI-to-Python-Extension/comfyui_to_python.py", line 441, in execute load_order = load_order_determiner.determine_load_order() File "/content/ComfyUI/ComfyUI/ComfyUI-to-Python-Extension/comfyui_to_python.py", line 120, in determine_load_order self._load_special_functions_first() File "/content/ComfyUI/ComfyUI/ComfyUI-to-Python-Extension/comfyui_to_python.py", line 156, in _load_special_functions_first class_def = self.node_class_mappings[self.data[key]['class_type']]() KeyError: 'CheckpointLoaderSimpleWithNoiseSelect'