cubiq / PuLID_ComfyUI

PuLID native implementation for ComfyUI
Apache License 2.0
581 stars 36 forks source link

InstantID面部分析错误 #74

Open xinanlidee opened 4 days ago

xinanlidee commented 4 days ago

ComfyUI Error Report

Error Details

## System Information
- **ComfyUI Version:** v0.2.2-76-gbdd4a22
- **Arguments:** main.py --port=6006
- **OS:** posix
- **Python Version:** 3.10.14 (main, May  6 2024, 19:42:50) [GCC 11.2.0]
- **Embedded Python:** false
- **PyTorch Version:** 2.4.1+cu121
## Devices

- **Name:** cuda:0 NVIDIA GeForce RTX 4090 D : cudaMallocAsync
  - **Type:** cuda
  - **VRAM Total:** 25386352640
  - **VRAM Free:** 24867766272
  - **Torch VRAM Total:** 67108864
  - **Torch VRAM Free:** 33554432

## Logs

2024-09-25 14:02:48,512 - root - INFO - Total VRAM 24210 MB, total RAM 773288 MB 2024-09-25 14:02:48,512 - root - INFO - pytorch version: 2.4.1+cu121 2024-09-25 14:02:48,515 - xformers - WARNING - WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for: PyTorch 2.3.1+cu121 with CUDA 1201 (you have 2.4.1+cu121) Python 3.10.14 (you have 3.10.14) Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers) Memory-efficient attention, SwiGLU, sparse and more won't be available. Set XFORMERS_MORE_DETAILS=1 for more details 2024-09-25 14:02:49,817 - root - INFO - xformers version: 0.0.27 2024-09-25 14:02:49,817 - root - INFO - Set vram state to: NORMAL_VRAM 2024-09-25 14:02:49,817 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4090 D : cudaMallocAsync 2024-09-25 14:02:49,995 - root - INFO - Using pytorch cross attention 2024-09-25 14:02:50,627 - root - INFO - [Prompt Server] web root: /root/autodl-tmp/ComfyUI/web 2024-09-25 14:02:50,868 - root - WARNING - Traceback (most recent call last): File "/root/autodl-tmp/ComfyUI/nodes.py", line 1998, in load_custom_node module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/root/autodl-tmp/ComfyUI/comfy_extras/nodes_audio.py", line 1, in import torchaudio File "/root/miniconda3/lib/python3.10/site-packages/torchaudio/init.py", line 2, in from . import _extension # noqa # usort: skip File "/root/miniconda3/lib/python3.10/site-packages/torchaudio/_extension/init.py", line 38, in _load_lib("libtorchaudio") File "/root/miniconda3/lib/python3.10/site-packages/torchaudio/_extension/utils.py", line 60, in _load_lib torch.ops.load_library(path) File "/root/miniconda3/lib/python3.10/site-packages/torch/_ops.py", line 1295, in load_library ctypes.CDLL(path) File "/root/miniconda3/lib/python3.10/ctypes/init.py", line 374, in init self._handle = _dlopen(self._name, mode) OSError: /root/miniconda3/lib/python3.10/site-packages/torchaudio/lib/libtorchaudio.so: undefined symbol: _ZN3c1010Dispatcher17runRecordFunctionERN2at14RecordFunctionESt17reference_wrapperIKNS_14FunctionSchemaEENS_11DispatchKeyE

2024-09-25 14:02:50,869 - root - WARNING - Cannot import /root/autodl-tmp/ComfyUI/comfy_extras/nodes_audio.py module for custom nodes: /root/miniconda3/lib/python3.10/site-packages/torchaudio/lib/libtorchaudio.so: undefined symbol: _ZN3c1010Dispatcher17runRecordFunctionERN2at14RecordFunctionESt17reference_wrapperIKNS_14FunctionSchemaEENS_11DispatchKeyE 2024-09-25 14:02:50,901 - root - INFO - Total VRAM 24210 MB, total RAM 773288 MB 2024-09-25 14:02:50,901 - root - INFO - pytorch version: 2.4.1+cu121 2024-09-25 14:02:50,901 - root - INFO - xformers version: 0.0.27 2024-09-25 14:02:50,902 - root - INFO - Set vram state to: NORMAL_VRAM 2024-09-25 14:02:50,902 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4090 D : cudaMallocAsync 2024-09-25 14:02:54,481 - root - WARNING - Traceback (most recent call last): File "/root/autodl-tmp/ComfyUI/nodes.py", line 1998, in load_custom_node module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-PuLID-ZHO/init.py", line 1, in from . import PuLID File "/root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-PuLID-ZHO/PuLID.py", line 9, in from pulid.pipeline import PuLIDPipeline File "/root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-PuLID-ZHO/pulid/pipeline.py", line 7, in from basicsr.utils import img2tensor, tensor2img ModuleNotFoundError: No module named 'basicsr'

