Error in ComfyUI

#25
by SnowwyAI - opened

When I try to use the model in ComfyUI, I get the following error:

Error occurred when executing CheckpointLoaderSimple:

ERROR: Could not detect model type of: D:\ComfyUI_windows_portable\ComfyUI\models\checkpoints\SSD-1B.safetensors

File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 153, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 83, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 76, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "D:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 476, in load_checkpoint
out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths("embeddings"))
File "D:\ComfyUI_windows_portable\ComfyUI\comfy\sd.py", line 418, in load_checkpoint_guess_config
raise RuntimeError("ERROR: Could not detect model type of: {}".format(ckpt_path))

Do I need to be using a different node to load the checkpoint? Or is there a file missing, like a yaml config file or something?

Segmind org

@mixy89 can you please take a look

just download ComfyUI in the manual method and try the modelsec version and it should work

just download ComfyUI in the manual method and try the modelsec version and it should work

Not sure what manual method of downloading comfyui is.

I downloaded the modelspec version and put it in my SD models folder and it does not work. I also tried the A1111 version.

---------------------------Errortext----------------------------------------------------
Error occurred when executing CheckpointLoaderSimple:

ERROR: Could not detect model type of: L:\AI\Models\Stable-diffusion\SSD-1B-modelspec.safetensors

File "L:\AI\ComfyUI\execution.py", line 153, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "L:\AI\ComfyUI\execution.py", line 83, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "L:\AI\ComfyUI\execution.py", line 76, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "L:\AI\ComfyUI\nodes.py", line 476, in load_checkpoint
out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths("embeddings"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "L:\AI\ComfyUI\comfy\sd.py", line 418, in load_checkpoint_guess_config
raise RuntimeError("ERROR: Could not detect model type of: {}".format(ckpt_path))

Ok so for the manual method just run this .bat file with administrator privileges (for windows manual method installation)
https://github.com/ltdrdata/ComfyUI-Manager/blob/main/scripts/install-comfyui-venv-win.bat

-After everything is installed just go to directory where you ran that .bat file ,

  • copy checkpoint to comfy/models/checkpoints directory and,
    -go back and launch using either run_gpu.bat/run_cpu.bat
    -For launching comfyUI you need to be in a web browser to use comfyUI (default was something like this https://127.0.0:8080)

Sign up or log in to comment