comfyanonymous / ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
https://www.comfy.org/
GNU General Public License v3.0
55.41k stars 5.85k forks source link

PulidModelLoader #5465

Open umllog opened 3 hours ago

umllog commented 3 hours ago

Your question

So Iam new to comfy Ui, I used an tutorial to download, the models, the Workflow etc. Already fixed the problem with the Load InsightFace (Pulid), but now it crashes when it should load the Pulid Model. I use pulid_flux_v0.9.0.safetensors and I have no idea what this Issue is telling me.

Logs

# ComfyUI Error Report
## Error Details
- **Node Type:** PulidModelLoader
- **Exception Type:** RuntimeError
- **Exception Message:** Error(s) in loading state_dict for IDEncoder:
    Missing key(s) in state_dict: "body.0.weight", "body.0.bias", "body.1.weight", "body.1.bias", "body.3.weight", "body.3.bias", "body.4.weight", "body.4.bias", "body.6.weight", "body.6.bias", "mapping_0.0.weight", "mapping_0.0.bias", "mapping_0.1.weight", "mapping_0.1.bias", "mapping_0.3.weight", "mapping_0.3.bias", "mapping_0.4.weight", "mapping_0.4.bias", "mapping_0.6.weight", "mapping_0.6.bias", "mapping_patch_0.0.weight", "mapping_patch_0.0.bias", "mapping_patch_0.1.weight", "mapping_patch_0.1.bias", "mapping_patch_0.3.weight", "mapping_patch_0.3.bias", "mapping_patch_0.4.weight", "mapping_patch_0.4.bias", "mapping_patch_0.6.weight", "mapping_patch_0.6.bias", "mapping_1.0.weight", "mapping_1.0.bias", "mapping_1.1.weight", "mapping_1.1.bias", "mapping_1.3.weight", "mapping_1.3.bias", "mapping_1.4.weight", "mapping_1.4.bias", "mapping_1.6.weight", "mapping_1.6.bias", "mapping_patch_1.0.weight", "mapping_patch_1.0.bias", "mapping_patch_1.1.weight", "mapping_patch_1.1.bias", "mapping_patch_1.3.weight", "mapping_patch_1.3.bias", "mapping_patch_1.4.weight", "mapping_patch_1.4.bias", "mapping_patch_1.6.weight", "mapping_patch_1.6.bias", "mapping_2.0.weight", "mapping_2.0.bias", "mapping_2.1.weight", "mapping_2.1.bias", "mapping_2.3.weight", "mapping_2.3.bias", "mapping_2.4.weight", "mapping_2.4.bias", "mapping_2.6.weight", "mapping_2.6.bias", "mapping_patch_2.0.weight", "mapping_patch_2.0.bias", "mapping_patch_2.1.weight", "mapping_patch_2.1.bias", "mapping_patch_2.3.weight", "mapping_patch_2.3.bias", "mapping_patch_2.4.weight", "mapping_patch_2.4.bias", "mapping_patch_2.6.weight", "mapping_patch_2.6.bias", "mapping_3.0.weight", "mapping_3.0.bias", "mapping_3.1.weight", "mapping_3.1.bias", "mapping_3.3.weight", "mapping_3.3.bias", "mapping_3.4.weight", "mapping_3.4.bias", "mapping_3.6.weight", "mapping_3.6.bias", "mapping_patch_3.0.weight", "mapping_patch_3.0.bias", "mapping_patch_3.1.weight", "mapping_patch_3.1.bias", "mapping_patch_3.3.weight", "mapping_patch_3.3.bias", "mapping_patch_3.4.weight", "mapping_patch_3.4.bias", "mapping_patch_3.6.weight", "mapping_patch_3.6.bias", "mapping_4.0.weight", "mapping_4.0.bias", "mapping_4.1.weight", "mapping_4.1.bias", "mapping_4.3.weight", "mapping_4.3.bias", "mapping_4.4.weight", "mapping_4.4.bias", "mapping_4.6.weight", "mapping_4.6.bias", "mapping_patch_4.0.weight", "mapping_patch_4.0.bias", "mapping_patch_4.1.weight", "mapping_patch_4.1.bias", "mapping_patch_4.3.weight", "mapping_patch_4.3.bias", "mapping_patch_4.4.weight", "mapping_patch_4.4.bias", "mapping_patch_4.6.weight", "mapping_patch_4.6.bias". 