2024-09-25 14:02:54,481 - root - WARNING - Cannot import /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-PuLID-ZHO module for custom nodes: No module named 'basicsr' 2024-09-25 14:02:55,896 - root - INFO - Import times for custom nodes: 2024-09-25 14:02:55,896 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/websocket_image_save.py 2024-09-25 14:02:55,896 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/AIGODLIKE-COMFYUI-TRANSLATION 2024-09-25 14:02:55,896 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-mxToolkit 2024-09-25 14:02:55,896 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/cg-use-everywhere 2024-09-25 14:02:55,896 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-WD14-Tagger 2024-09-25 14:02:55,896 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI_TGate 2024-09-25 14:02:55,896 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-AutomaticCFG 2024-09-25 14:02:55,896 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus 2024-09-25 14:02:55,897 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-eesahesNodes 2024-09-25 14:02:55,897 - root - INFO - 0.0 seconds (IMPORT FAILED): /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-PuLID-ZHO 2024-09-25 14:02:55,897 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-Chibi-Nodes 2024-09-25 14:02:55,897 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-Custom-Scripts 2024-09-25 14:02:55,897 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI_essentials 2024-09-25 14:02:55,897 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/comfyui-various 2024-09-25 14:02:55,897 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyMath 2024-09-25 14:02:55,897 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/Derfuu_ComfyUI_ModdedNodes 2024-09-25 14:02:55,897 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI_UltimateSDUpscale 2024-09-25 14:02:55,897 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-KJNodes 2024-09-25 14:02:55,897 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-Advanced-ControlNet 2024-09-25 14:02:55,897 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-IC-Light 2024-09-25 14:02:55,897 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/x-flux-comfyui 2024-09-25 14:02:55,897 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/comfyui_controlnet_aux 2024-09-25 14:02:55,897 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-ToolBox 2024-09-25 14:02:55,897 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-AnimateDiff 2024-09-25 14:02:55,897 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-AdvancedLivePortrait 2024-09-25 14:02:55,897 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI_FaceAnalysis 2024-09-25 14:02:55,897 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/rgthree-comfy 2024-09-25 14:02:55,897 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/comfyui-reactor-node 2024-09-25 14:02:55,897 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-Manager 2024-09-25 14:02:55,897 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-VideoHelperSuite 2024-09-25 14:02:55,897 - root - INFO - 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI_Comfyroll_CustomNodes 2024-09-25 14:02:55,897 - root - INFO - 0.1 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-Crystools 2024-09-25 14:02:55,897 - root - INFO - 0.1 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-Long-CLIP 2024-09-25 14:02:55,897 - root - INFO - 0.1 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/comfyui-art-venture 2024-09-25 14:02:55,897 - root - INFO - 0.1 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-Easy-Use 2024-09-25 14:02:55,897 - root - INFO - 0.4 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/PuLID_ComfyUI 2024-09-25 14:02:55,897 - root - INFO - 0.5 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-Impact-Pack 2024-09-25 14:02:55,897 - root - INFO - 0.6 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-FluxTrainer 2024-09-25 14:02:55,897 - root - INFO - 0.7 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/eden_comfy_pipelines 2024-09-25 14:02:55,898 - root - INFO - 1.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI_InstantID 2024-09-25 14:02:55,898 - root - INFO - 1.1 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/was-node-suite-comfyui 2024-09-25 14:02:55,898 - root - INFO - 2024-09-25 14:02:55,898 - root - WARNING - WARNING: some comfy_extras/ nodes did not import correctly. This may be because they are missing some dependencies.

