bash-j / mikey_nodes

comfy nodes from mikey
MIT License
100 stars 15 forks source link

model.diffusion_model.input_blocks.0.0.weight #13

Closed bobo942 closed 8 months ago

bobo942 commented 11 months ago

Error occurred when executing CheckpointLoaderSimple:

'model.diffusion_model.input_blocks.0.0.weight'

File "E:\ComfyUI_windows_portable\ComfyUI\execution.py", line 153, in recursive_execute outputs[unique_id] = output_data File "E:\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 "E:\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 "E:\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 "E:\ComfyUI_windows_portable\ComfyUI\comfy\sd.py", line 416, in load_checkpoint_guess_config model_config = model_detection.model_config_from_unet(sd, "model.diffusion_model.", unet_dtype) File "E:\ComfyUI_windows_portable\ComfyUI\comfy\model_detection.py", line 120, in model_config_from_unet unet_config = detect_unet_config(state_dict, unet_key_prefix, dtype) File "E:\ComfyUI_windows_portable\ComfyUI\comfy\model_detection.py", line 36, in detect_unet_config model_channels = state_dict['{}input_blocks.0.0.weight'.format(key_prefix)].shape[0]

bash-j commented 11 months ago

Hi bobo, I'm not sure if this is related to mikey_nodes.

Check the checkpoint file you are trying to use, and make sure it's roughly 6.46GB in size for an SDXL model. It could be the file didn't finish downloading? Or you might be trying to load a lora or something that is not a valid checkpoint.