cubiq / ComfyUI_IPAdapter_plus

GNU General Public License v3.0
3.91k stars 293 forks source link

IPAdapterEmbeds Error(s) in loading state_dict for ImageProjModel: size mismatch for proj.weight: copying a param with shape torch.Size([3072, 1024]) from checkpoint, the shape in current model is torch.Size([3072, 1280]). #726

Open AdvertiserM opened 1 day ago

AdvertiserM commented 1 day ago

image

image

image

image

image

ComfyUI Error Report

Error Details

## System Information
- **ComfyUI Version:** v0.2.2-81-g3bb4dec
- **Arguments:** ComfyUI\main.py --windows-standalone-build
- **OS:** nt
- **Python Version:** 3.11.9 (tags/v3.11.9:de54cf5, Apr  2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]
- **Embedded Python:** true
- **PyTorch Version:** 2.4.1+cu124
## Devices

- **Name:** cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync
  - **Type:** cuda
  - **VRAM Total:** 25769279488
  - **VRAM Free:** 17067982952
  - **Torch VRAM Total:** 7784628224
  - **Torch VRAM Free:** 481607784

## Logs

2024-09-28 21:54:55,346 - root - INFO - Total VRAM 24576 MB, total RAM 32581 MB 2024-09-28 21:54:55,346 - root - INFO - pytorch version: 2.4.1+cu124 2024-09-28 21:54:55,347 - root - INFO - Set vram state to: NORMAL_VRAM 2024-09-28 21:54:55,347 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync 2024-09-28 21:54:56,227 - root - INFO - Using pytorch cross attention 2024-09-28 21:54:57,546 - root - INFO - [Prompt Server] web root: D:\comfy\ComfyUI_windows_portable\ComfyUI\web 2024-09-28 21:54:58,215 - root - INFO - Total VRAM 24576 MB, total RAM 32581 MB 2024-09-28 21:54:58,215 - root - INFO - pytorch version: 2.4.1+cu124 2024-09-28 21:54:58,215 - root - INFO - Set vram state to: NORMAL_VRAM 2024-09-28 21:54:58,216 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync 2024-09-28 21:54:58,501 - root - WARNING - Traceback (most recent call last): File "D:\comfy\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1998, in load_custom_node module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "D:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node__init__.py", line 23, in from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS File "D:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node\nodes.py", line 15, in from insightface.app.common import Face ModuleNotFoundError: No module named 'insightface'

2024-09-28 21:54:58,501 - root - WARNING - Cannot import D:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node module for custom nodes: No module named 'insightface' 2024-09-28 21:54:59,203 - numexpr.utils - INFO - Note: NumExpr detected 24 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 16. 2024-09-28 21:54:59,204 - numexpr.utils - INFO - NumExpr defaulting to 16 threads. 2024-09-28 21:54:59,602 - root - INFO - Import times for custom nodes: 2024-09-28 21:54:59,602 - root - INFO - 0.0 seconds: D:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py 2024-09-28 21:54:59,603 - root - INFO - 0.0 seconds: D:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Image-Selector 2024-09-28 21:54:59,603 - root - INFO - 0.0 seconds: D:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus 2024-09-28 21:54:59,603 - root - INFO - 0.0 seconds: D:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\mikey_nodes 2024-09-28 21:54:59,603 - root - INFO - 0.0 seconds (IMPORT FAILED): D:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node 2024-09-28 21:54:59,603 - root - INFO - 0.0 seconds: D:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet 2024-09-28 21:54:59,603 - root - INFO - 0.0 seconds: D:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\efficiency-nodes-comfyui 2024-09-28 21:54:59,603 - root - INFO - 0.0 seconds: D:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy 2024-09-28 21:54:59,603 - root - INFO - 0.0 seconds: D:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_essentials 2024-09-28 21:54:59,603 - root - INFO - 0.0 seconds: D:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux 2024-09-28 21:54:59,603 - root - INFO - 0.1 seconds: D:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes 2024-09-28 21:54:59,603 - root - INFO - 0.1 seconds: D:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite 2024-09-28 21:54:59,603 - root - INFO - 0.1 seconds: D:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-AnimateDiff-Evolved 2024-09-28 21:54:59,603 - root - INFO - 0.1 seconds: D:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\facerestore_cf 2024-09-28 21:54:59,604 - root - INFO - 0.1 seconds: D:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Documents 2024-09-28 21:54:59,604 - root - INFO - 0.2 seconds: D:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager 2024-09-28 21:54:59,604 - root - INFO - 0.3 seconds: D:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_FizzNodes 2024-09-28 21:54:59,604 - root - INFO - 0.6 seconds: D:\comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-tbox 2024-09-28 21:54:59,604 - root - INFO - 2024-09-28 21:54:59,610 - root - INFO - Starting server

rocky commented 22 hours ago

I think this will help you. This might help:This file might fix it

SagarChandra07 who is now listed as a ghost user seems to have posted this in several other github repositories. In mine, I've hidden the comment which you might want to do the same (or delete) here and with this comment.