2024-09-25 14:02:55,898 - root - WARNING - IMPORT FAILED: nodes_audio.py 2024-09-25 14:02:55,898 - root - WARNING - This issue might be caused by new missing dependencies added the last time you updated ComfyUI. 2024-09-25 14:02:55,898 - root - WARNING - Please do a: pip install -r requirements.txt 2024-09-25 14:02:55,898 - root - WARNING - 2024-09-25 14:02:55,913 - root - INFO - Starting server

2024-09-25 14:02:55,913 - root - INFO - To see the GUI go to: http://127.0.0.1:6006 2024-09-25 14:03:34,189 - root - INFO - got prompt 2024-09-25 14:03:42,972 - root - INFO - Using pytorch attention in VAE 2024-09-25 14:03:42,977 - root - INFO - Using pytorch attention in VAE 2024-09-25 14:06:06,409 - root - WARNING - clip missing: ['text_projection.weight'] 2024-09-25 14:06:07,082 - root - ERROR - !!! Exception during processing !!! 2024-09-25 14:06:07,083 - root - ERROR - Traceback (most recent call last): File "/root/autodl-tmp/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 "/root/autodl-tmp/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 "/root/autodl-tmp/ComfyUI/execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "/root/autodl-tmp/ComfyUI/execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "/root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI_InstantID/InstantID.py", line 217, in load_insight_face model = FaceAnalysis(name="antelopev2", root=INSIGHTFACE_DIR, providers=[provider + 'ExecutionProvider',]) # alternative to buffalo_l File "/root/miniconda3/lib/python3.10/site-packages/insightface/app/face_analysis.py", line 43, in init assert 'detection' in self.models AssertionError

2024-09-25 14:06:07,083 - root - INFO - Prompt executed in 152.89 seconds 2024-09-25 14:08:41,879 - root - INFO - got prompt 2024-09-25 14:08:41,898 - root - ERROR - !!! Exception during processing !!! 2024-09-25 14:08:41,898 - root - ERROR - Traceback (most recent call last): File "/root/autodl-tmp/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 "/root/autodl-tmp/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 "/root/autodl-tmp/ComfyUI/execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "/root/autodl-tmp/ComfyUI/execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "/root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI_InstantID/InstantID.py", line 217, in load_insight_face model = FaceAnalysis(name="antelopev2", root=INSIGHTFACE_DIR, providers=[provider + 'ExecutionProvider',]) # alternative to buffalo_l File "/root/miniconda3/lib/python3.10/site-packages/insightface/app/face_analysis.py", line 43, in init assert 'detection' in self.models AssertionError

2024-09-25 14:08:41,899 - root - INFO - Prompt executed in 0.01 seconds 2024-09-25 14:11:25,160 - root - INFO - got prompt 2024-09-25 14:11:56,347 - root - INFO - model weight dtype torch.float16, manual cast: None 2024-09-25 14:11:56,348 - root - INFO - model_type EPS 2024-09-25 14:12:02,780 - root - INFO - Using pytorch attention in VAE 2024-09-25 14:12:02,781 - root - INFO - Using pytorch attention in VAE 2024-09-25 14:12:05,249 - root - INFO - Requested to load SD1ClipModel 2024-09-25 14:12:05,249 - root - INFO - Loading 1 new model 2024-09-25 14:12:05,312 - root - INFO - loaded completely 0.0 235.84423828125 True 2024-09-25 14:12:05,446 - root - ERROR - !!! Exception during processing !!! 2024-09-25 14:12:05,447 - root - ERROR - Traceback (most recent call last): File "/root/autodl-tmp/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 "/root/autodl-tmp/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 "/root/autodl-tmp/ComfyUI/execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "/root/autodl-tmp/ComfyUI/execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "/root/autodl-tmp/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 "/root/miniconda3/lib/python3.10/site-packages/insightface/app/face_analysis.py", line 43, in init assert 'detection' in self.models AssertionError