## Stack Trace

  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\execution.py", line 323, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\execution.py", line 198, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)

  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\PuLID_ComfyUI\pulid.py", line 222, in load_model
    model = PulidModel(model)
            ^^^^^^^^^^^^^^^^^

  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\PuLID_ComfyUI\pulid.py", line 33, in __init__
    self.image_proj_model.load_state_dict(model["image_proj"])

  File "C:\comfy\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 2584, in load_state_dict
    raise RuntimeError(

System Information

Logs

2024-11-02 12:38:34,641 - root - INFO - Total VRAM 10240 MB, total RAM 32666 MB
2024-11-02 12:38:34,641 - root - INFO - pytorch version: 2.5.0+cu124
2024-11-02 12:38:34,642 - root - INFO - Set vram state to: NORMAL_VRAM
2024-11-02 12:38:34,642 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 3080 : cudaMallocAsync
2024-11-02 12:38:35,797 - root - INFO - Using pytorch cross attention
2024-11-02 12:38:37,255 - root - INFO - [Prompt Server] web root: C:\comfy\ComfyUI_windows_portable\ComfyUI\web
2024-11-02 12:38:38,627 - root - INFO - Total VRAM 10240 MB, total RAM 32666 MB
2024-11-02 12:38:38,627 - root - INFO - pytorch version: 2.5.0+cu124
2024-11-02 12:38:38,628 - root - INFO - Set vram state to: NORMAL_VRAM
2024-11-02 12:38:38,628 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 3080 : cudaMallocAsync
2024-11-02 12:38:39,984 - root - INFO - 
Import times for custom nodes:
2024-11-02 12:38:39,984 - root - INFO -    0.0 seconds: C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
2024-11-02 12:38:39,984 - root - INFO -    0.0 seconds: C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\cg-use-everywhere
2024-11-02 12:38:39,984 - root - INFO -    0.0 seconds: C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy-image-saver
2024-11-02 12:38:39,984 - root - INFO -    0.0 seconds: C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale
2024-11-02 12:38:39,984 - root - INFO -    0.0 seconds: C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\Derfuu_ComfyUI_ModdedNodes
2024-11-02 12:38:39,985 - root - INFO -    0.0 seconds: C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\efficiency-nodes-comfyui
2024-11-02 12:38:39,985 - root - INFO -    0.0 seconds: C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy
2024-11-02 12:38:39,985 - root - INFO -    0.0 seconds: C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_essentials
2024-11-02 12:38:39,985 - root - INFO -    0.0 seconds: C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes
2024-11-02 12:38:39,986 - root - INFO -    0.0 seconds: C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Comfyroll_CustomNodes
2024-11-02 12:38:39,986 - root - INFO -    0.1 seconds: C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inspire-Pack
2024-11-02 12:38:39,986 - root - INFO -    0.1 seconds: C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack
2024-11-02 12:38:39,986 - root - INFO -    0.1 seconds: C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux
2024-11-02 12:38:39,986 - root - INFO -    0.2 seconds: C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-eesahesNodes
2024-11-02 12:38:39,987 - root - INFO -    0.3 seconds: C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
2024-11-02 12:38:39,987 - root - INFO -    0.6 seconds: C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-AdvancedLivePortrait
2024-11-02 12:38:39,987 - root - INFO -    0.8 seconds: C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\PuLID_ComfyUI
2024-11-02 12:38:39,987 - root - INFO - 
2024-11-02 12:38:39,997 - root - INFO - Starting server

2024-11-02 12:38:39,997 - root - INFO - To see the GUI go to: http://127.0.0.1:8188
2024-11-02 12:38:56,086 - root - INFO - got prompt
2024-11-02 12:38:57,264 - root - INFO - Loaded EVA02-CLIP-L-14-336 model config.
2024-11-02 12:38:57,285 - root - INFO - Shape of rope freq: torch.Size([576, 64])
2024-11-02 12:39:01,824 - root - INFO - Loading pretrained EVA02-CLIP-L-14-336 weights (eva_clip).
2024-11-02 12:39:02,284 - root - INFO - incompatible_keys.missing_keys: ['visual.rope.freqs_cos', 'visual.rope.freqs_sin', 'visual.blocks.0.attn.rope.freqs_cos', 'visual.blocks.0.attn.rope.freqs_sin', 'visual.blocks.1.attn.rope.freqs_cos', 'visual.blocks.1.attn.rope.freqs_sin', 'visual.blocks.2.attn.rope.freqs_cos', 'visual.blocks.2.attn.rope.freqs_sin', 'visual.blocks.3.attn.rope.freqs_cos', 'visual.blocks.3.attn.rope.freqs_sin', 'visual.blocks.4.attn.rope.freqs_cos', 'visual.blocks.4.attn.rope.freqs_sin', 'visual.blocks.5.attn.rope.freqs_cos', 'visual.blocks.5.attn.rope.freqs_sin', 'visual.blocks.6.attn.rope.freqs_cos', 'visual.blocks.6.attn.rope.freqs_sin', 'visual.blocks.7.attn.rope.freqs_cos', 'visual.blocks.7.attn.rope.freqs_sin', 'visual.blocks.8.attn.rope.freqs_cos', 'visual.blocks.8.attn.rope.freqs_sin', 'visual.blocks.9.attn.rope.freqs_cos', 'visual.blocks.9.attn.rope.freqs_sin', 'visual.blocks.10.attn.rope.freqs_cos', 'visual.blocks.10.attn.rope.freqs_sin', 'visual.blocks.11.attn.rope.freqs_cos', 'visual.blocks.11.attn.rope.freqs_sin', 'visual.blocks.12.attn.rope.freqs_cos', 'visual.blocks.12.attn.rope.freqs_sin', 'visual.blocks.13.attn.rope.freqs_cos', 'visual.blocks.13.attn.rope.freqs_sin', 'visual.blocks.14.attn.rope.freqs_cos', 'visual.blocks.14.attn.rope.freqs_sin', 'visual.blocks.15.attn.rope.freqs_cos', 'visual.blocks.15.attn.rope.freqs_sin', 'visual.blocks.16.attn.rope.freqs_cos', 'visual.blocks.16.attn.rope.freqs_sin', 'visual.blocks.17.attn.rope.freqs_cos', 'visual.blocks.17.attn.rope.freqs_sin', 'visual.blocks.18.attn.rope.freqs_cos', 'visual.blocks.18.attn.rope.freqs_sin', 'visual.blocks.19.attn.rope.freqs_cos', 'visual.blocks.19.attn.rope.freqs_sin', 'visual.blocks.20.attn.rope.freqs_cos', 'visual.blocks.20.attn.rope.freqs_sin', 'visual.blocks.21.attn.rope.freqs_cos', 'visual.blocks.21.attn.rope.freqs_sin', 'visual.blocks.22.attn.rope.freqs_cos', 'visual.blocks.22.attn.rope.freqs_sin', 'visual.blocks.23.attn.rope.freqs_cos', 'visual.blocks.23.attn.rope.freqs_sin']
2024-11-02 12:39:02,540 - root - ERROR - !!! Exception during processing !!! Error(s) in loading state_dict for IDEncoder:
    Missing key(s) in state_dict: "body.0.weight", "body.0.bias", "body.1.weight", "body.1.bias", "body.3.weight", "body.3.bias", "body.4.weight", "body.4.bias", "body.6.weight", "body.6.bias", "mapping_0.0.weight", "mapping_0.0.bias", "mapping_0.1.weight", "mapping_0.1.bias", "mapping_0.3.weight", "mapping_0.3.bias", "mapping_0.4.weight", "mapping_0.4.bias", "mapping_0.6.weight", "mapping_0.6.bias", "mapping_patch_0.0.weight", "mapping_patch_0.0.bias", "mapping_patch_0.1.weight", "mapping_patch_0.1.bias", "mapping_patch_0.3.weight", "mapping_patch_0.3.bias", "mapping_patch_0.4.weight", "mapping_patch_0.4.bias", "mapping_patch_0.6.weight", "mapping_patch_0.6.bias", "mapping_1.0.weight", "mapping_1.0.bias", "mapping_1.1.weight", "mapping_1.1.bias", "mapping_1.3.weight", "mapping_1.3.bias", "mapping_1.4.weight", "mapping_1.4.bias", "mapping_1.6.weight", "mapping_1.6.bias", "mapping_patch_1.0.weight", "mapping_patch_1.0.bias", "mapping_patch_1.1.weight", "mapping_patch_1.1.bias", "mapping_patch_1.3.weight", "mapping_patch_1.3.bias", "mapping_patch_1.4.weight", "mapping_patch_1.4.bias", "mapping_patch_1.6.weight", "mapping_patch_1.6.bias", "mapping_2.0.weight", "mapping_2.0.bias", "mapping_2.1.weight", "mapping_2.1.bias", "mapping_2.3.weight", "mapping_2.3.bias", "mapping_2.4.weight", "mapping_2.4.bias", "mapping_2.6.weight", "mapping_2.6.bias", "mapping_patch_2.0.weight", "mapping_patch_2.0.bias", "mapping_patch_2.1.weight", "mapping_patch_2.1.bias", "mapping_patch_2.3.weight", "mapping_patch_2.3.bias", "mapping_patch_2.4.weight", "mapping_patch_2.4.bias", "mapping_patch_2.6.weight", "mapping_patch_2.6.bias", "mapping_3.0.weight", "mapping_3.0.bias", "mapping_3.1.weight", "mapping_3.1.bias", "mapping_3.3.weight", "mapping_3.3.bias", "mapping_3.4.weight", "mapping_3.4.bias", "mapping_3.6.weight", "mapping_3.6.bias", "mapping_patch_3.0.weight", "mapping_patch_3.0.bias", "mapping_patch_3.1.weight", "mapping_patch_3.1.bias", "mapping_patch_3.3.weight", "mapping_patch_3.3.bias", "mapping_patch_3.4.weight", "mapping_patch_3.4.bias", "mapping_patch_3.6.weight", "mapping_patch_3.6.bias", "mapping_4.0.weight", "mapping_4.0.bias", "mapping_4.1.weight", "mapping_4.1.bias", "mapping_4.3.weight", "mapping_4.3.bias", "mapping_4.4.weight", "mapping_4.4.bias", "mapping_4.6.weight", "mapping_4.6.bias", "mapping_patch_4.0.weight", "mapping_patch_4.0.bias", "mapping_patch_4.1.weight", "mapping_patch_4.1.bias", "mapping_patch_4.3.weight", "mapping_patch_4.3.bias", "mapping_patch_4.4.weight", "mapping_patch_4.4.bias", "mapping_patch_4.6.weight", "mapping_patch_4.6.bias". 
2024-11-02 12:39:02,543 - root - ERROR - Traceback (most recent call last):
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\execution.py", line 323, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\execution.py", line 198, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\PuLID_ComfyUI\pulid.py", line 222, in load_model
    model = PulidModel(model)
            ^^^^^^^^^^^^^^^^^
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\PuLID_ComfyUI\pulid.py", line 33, in __init__
    self.image_proj_model.load_state_dict(model["image_proj"])
  File "C:\comfy\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 2584, in load_state_dict
    raise RuntimeError(
RuntimeError: Error(s) in loading state_dict for IDEncoder:
    Missing key(s) in state_dict: "body.0.weight", "body.0.bias", "body.1.weight", "body.1.bias", "body.3.weight", "body.3.bias", "body.4.weight", "body.4.bias", "body.6.weight", "body.6.bias", "mapping_0.0.weight", "mapping_0.0.bias", "mapping_0.1.weight", "mapping_0.1.bias", "mapping_0.3.weight", "mapping_0.3.bias", "mapping_0.4.weight", "mapping_0.4.bias", "mapping_0.6.weight", "mapping_0.6.bias", "mapping_patch_0.0.weight", "mapping_patch_0.0.bias", "mapping_patch_0.1.weight", "mapping_patch_0.1.bias", "mapping_patch_0.3.weight", "mapping_patch_0.3.bias", "mapping_patch_0.4.weight", "mapping_patch_0.4.bias", "mapping_patch_0.6.weight", "mapping_patch_0.6.bias", "mapping_1.0.weight", "mapping_1.0.bias", "mapping_1.1.weight", "mapping_1.1.bias", "mapping_1.3.weight", "mapping_1.3.bias", "mapping_1.4.weight", "mapping_1.4.bias", "mapping_1.6.weight", "mapping_1.6.bias", "mapping_patch_1.0.weight", "mapping_patch_1.0.bias", "mapping_patch_1.1.weight", "mapping_patch_1.1.bias", "mapping_patch_1.3.weight", "mapping_patch_1.3.bias", "mapping_patch_1.4.weight", "mapping_patch_1.4.bias", "mapping_patch_1.6.weight", "mapping_patch_1.6.bias", "mapping_2.0.weight", "mapping_2.0.bias", "mapping_2.1.weight", "mapping_2.1.bias", "mapping_2.3.weight", "mapping_2.3.bias", "mapping_2.4.weight", "mapping_2.4.bias", "mapping_2.6.weight", "mapping_2.6.bias", "mapping_patch_2.0.weight", "mapping_patch_2.0.bias", "mapping_patch_2.1.weight", "mapping_patch_2.1.bias", "mapping_patch_2.3.weight", "mapping_patch_2.3.bias", "mapping_patch_2.4.weight", "mapping_patch_2.4.bias", "mapping_patch_2.6.weight", "mapping_patch_2.6.bias", "mapping_3.0.weight", "mapping_3.0.bias", "mapping_3.1.weight", "mapping_3.1.bias", "mapping_3.3.weight", "mapping_3.3.bias", "mapping_3.4.weight", "mapping_3.4.bias", "mapping_3.6.weight", "mapping_3.6.bias", "mapping_patch_3.0.weight", "mapping_patch_3.0.bias", "mapping_patch_3.1.weight", "mapping_patch_3.1.bias", "mapping_patch_3.3.weight", "mapping_patch_3.3.bias", "mapping_patch_3.4.weight", "mapping_patch_3.4.bias", "mapping_patch_3.6.weight", "mapping_patch_3.6.bias", "mapping_4.0.weight", "mapping_4.0.bias", "mapping_4.1.weight", "mapping_4.1.bias", "mapping_4.3.weight", "mapping_4.3.bias", "mapping_4.4.weight", "mapping_4.4.bias", "mapping_4.6.weight", "mapping_4.6.bias", "mapping_patch_4.0.weight", "mapping_patch_4.0.bias", "mapping_patch_4.1.weight", "mapping_patch_4.1.bias", "mapping_patch_4.3.weight", "mapping_patch_4.3.bias", "mapping_patch_4.4.weight", "mapping_patch_4.4.bias", "mapping_patch_4.6.weight", "mapping_patch_4.6.bias". 

2024-11-02 12:39:02,544 - root - INFO - Prompt executed in 6.45 seconds
2024-11-02 12:41:56,559 - root - INFO - got prompt
2024-11-02 12:41:56,916 - root - ERROR - !!! Exception during processing !!! Error(s) in loading state_dict for IDEncoder:
    Missing key(s) in state_dict: "body.0.weight", "body.0.bias", "body.1.weight", "body.1.bias", "body.3.weight", "body.3.bias", "body.4.weight", "body.4.bias", "body.6.weight", "body.6.bias", "mapping_0.0.weight", "mapping_0.0.bias", "mapping_0.1.weight", "mapping_0.1.bias", "mapping_0.3.weight", "mapping_0.3.bias", "mapping_0.4.weight", "mapping_0.4.bias", "mapping_0.6.weight", "mapping_0.6.bias", "mapping_patch_0.0.weight", "mapping_patch_0.0.bias", "mapping_patch_0.1.weight", "mapping_patch_0.1.bias", "mapping_patch_0.3.weight", "mapping_patch_0.3.bias", "mapping_patch_0.4.weight", "mapping_patch_0.4.bias", "mapping_patch_0.6.weight", "mapping_patch_0.6.bias", "mapping_1.0.weight", "mapping_1.0.bias", "mapping_1.1.weight", "mapping_1.1.bias", "mapping_1.3.weight", "mapping_1.3.bias", "mapping_1.4.weight", "mapping_1.4.bias", "mapping_1.6.weight", "mapping_1.6.bias", "mapping_patch_1.0.weight", "mapping_patch_1.0.bias", "mapping_patch_1.1.weight", "mapping_patch_1.1.bias", "mapping_patch_1.3.weight", "mapping_patch_1.3.bias", "mapping_patch_1.4.weight", "mapping_patch_1.4.bias", "mapping_patch_1.6.weight", "mapping_patch_1.6.bias", "mapping_2.0.weight", "mapping_2.0.bias", "mapping_2.1.weight", "mapping_2.1.bias", "mapping_2.3.weight", "mapping_2.3.bias", "mapping_2.4.weight", "mapping_2.4.bias", "mapping_2.6.weight", "mapping_2.6.bias", "mapping_patch_2.0.weight", "mapping_patch_2.0.bias", "mapping_patch_2.1.weight", "mapping_patch_2.1.bias", "mapping_patch_2.3.weight", "mapping_patch_2.3.bias", "mapping_patch_2.4.weight", "mapping_patch_2.4.bias", "mapping_patch_2.6.weight", "mapping_patch_2.6.bias", "mapping_3.0.weight", "mapping_3.0.bias", "mapping_3.1.weight", "mapping_3.1.bias", "mapping_3.3.weight", "mapping_3.3.bias", "mapping_3.4.weight", "mapping_3.4.bias", "mapping_3.6.weight", "mapping_3.6.bias", "mapping_patch_3.0.weight", "mapping_patch_3.0.bias", "mapping_patch_3.1.weight", "mapping_patch_3.1.bias", "mapping_patch_3.3.weight", "mapping_patch_3.3.bias", "mapping_patch_3.4.weight", "mapping_patch_3.4.bias", "mapping_patch_3.6.weight", "mapping_patch_3.6.bias", "mapping_4.0.weight", "mapping_4.0.bias", "mapping_4.1.weight", "mapping_4.1.bias", "mapping_4.3.weight", "mapping_4.3.bias", "mapping_4.4.weight", "mapping_4.4.bias", "mapping_4.6.weight", "mapping_4.6.bias", "mapping_patch_4.0.weight", "mapping_patch_4.0.bias", "mapping_patch_4.1.weight", "mapping_patch_4.1.bias", "mapping_patch_4.3.weight", "mapping_patch_4.3.bias", "mapping_patch_4.4.weight", "mapping_patch_4.4.bias", "mapping_patch_4.6.weight", "mapping_patch_4.6.bias". 
2024-11-02 12:41:56,917 - root - ERROR - Traceback (most recent call last):
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\execution.py", line 323, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\execution.py", line 198, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\PuLID_ComfyUI\pulid.py", line 222, in load_model
    model = PulidModel(model)
            ^^^^^^^^^^^^^^^^^
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\PuLID_ComfyUI\pulid.py", line 33, in __init__
    self.image_proj_model.load_state_dict(model["image_proj"])
  File "C:\comfy\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 2584, in load_state_dict
    raise RuntimeError(
RuntimeError: Error(s) in loading state_dict for IDEncoder:
    Missing key(s) in state_dict: "body.0.weight", "body.0.bias", "body.1.weight", "body.1.bias", "body.3.weight", "body.3.bias", "body.4.weight", "body.4.bias", "body.6.weight", "body.6.bias", "mapping_0.0.weight", "mapping_0.0.bias", "mapping_0.1.weight", "mapping_0.1.bias", "mapping_0.3.weight", "mapping_0.3.bias", "mapping_0.4.weight", "mapping_0.4.bias", "mapping_0.6.weight", "mapping_0.6.bias", "mapping_patch_0.0.weight", "mapping_patch_0.0.bias", "mapping_patch_0.1.weight", "mapping_patch_0.1.bias", "mapping_patch_0.3.weight", "mapping_patch_0.3.bias", "mapping_patch_0.4.weight", "mapping_patch_0.4.bias", "mapping_patch_0.6.weight", "mapping_patch_0.6.bias", "mapping_1.0.weight", "mapping_1.0.bias", "mapping_1.1.weight", "mapping_1.1.bias", "mapping_1.3.weight", "mapping_1.3.bias", "mapping_1.4.weight", "mapping_1.4.bias", "mapping_1.6.weight", "mapping_1.6.bias", "mapping_patch_1.0.weight", "mapping_patch_1.0.bias", "mapping_patch_1.1.weight", "mapping_patch_1.1.bias", "mapping_patch_1.3.weight", "mapping_patch_1.3.bias", "mapping_patch_1.4.weight", "mapping_patch_1.4.bias", "mapping_patch_1.6.weight", "mapping_patch_1.6.bias", "mapping_2.0.weight", "mapping_2.0.bias", "mapping_2.1.weight", "mapping_2.1.bias", "mapping_2.3.weight", "mapping_2.3.bias", "mapping_2.4.weight", "mapping_2.4.bias", "mapping_2.6.weight", "mapping_2.6.bias", "mapping_patch_2.0.weight", "mapping_patch_2.0.bias", "mapping_patch_2.1.weight", "mapping_patch_2.1.bias", "mapping_patch_2.3.weight", "mapping_patch_2.3.bias", "mapping_patch_2.4.weight", "mapping_patch_2.4.bias", "mapping_patch_2.6.weight", "mapping_patch_2.6.bias", "mapping_3.0.weight", "mapping_3.0.bias", "mapping_3.1.weight", "mapping_3.1.bias", "mapping_3.3.weight", "mapping_3.3.bias", "mapping_3.4.weight", "mapping_3.4.bias", "mapping_3.6.weight", "mapping_3.6.bias", "mapping_patch_3.0.weight", "mapping_patch_3.0.bias", "mapping_patch_3.1.weight", "mapping_patch_3.1.bias", "mapping_patch_3.3.weight", "mapping_patch_3.3.bias", "mapping_patch_3.4.weight", "mapping_patch_3.4.bias", "mapping_patch_3.6.weight", "mapping_patch_3.6.bias", "mapping_4.0.weight", "mapping_4.0.bias", "mapping_4.1.weight", "mapping_4.1.bias", "mapping_4.3.weight", "mapping_4.3.bias", "mapping_4.4.weight", "mapping_4.4.bias", "mapping_4.6.weight", "mapping_4.6.bias", "mapping_patch_4.0.weight", "mapping_patch_4.0.bias", "mapping_patch_4.1.weight", "mapping_patch_4.1.bias", "mapping_patch_4.3.weight", "mapping_patch_4.3.bias", "mapping_patch_4.4.weight", "mapping_patch_4.4.bias", "mapping_patch_4.6.weight", "mapping_patch_4.6.bias". 

2024-11-02 12:41:56,919 - root - INFO - Prompt executed in 0.35 seconds
2024-11-02 12:48:39,642 - root - INFO - got prompt
2024-11-02 12:48:40,015 - root - INFO - model weight dtype torch.float16, manual cast: None
2024-11-02 12:48:40,022 - root - INFO - model_type EPS
2024-11-02 12:48:43,739 - root - INFO - Using pytorch attention in VAE
2024-11-02 12:48:43,740 - root - INFO - Using pytorch attention in VAE
2024-11-02 12:48:44,197 - root - INFO - Requested to load SDXLClipModel
2024-11-02 12:48:44,197 - root - INFO - Loading 1 new model
2024-11-02 12:48:44,207 - root - INFO - loaded completely 0.0 1560.802734375 True
2024-11-02 12:48:46,336 - root - ERROR - !!! Exception during processing !!! Error(s) in loading state_dict for IDEncoder:
    Missing key(s) in state_dict: "body.0.weight", "body.0.bias", "body.1.weight", "body.1.bias", "body.3.weight", "body.3.bias", "body.4.weight", "body.4.bias", "body.6.weight", "body.6.bias", "mapping_0.0.weight", "mapping_0.0.bias", "mapping_0.1.weight", "mapping_0.1.bias", "mapping_0.3.weight", "mapping_0.3.bias", "mapping_0.4.weight", "mapping_0.4.bias", "mapping_0.6.weight", "mapping_0.6.bias", "mapping_patch_0.0.weight", "mapping_patch_0.0.bias", "mapping_patch_0.1.weight", "mapping_patch_0.1.bias", "mapping_patch_0.3.weight", "mapping_patch_0.3.bias", "mapping_patch_0.4.weight", "mapping_patch_0.4.bias", "mapping_patch_0.6.weight", "mapping_patch_0.6.bias", "mapping_1.0.weight", "mapping_1.0.bias", "mapping_1.1.weight", "mapping_1.1.bias", "mapping_1.3.weight", "mapping_1.3.bias", "mapping_1.4.weight", "mapping_1.4.bias", "mapping_1.6.weight", "mapping_1.6.bias", "mapping_patch_1.0.weight", "mapping_patch_1.0.bias", "mapping_patch_1.1.weight", "mapping_patch_1.1.bias", "mapping_patch_1.3.weight", "mapping_patch_1.3.bias", "mapping_patch_1.4.weight", "mapping_patch_1.4.bias", "mapping_patch_1.6.weight", "mapping_patch_1.6.bias", "mapping_2.0.weight", "mapping_2.0.bias", "mapping_2.1.weight", "mapping_2.1.bias", "mapping_2.3.weight", "mapping_2.3.bias", "mapping_2.4.weight", "mapping_2.4.bias", "mapping_2.6.weight", "mapping_2.6.bias", "mapping_patch_2.0.weight", "mapping_patch_2.0.bias", "mapping_patch_2.1.weight", "mapping_patch_2.1.bias", "mapping_patch_2.3.weight", "mapping_patch_2.3.bias", "mapping_patch_2.4.weight", "mapping_patch_2.4.bias", "mapping_patch_2.6.weight", "mapping_patch_2.6.bias", "mapping_3.0.weight", "mapping_3.0.bias", "mapping_3.1.weight", "mapping_3.1.bias", "mapping_3.3.weight", "mapping_3.3.bias", "mapping_3.4.weight", "mapping_3.4.bias", "mapping_3.6.weight", "mapping_3.6.bias", "mapping_patch_3.0.weight", "mapping_patch_3.0.bias", "mapping_patch_3.1.weight", "mapping_patch_3.1.bias", "mapping_patch_3.3.weight", "mapping_patch_3.3.bias", "mapping_patch_3.4.weight", "mapping_patch_3.4.bias", "mapping_patch_3.6.weight", "mapping_patch_3.6.bias", "mapping_4.0.weight", "mapping_4.0.bias", "mapping_4.1.weight", "mapping_4.1.bias", "mapping_4.3.weight", "mapping_4.3.bias", "mapping_4.4.weight", "mapping_4.4.bias", "mapping_4.6.weight", "mapping_4.6.bias", "mapping_patch_4.0.weight", "mapping_patch_4.0.bias", "mapping_patch_4.1.weight", "mapping_patch_4.1.bias", "mapping_patch_4.3.weight", "mapping_patch_4.3.bias", "mapping_patch_4.4.weight", "mapping_patch_4.4.bias", "mapping_patch_4.6.weight", "mapping_patch_4.6.bias". 
2024-11-02 12:48:46,337 - root - ERROR - Traceback (most recent call last):
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\execution.py", line 323, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\execution.py", line 198, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\PuLID_ComfyUI\pulid.py", line 222, in load_model
    model = PulidModel(model)
            ^^^^^^^^^^^^^^^^^
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\PuLID_ComfyUI\pulid.py", line 33, in __init__
    self.image_proj_model.load_state_dict(model["image_proj"])
  File "C:\comfy\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 2584, in load_state_dict
    raise RuntimeError(
RuntimeError: Error(s) in loading state_dict for IDEncoder:
    Missing key(s) in state_dict: "body.0.weight", "body.0.bias", "body.1.weight", "body.1.bias", "body.3.weight", "body.3.bias", "body.4.weight", "body.4.bias", "body.6.weight", "body.6.bias", "mapping_0.0.weight", "mapping_0.0.bias", "mapping_0.1.weight", "mapping_0.1.bias", "mapping_0.3.weight", "mapping_0.3.bias", "mapping_0.4.weight", "mapping_0.4.bias", "mapping_0.6.weight", "mapping_0.6.bias", "mapping_patch_0.0.weight", "mapping_patch_0.0.bias", "mapping_patch_0.1.weight", "mapping_patch_0.1.bias", "mapping_patch_0.3.weight", "mapping_patch_0.3.bias", "mapping_patch_0.4.weight", "mapping_patch_0.4.bias", "mapping_patch_0.6.weight", "mapping_patch_0.6.bias", "mapping_1.0.weight", "mapping_1.0.bias", "mapping_1.1.weight", "mapping_1.1.bias", "mapping_1.3.weight", "mapping_1.3.bias", "mapping_1.4.weight", "mapping_1.4.bias", "mapping_1.6.weight", "mapping_1.6.bias", "mapping_patch_1.0.weight", "mapping_patch_1.0.bias", "mapping_patch_1.1.weight", "mapping_patch_1.1.bias", "mapping_patch_1.3.weight", "mapping_patch_1.3.bias", "mapping_patch_1.4.weight", "mapping_patch_1.4.bias", "mapping_patch_1.6.weight", "mapping_patch_1.6.bias", "mapping_2.0.weight", "mapping_2.0.bias", "mapping_2.1.weight", "mapping_2.1.bias", "mapping_2.3.weight", "mapping_2.3.bias", "mapping_2.4.weight", "mapping_2.4.bias", "mapping_2.6.weight", "mapping_2.6.bias", "mapping_patch_2.0.weight", "mapping_patch_2.0.bias", "mapping_patch_2.1.weight", "mapping_patch_2.1.bias", "mapping_patch_2.3.weight", "mapping_patch_2.3.bias", "mapping_patch_2.4.weight", "mapping_patch_2.4.bias", "mapping_patch_2.6.weight", "mapping_patch_2.6.bias", "mapping_3.0.weight", "mapping_3.0.bias", "mapping_3.1.weight", "mapping_3.1.bias", "mapping_3.3.weight", "mapping_3.3.bias", "mapping_3.4.weight", "mapping_3.4.bias", "mapping_3.6.weight", "mapping_3.6.bias", "mapping_patch_3.0.weight", "mapping_patch_3.0.bias", "mapping_patch_3.1.weight", "mapping_patch_3.1.bias", "mapping_patch_3.3.weight", "mapping_patch_3.3.bias", "mapping_patch_3.4.weight", "mapping_patch_3.4.bias", "mapping_patch_3.6.weight", "mapping_patch_3.6.bias", "mapping_4.0.weight", "mapping_4.0.bias", "mapping_4.1.weight", "mapping_4.1.bias", "mapping_4.3.weight", "mapping_4.3.bias", "mapping_4.4.weight", "mapping_4.4.bias", "mapping_4.6.weight", "mapping_4.6.bias", "mapping_patch_4.0.weight", "mapping_patch_4.0.bias", "mapping_patch_4.1.weight", "mapping_patch_4.1.bias", "mapping_patch_4.3.weight", "mapping_patch_4.3.bias", "mapping_patch_4.4.weight", "mapping_patch_4.4.bias", "mapping_patch_4.6.weight", "mapping_patch_4.6.bias". 

2024-11-02 12:48:46,339 - root - INFO - Prompt executed in 6.69 seconds
2024-11-02 12:49:11,202 - root - INFO - got prompt
2024-11-02 12:49:11,504 - root - ERROR - !!! Exception during processing !!! Error(s) in loading state_dict for IDEncoder:
    Missing key(s) in state_dict: "body.0.weight", "body.0.bias", "body.1.weight", "body.1.bias", "body.3.weight", "body.3.bias", "body.4.weight", "body.4.bias", "body.6.weight", "body.6.bias", "mapping_0.0.weight", "mapping_0.0.bias", "mapping_0.1.weight", "mapping_0.1.bias", "mapping_0.3.weight", "mapping_0.3.bias", "mapping_0.4.weight", "mapping_0.4.bias", "mapping_0.6.weight", "mapping_0.6.bias", "mapping_patch_0.0.weight", "mapping_patch_0.0.bias", "mapping_patch_0.1.weight", "mapping_patch_0.1.bias", "mapping_patch_0.3.weight", "mapping_patch_0.3.bias", "mapping_patch_0.4.weight", "mapping_patch_0.4.bias", "mapping_patch_0.6.weight", "mapping_patch_0.6.bias", "mapping_1.0.weight", "mapping_1.0.bias", "mapping_1.1.weight", "mapping_1.1.bias", "mapping_1.3.weight", "mapping_1.3.bias", "mapping_1.4.weight", "mapping_1.4.bias", "mapping_1.6.weight", "mapping_1.6.bias", "mapping_patch_1.0.weight", "mapping_patch_1.0.bias", "mapping_patch_1.1.weight", "mapping_patch_1.1.bias", "mapping_patch_1.3.weight", "mapping_patch_1.3.bias", "mapping_patch_1.4.weight", "mapping_patch_1.4.bias", "mapping_patch_1.6.weight", "mapping_patch_1.6.bias", "mapping_2.0.weight", "mapping_2.0.bias", "mapping_2.1.weight", "mapping_2.1.bias", "mapping_2.3.weight", "mapping_2.3.bias", "mapping_2.4.weight", "mapping_2.4.bias", "mapping_2.6.weight", "mapping_2.6.bias", "mapping_patch_2.0.weight", "mapping_patch_2.0.bias", "mapping_patch_2.1.weight", "mapping_patch_2.1.bias", "mapping_patch_2.3.weight", "mapping_patch_2.3.bias", "mapping_patch_2.4.weight", "mapping_patch_2.4.bias", "mapping_patch_2.6.weight", "mapping_patch_2.6.bias", "mapping_3.0.weight", "mapping_3.0.bias", "mapping_3.1.weight", "mapping_3.1.bias", "mapping_3.3.weight", "mapping_3.3.bias", "mapping_3.4.weight", "mapping_3.4.bias", "mapping_3.6.weight", "mapping_3.6.bias", "mapping_patch_3.0.weight", "mapping_patch_3.0.bias", "mapping_patch_3.1.weight", "mapping_patch_3.1.bias", "mapping_patch_3.3.weight", "mapping_patch_3.3.bias", "mapping_patch_3.4.weight", "mapping_patch_3.4.bias", "mapping_patch_3.6.weight", "mapping_patch_3.6.bias", "mapping_4.0.weight", "mapping_4.0.bias", "mapping_4.1.weight", "mapping_4.1.bias", "mapping_4.3.weight", "mapping_4.3.bias", "mapping_4.4.weight", "mapping_4.4.bias", "mapping_4.6.weight", "mapping_4.6.bias", "mapping_patch_4.0.weight", "mapping_patch_4.0.bias", "mapping_patch_4.1.weight", "mapping_patch_4.1.bias", "mapping_patch_4.3.weight", "mapping_patch_4.3.bias", "mapping_patch_4.4.weight", "mapping_patch_4.4.bias", "mapping_patch_4.6.weight", "mapping_patch_4.6.bias". 
2024-11-02 12:49:11,505 - root - ERROR - Traceback (most recent call last):
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\execution.py", line 323, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\execution.py", line 198, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\PuLID_ComfyUI\pulid.py", line 222, in load_model
    model = PulidModel(model)
            ^^^^^^^^^^^^^^^^^
  File "C:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\PuLID_ComfyUI\pulid.py", line 33, in __init__
    self.image_proj_model.load_state_dict(model["image_proj"])
  File "C:\comfy\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 2584, in load_state_dict
    raise RuntimeError(
RuntimeError: Error(s) in loading state_dict for IDEncoder:
    Missing key(s) in state_dict: "body.0.weight", "body.0.bias", "body.1.weight", "body.1.bias", "body.3.weight", "body.3.bias", "body.4.weight", "body.4.bias", "body.6.weight", "body.6.bias", "mapping_0.0.weight", "mapping_0.0.bias", "mapping_0.1.weight", "mapping_0.1.bias", "mapping_0.3.weight", "mapping_0.3.bias", "mapping_0.4.weight", "mapping_0.4.bias", "mapping_0.6.weight", "mapping_0.6.bias", "mapping_patch_0.0.weight", "mapping_patch_0.0.bias", "mapping_patch_0.1.weight", "mapping_patch_0.1.bias", "mapping_patch_0.3.weight", "mapping_patch_0.3.bias", "mapping_patch_0.4.weight", "mapping_patch_0.4.bias", "mapping_patch_0.6.weight", "mapping_patch_0.6.bias", "mapping_1.0.weight", "mapping_1.0.bias", "mapping_1.1.weight", "mapping_1.1.bias", "mapping_1.3.weight", "mapping_1.3.bias", "mapping_1.4.weight", "mapping_1.4.bias", "mapping_1.6.weight", "mapping_1.6.bias", "mapping_patch_1.0.weight", "mapping_patch_1.0.bias", "mapping_patch_1.1.weight", "mapping_patch_1.1.bias", "mapping_patch_1.3.weight", "mapping_patch_1.3.bias", "mapping_patch_1.4.weight", "mapping_patch_1.4.bias", "mapping_patch_1.6.weight", "mapping_patch_1.6.bias", "mapping_2.0.weight", "mapping_2.0.bias", "mapping_2.1.weight", "mapping_2.1.bias", "mapping_2.3.weight", "mapping_2.3.bias", "mapping_2.4.weight", "mapping_2.4.bias", "mapping_2.6.weight", "mapping_2.6.bias", "mapping_patch_2.0.weight", "mapping_patch_2.0.bias", "mapping_patch_2.1.weight", "mapping_patch_2.1.bias", "mapping_patch_2.3.weight", "mapping_patch_2.3.bias", "mapping_patch_2.4.weight", "mapping_patch_2.4.bias", "mapping_patch_2.6.weight", "mapping_patch_2.6.bias", "mapping_3.0.weight", "mapping_3.0.bias", "mapping_3.1.weight", "mapping_3.1.bias", "mapping_3.3.weight", "mapping_3.3.bias", "mapping_3.4.weight", "mapping_3.4.bias", "mapping_3.6.weight", "mapping_3.6.bias", "mapping_patch_3.0.weight", "mapping_patch_3.0.bias", "mapping_patch_3.1.weight", "mapping_patch_3.1.bias", "mapping_patch_3.3.weight", "mapping_patch_3.3.bias", "mapping_patch_3.4.weight", "mapping_patch_3.4.bias", "mapping_patch_3.6.weight", "mapping_patch_3.6.bias", "mapping_4.0.weight", "mapping_4.0.bias", "mapping_4.1.weight", "mapping_4.1.bias", "mapping_4.3.weight", "mapping_4.3.bias", "mapping_4.4.weight", "mapping_4.4.bias", "mapping_4.6.weight", "mapping_4.6.bias", "mapping_patch_4.0.weight", "mapping_patch_4.0.bias", "mapping_patch_4.1.weight", "mapping_patch_4.1.bias", "mapping_patch_4.3.weight", "mapping_patch_4.3.bias", "mapping_patch_4.4.weight", "mapping_patch_4.4.bias", "mapping_patch_4.6.weight", "mapping_patch_4.6.bias". 

2024-11-02 12:49:11,507 - root - INFO - Prompt executed in 0.29 seconds

Attached Workflow

Please make sure that workflow does not contain any sensitive information such as API keys or passwords.

Workflow too large. Please manually upload the workflow from local file system.

Additional Context

(Please add any additional context or steps to reproduce the error here)



### Other

Tutorial : [https://docs.google.com/document/d/1Hjf1LwpEy2KVmKb0TU4cjkzIofdi6tCP7qI7Sr6NtZs/edit?pli=1&tab=t.0]
Workflow:
[241028_MICKMUMPITZ_CHARACTER_SHEET_2_v01_SDXL_SMPL.json](https://github.com/user-attachments/files/17606806/241028_MICKMUMPITZ_CHARACTER_SHEET_2_v01_SDXL_SMPL.json)
AgardnerAU commented 2 hours ago

Similar issue here: H:\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build [START] Security scan [DONE] Security scan

ComfyUI-Manager: installing dependencies done.

ComfyUI startup time: 2024-11-02 20:42:23.150366 Platform: Windows Python version: 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)] Python executable: H:\ComfyUI_windows_portable\python_embeded\python.exe ComfyUI Path: H:\ComfyUI_windows_portable\ComfyUI Log path: H:\ComfyUI_windows_portable\comfyui.log

Prestartup times for custom nodes: 0.0 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy 0.8 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager

Total VRAM 24564 MB, total RAM 98130 MB pytorch version: 2.4.1+cu124 Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync Using pytorch cross attention [Prompt Server] web root: H:\ComfyUI_windows_portable\ComfyUI\web H:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\kornia\feature\lightglue.py:44: FutureWarning: torch.cuda.amp.custom_fwd(args...) is deprecated. Please use torch.amp.custom_fwd(args..., device_type='cuda') instead. @torch.cuda.amp.custom_fwd(cast_inputs=torch.float32)

Loading: ComfyUI-Impact-Pack (V7.10.7)

Loading: ComfyUI-Impact-Pack (Subpack: V0.7)

[WARN] ComfyUI-Impact-Pack: custom_wildcards path not found: C:\Portable Apps\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\custom_wildcards. Using default path. [Impact Pack] Wildcards loading done. Total VRAM 24564 MB, total RAM 98130 MB pytorch version: 2.4.1+cu124 Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync

Loading: ComfyUI-Manager (V2.51.9)

ComfyUI Revision: 2753 [5f9d5a24] *DETACHED | Released on '2024-10-09'

[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json H:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\timm\models\layers__init.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers warnings.warn(f"Importing from {name__} is deprecated, please import via timm.layers", FutureWarning) Please 'pip install xformers' Nvidia APEX normalization not installed, using PyTorch LayerNorm [ReActor] - STATUS - Running v0.5.1-b2 in ComfyUI Torch version: 2.4.1+cu124 [comfyui_controlnet_aux] | INFO -> Using ckpts path: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts [comfyui_controlnet_aux] | INFO -> Using symlinks: False [comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider'] [comfy_mtb] | INFO -> loaded 86 nodes successfuly [comfy_mtb] | INFO -> Some nodes (2) could not be loaded. This can be ignored, but go to http://127.0.0.1:8188/mtb if you want more information. Please 'pip install xformers' Nvidia APEX normalization not installed, using PyTorch LayerNorm

[rgthree-comfy] Loaded 42 exciting nodes. 🎉

WAS Node Suite: OpenCV Python FFMPEG support is enabled WAS Node Suite Warning: ffmpeg_bin_path is not set in H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json config file. Will attempt to use system ffmpeg binaries if available. WAS Node Suite: Finished. Loaded 218 nodes successfully.

    "Your time is limited, don't waste it living someone else's life." - Steve Jobs

Import times for custom nodes: 0.0 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py 0.0 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\cg-use-everywhere 0.0 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus 0.0 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale 0.0 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy-image-saver 0.0 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\Derfuu_ComfyUI_ModdedNodes 0.0 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-GGUF 0.0 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet 0.0 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_essentials 0.0 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes 0.0 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy 0.0 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux 0.0 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\facerestore_cf 0.1 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\PuLID_ComfyUI 0.1 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack 0.1 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy_mtb 0.1 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-eesahesNodes 0.2 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node 0.2 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager 0.4 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Image-Filters 0.5 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-PuLID-Flux-Enhanced 0.6 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-AdvancedLivePortrait 0.9 seconds: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui

Starting server

To see the GUI go to: http://127.0.0.1:8188 FETCH DATA from: H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json [DONE] got prompt !!! Exception during processing !!! Traceback (most recent call last): File "H:\ComfyUI_windows_portable\ComfyUI\execution.py", line 323, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI_windows_portable\ComfyUI\execution.py", line 198, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "H:\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI_windows_portable\ComfyUI\custom_nodes\PuLID_ComfyUI\pulid.py", line 240, in load_insightface model = FaceAnalysis(name="antelopev2", root=INSIGHTFACE_DIR, providers=[provider + 'ExecutionProvider',]) # alternative to buffalo_l ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\insightface\app\face_analysis.py", line 43, in init assert 'detection' in self.models ^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError

Prompt executed in 0.01 seconds

umllog commented 2 hours ago

I think it could be a wrong Version of Comfy Ui