Error occurred when executing CheckpointLoaderSimple: 'model.diffusion_model.input_blocks.0.0.weight'
How do I fix this problem?
Error occurred when executing CheckpointLoaderSimple:
'model.diffusion_model.input_blocks.0.0.weight'
File "D:\AIs\Stability Matrix\Data\Packages\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\AIs\Stability Matrix\Data\Packages\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 "D:\AIs\Stability Matrix\Data\Packages\ComfyUI\custom_nodes\ComfyUI_ezXY\autoCastPatch.py", line 299, in map_node_over_list
return _map_node_over_list(obj, input_data_all, func, allow_interrupt)
File "D:\AIs\Stability Matrix\Data\Packages\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "D:\AIs\Stability Matrix\Data\Packages\ComfyUI\nodes.py", line 540, 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:\AIs\Stability Matrix\Data\Packages\ComfyUI\comfy\sd.py", line 506, in load_checkpoint_guess_config
model_config = model_detection.model_config_from_unet(sd, "model.diffusion_model.")
File "D:\AIs\Stability Matrix\Data\Packages\ComfyUI\comfy\model_detection.py", line 193, in model_config_from_unet
unet_config = detect_unet_config(state_dict, unet_key_prefix)
File "D:\AIs\Stability Matrix\Data\Packages\ComfyUI\comfy\model_detection.py", line 77, in detect_unet_config
model_channels = state_dict['{}input_blocks.0.0.weight'.format(key_prefix)].shape[0]
+1