2024-09-25 14:12:05,447 - root - INFO - Prompt executed in 40.28 seconds 2024-09-25 14:12:12,516 - root - INFO - got prompt 2024-09-25 14:12:12,529 - root - ERROR - !!! Exception during processing !!! 2024-09-25 14:12:12,530 - root - ERROR - Traceback (most recent call last): File "/root/autodl-tmp/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 "/root/autodl-tmp/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 "/root/autodl-tmp/ComfyUI/execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "/root/autodl-tmp/ComfyUI/execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "/root/autodl-tmp/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 "/root/miniconda3/lib/python3.10/site-packages/insightface/app/face_analysis.py", line 43, in init assert 'detection' in self.models AssertionError

2024-09-25 14:12:12,530 - root - INFO - Prompt executed in 0.01 seconds 2024-09-25 14:12:19,786 - root - INFO - got prompt 2024-09-25 14:12:19,800 - root - ERROR - !!! Exception during processing !!! 2024-09-25 14:12:19,800 - root - ERROR - Traceback (most recent call last): File "/root/autodl-tmp/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 "/root/autodl-tmp/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 "/root/autodl-tmp/ComfyUI/execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "/root/autodl-tmp/ComfyUI/execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "/root/autodl-tmp/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 "/root/miniconda3/lib/python3.10/site-packages/insightface/app/face_analysis.py", line 43, in init assert 'detection' in self.models AssertionError

2024-09-25 14:12:19,800 - root - INFO - Prompt executed in 0.01 seconds 2024-09-25 14:14:06,781 - root - INFO - got prompt 2024-09-25 14:14:06,793 - root - ERROR - !!! Exception during processing !!! 2024-09-25 14:14:06,794 - root - ERROR - Traceback (most recent call last): File "/root/autodl-tmp/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 "/root/autodl-tmp/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 "/root/autodl-tmp/ComfyUI/execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "/root/autodl-tmp/ComfyUI/execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "/root/autodl-tmp/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 "/root/miniconda3/lib/python3.10/site-packages/insightface/app/face_analysis.py", line 43, in init assert 'detection' in self.models AssertionError

2024-09-25 14:14:06,794 - root - INFO - Prompt executed in 0.01 seconds 2024-09-25 14:15:35,041 - root - INFO - got prompt 2024-09-25 14:15:35,044 - root - ERROR - Failed to validate prompt for output 10: 2024-09-25 14:15:35,044 - root - ERROR - * LoadImage 12: 2024-09-25 14:15:35,044 - root - ERROR - - Custom validation failed for node: image - Invalid image file: monalisa.png 2024-09-25 14:15:35,044 - root - ERROR - Output will be ignored 2024-09-25 14:15:35,044 - root - WARNING - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}} 2024-09-25 14:15:44,410 - root - INFO - got prompt 2024-09-25 14:15:57,433 - root - ERROR - !!! Exception during processing !!! ERROR: Could not detect model type of: /root/autodl-tmp/ComfyUI/models/checkpoints/flux1-dev_unet.safetensors 2024-09-25 14:15:57,433 - root - ERROR - Traceback (most recent call last): File "/root/autodl-tmp/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 "/root/autodl-tmp/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 "/root/autodl-tmp/ComfyUI/execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "/root/autodl-tmp/ComfyUI/execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "/root/autodl-tmp/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 "/root/autodl-tmp/ComfyUI/comfy/sd.py", line 525, in load_checkpoint_guess_config raise RuntimeError("ERROR: Could not detect model type of: {}".format(ckpt_path)) RuntimeError: ERROR: Could not detect model type of: /root/autodl-tmp/ComfyUI/models/checkpoints/flux1-dev_unet.safetensors

2024-09-25 14:15:57,434 - root - INFO - Prompt executed in 13.02 seconds 2024-09-25 14:24:23,239 - root - INFO - got prompt 2024-09-25 14:24:23,267 - root - INFO - Using pytorch attention in VAE 2024-09-25 14:24:23,268 - root - INFO - Using pytorch attention in VAE 2024-09-25 14:24:24,125 - root - WARNING - clip missing: ['text_projection.weight'] 2024-09-25 14:24:24,981 - root - ERROR - !!! Exception during processing !!! 2024-09-25 14:24:24,982 - root - ERROR - Traceback (most recent call last): File "/root/autodl-tmp/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 "/root/autodl-tmp/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 "/root/autodl-tmp/ComfyUI/execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "/root/autodl-tmp/ComfyUI/execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "/root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI_InstantID/InstantID.py", line 217, in load_insight_face model = FaceAnalysis(name="antelopev2", root=INSIGHTFACE_DIR, providers=[provider + 'ExecutionProvider',]) # alternative to buffalo_l File "/root/miniconda3/lib/python3.10/site-packages/insightface/app/face_analysis.py", line 43, in init assert 'detection' in self.models AssertionError

2024-09-25 14:24:24,982 - root - INFO - Prompt executed in 1.74 seconds

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

{"last_node_id":63,"last_link_id":122,"nodes":[{"id":29,"type":"ImageCrop","pos":{"0":-82,"1":-347},"size":{"0":315,"1":130},"flags":{},"order":10,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":55,"slot_index":0,"label":"图像"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[],"slot_index":0,"shape":3,"label":"图像"}],"properties":{"Node name for S&R":"ImageCrop"},"widgets_values":[1024,512,4,4]},{"id":7,"type":"VAEDecode","pos":{"0":1247,"1":-8},"size":{"0":210,"1":46},"flags":{},"order":18,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":6,"slot_index":0,"label":"Latent"},{"name":"vae","type":"VAE","link":59,"label":"VAE"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[76],"slot_index":0,"shape":3,"label":"图像"}],"properties":{"Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":6,"type":"EmptyLatentImage","pos":{"0":578,"1":250},"size":{"0":210,"1":106.85517120361328},"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"LATENT","type":"LATENT","links":[75],"slot_index":0,"shape":3,"label":"Latent"}],"properties":{"Node name for S&R":"EmptyLatentImage"},"widgets_values":[1024,1024,1]},{"id":36,"type":"PreviewImage","pos":{"0":1510,"1":-316},"size":{"0":865.8053588867188,"1":863.5560913085938},"flags":{},"order":19,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":76,"slot_index":0,"label":"图像"}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":4,"type":"DualCLIPLoader","pos":{"0":-82,"1":54},"size":{"0":315,"1":106},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"CLIP","type":"CLIP","links":[81],"slot_index":0,"shape":3,"label":"CLIP"}],"properties":{"Node name for S&R":"DualCLIPLoader"},"widgets_values":["t5xxl_fp16.safetensors","clip_l.safetensors","flux"]},{"id":32,"type":"LoadFluxIPAdapter","pos":{"0":-82,"1":204},"size":{"0":315,"1":106},"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"ipadapterFlux","type":"IP_ADAPTER_FLUX","links":[65],"slot_index":0,"shape":3,"label":"IPAdapter_Flux"}],"properties":{"Node name for S&R":"LoadFluxIPAdapter"},"widgets_values":["flux-ip-adapter.safetensors","model.safetensors","GPU"]},{"id":33,"type":"ImageScale","pos":{"0":-80,"1":-148},"size":{"0":315,"1":130},"flags":{},"order":11,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":72,"slot_index":0,"label":"图像"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[73],"slot_index":0,"shape":3,"label":"图像"}],"properties":{"Node name for S&R":"ImageScale"},"widgets_values":["nearest-exact",1024,1024,"disabled"]},{"id":8,"type":"VAELoader","pos":{"0":910,"1":-117},"size":{"0":234.66934204101562,"1":58},"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[{"name":"VAE","type":"VAE","links":[59],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"VAELoader"},"widgets_values":["ae.safetensors"]},{"id":3,"type":"XlabsSampler","pos":{"0":863,"1":-10},"size":{"0":342.5999755859375,"1":494},"flags":{},"order":17,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":118,"slot_index":0,"label":"模型"},{"name":"conditioning","type":"CONDITIONING","link":117,"label":"正面条件"},{"name":"neg_conditioning","type":"CONDITIONING","link":116,"label":"负面条件"},{"name":"latent_image","type":"LATENT","link":75,"label":"Latent"},{"name":"controlnet_condition","type":"ControlNetCondition","link":null,"label":"ControlNet条件"}],"outputs":[{"name":"latent","type":"LATENT","links":[6],"shape":3,"label":"Latent"}],"properties":{"Node name for S&R":"XlabsSampler"},"widgets_values":[458840802273876,"randomize",35,1,3.5,0,1]},{"id":53,"type":"PulidEvaClipLoader","pos":{"0":-996,"1":794},"size":{"0":210,"1":26},"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[{"name":"EVA_CLIP","type":"EVA_CLIP","links":[108],"slot_index":0,"shape":3,"label":"EVA_CLIP"}],"properties":{"Node name for S&R":"PulidEvaClipLoader"},"widgets_values":[]},{"id":19,"type":"CLIPTextEncodeFlux","pos":{"0":351,"1":-96},"size":{"0":400,"1":200},"flags":{},"order":16,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":88,"slot_index":0,"label":"CLIP"}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[116],"slot_index":0,"shape":3,"label":"条件"}],"properties":{"Node name for S&R":"CLIPTextEncodeFlux"},"widgets_values":["","",3.5]},{"id":5,"type":"CLIPTextEncodeFlux","pos":{"0":355,"1":-349},"size":{"0":400,"1":200},"flags":{},"order":15,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":87,"slot_index":0,"label":"CLIP"}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[117],"slot_index":0,"shape":3,"label":"条件"}],"properties":{"Node name for S&R":"CLIPTextEncodeFlux"},"widgets_values":["1woman is laughing","",3.5]},{"id":27,"type":"ApplyFluxIPAdapter","pos":{"0":359,"1":188},"size":{"0":210,"1":98},"flags":{},"order":14,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":80,"slot_index":0,"label":"模型"},{"name":"ip_adapter_flux","type":"IP_ADAPTER_FLUX","link":65,"label":"IPAdapter_Flux"},{"name":"image","type":"IMAGE","link":73,"slot_index":2,"label":"图像"}],"outputs":[{"name":"MODEL","type":"MODEL","links":[118],"slot_index":0,"shape":3,"label":"模型"}],"properties":{"Node name for S&R":"ApplyFluxIPAdapter"},"widgets_values":[0.92]},{"id":51,"type":"PulidModelLoader","pos":{"0":-1069,"1":562},"size":{"0":315,"1":58},"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[{"name":"PULID","type":"PULID","links":[114],"slot_index":0,"shape":3,"label":"PuLID"}],"properties":{"Node name for S&R":"PulidModelLoader"},"widgets_values":["flux-ip-adapter.safetensors"]},{"id":16,"type":"LoadImage","pos":{"0":-883,"1":-215},"size":{"0":423.29718017578125,"1":430.6814880371094},"flags":{},"order":6,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[55,72,115],"slot_index":0,"shape":3,"label":"图像"},{"name":"MASK","type":"MASK","links":null,"shape":3,"label":"遮罩"}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["ComfyUI_temp_aieyh00001.png","image"]},{"id":39,"type":"Power Lora Loader (rgthree)","pos":{"0":-73,"1":379},"size":{"0":310.269287109375,"1":286},"flags":{},"order":13,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":110,"label":"模型","dir":3},{"name":"clip","type":"CLIP","link":81,"label":"CLIP","dir":3}],"outputs":[{"name":"MODEL","type":"MODEL","links":[80],"slot_index":0,"shape":3,"label":"模型","dir":4},{"name":"CLIP","type":"CLIP","links":[87,88],"slot_index":1,"shape":3,"label":"CLIP","dir":4}],"properties":{"Show Strengths":"Single Strength"},"widgets_values":[null,{"type":"PowerLoraLoaderHeaderWidget"},{"on":false,"lora":"F.1-汉服人像艺术-国风-氛围感-liangyi_尝鲜版.safetensors","strength":1,"strengthTwo":null},{"on":false,"lora":"Flux_小红书真实风格丨日常照片丨极致逼真_V1.safetensors","strength":0.8,"strengthTwo":null},{"on":false,"lora":"date_flux.safetensors","strength":0.8,"strengthTwo":null},{"on":false,"lora":"flux-oversized.safetensors","strength":1,"strengthTwo":null},{"on":false,"lora":"flux_realism_lora.safetensors","strength":1,"strengthTwo":null},{"on":false,"lora":"NSFW_master.safetensors","strength":1,"strengthTwo":null},{"on":false,"lora":"angelababy_Flux_1.safetensors","strength":1,"strengthTwo":null},null,""]},{"id":55,"type":"ApplyPulid","pos":{"0":-470,"1":493},"size":{"0":315,"1":230},"flags":{},"order":12,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":109,"label":"模型"},{"name":"pulid","type":"PULID","link":114,"label":"PuLID"},{"name":"eva_clip","type":"EVA_CLIP","link":108,"label":"EVA_CLIP"},{"name":"face_analysis","type":"FACEANALYSIS","link":122,"label":"面部分析模型"},{"name":"image","type":"IMAGE","link":115,"label":"图像"},{"name":"attn_mask","type":"MASK","link":null,"label":"关注层遮罩"}],"outputs":[{"name":"MODEL","type":"MODEL","links":[110],"slot_index":0,"shape":3,"label":"模型"}],"properties":{"Node name for S&R":"ApplyPulid"},"widgets_values":["fidelity",1,0,1]},{"id":61,"type":"PulidInsightFaceLoader","pos":{"0":-1062,"1":673},"size":{"0":315,"1":58},"flags":{"collapsed":false},"order":7,"mode":0,"inputs":[],"outputs":[{"name":"FACEANALYSIS","type":"FACEANALYSIS","links":[],"shape":3,"label":"面部分析模型"}],"properties":{"Node name for S&R":"PulidInsightFaceLoader"},"widgets_values":["CUDA"]},{"id":10,"type":"UNETLoader","pos":{"0":-1068,"1":425},"size":{"0":315,"1":82},"flags":{},"order":8,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[109],"slot_index":0,"shape":3,"label":"模型"}],"properties":{"Node name for S&R":"UNETLoader"},"widgets_values":["flux1-dev_unet.safetensors","fp8_e4m3fn"]},{"id":63,"type":"InstantIDFaceAnalysis","pos":{"0":-939,"1":975},"size":{"0":315,"1":58},"flags":{},"order":9,"mode":0,"inputs":[],"outputs":[{"name":"FACEANALYSIS","type":"FACEANALYSIS","links":[122],"slot_index":0,"shape":3,"label":"面部分析"}],"properties":{"Node name for S&R":"InstantIDFaceAnalysis"},"widgets_values":["CUDA"]}],"links":[[6,3,0,7,0,"LATENT"],[55,16,0,29,0,"IMAGE"],[59,8,0,7,1,"VAE"],[65,32,0,27,1,"IP_ADAPTER_FLUX"],[72,16,0,33,0,"IMAGE"],[73,33,0,27,2,"IMAGE"],[75,6,0,3,3,"LATENT"],[76,7,0,36,0,"IMAGE"],[80,39,0,27,0,"MODEL"],[81,4,0,39,1,"CLIP"],[87,39,1,5,0,"CLIP"],[88,39,1,19,0,"CLIP"],[108,53,0,55,2,"EVA_CLIP"],[109,10,0,55,0,"MODEL"],[110,55,0,39,0,"MODEL"],[114,51,0,55,1,"PULID"],[115,16,0,55,4,"IMAGE"],[116,19,0,3,2,"CONDITIONING"],[117,5,0,3,1,"CONDITIONING"],[118,27,0,3,0,"MODEL"],[122,63,0,55,3,"FACEANALYSIS"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.6934334949441519,"offset":[1820.69244596851,154.95996293554515]}},"version":0.4}



## Additional Context
(Please add any additional context or steps to reproduce the error here)
purpen commented 4 days ago

insightface模型如果自动下载的,检查一下目录结构,中间多了嵌套了一个antelopev2, 删掉一个即可。

xinanlidee commented 3 days ago

insightface模型如果自动下载的,检查一下目录结构,中间多了嵌套了一个antelopev2, 删掉一个即可。

正解,已解决,感谢你~