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
58.64k stars 6.22k forks source link

PulidFluxInsightFaceLoader #5604

Closed jostoz closed 2 weeks ago

jostoz commented 2 weeks ago

Expected Behavior

Run the flow

Actual Behavior

error issue

Steps to Reproduce

load flow run model

Debug Logs

# ComfyUI Error Report
## Error Details
- **Node Type:** PulidFluxInsightFaceLoader
- **Exception Type:** AssertionError
- **Exception Message:** 
## Stack Trace

  File "C:\pinokio\api\comfy.git\app\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:\pinokio\api\comfy.git\app\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:\pinokio\api\comfy.git\app\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)

  File "C:\pinokio\api\comfy.git\app\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))

  File "C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-PuLID-Flux-Enhanced\pulidflux.py", line 223, in load_insightface
    model = FaceAnalysis(name="antelopev2", root=INSIGHTFACE_DIR, providers=[provider + 'ExecutionProvider',]) # alternative to buffalo_l

  File "C:\pinokio\api\comfy.git\app\env\lib\site-packages\insightface\app\face_analysis.py", line 43, in __init__
    assert 'detection' in self.models

System Information

Logs

2024-11-13T02:04:27.958794 -  2024-11-13T02:04:27.958794 - C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Easy-Use2024-11-13T02:04:27.958794 - 
2024-11-13T02:04:27.958794 -    1.3 seconds:2024-11-13T02:04:27.958794 -  2024-11-13T02:04:27.958794 - C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Manager2024-11-13T02:04:27.958794 - 
2024-11-13T02:04:27.958794 - 
2024-11-13T02:04:29.564979 - Total VRAM 24564 MB, total RAM 32509 MB
2024-11-13T02:04:29.564979 - pytorch version: 2.5.1+cu121
2024-11-13T02:04:29.565520 - Set vram state to: NORMAL_VRAM
2024-11-13T02:04:29.565520 - Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
2024-11-13T02:04:30.572366 - Using pytorch cross attention
2024-11-13T02:04:32.075406 - [Prompt Server] web root: C:\pinokio\api\comfy.git\app\web
2024-11-13T02:04:32.725379 - Error:
[WinError 1314] A required privilege is not held by the client: 'C:\\pinokio\\api\\comfy.git\\app\\custom_nodes\\ComfyLiterals\\js' -> 'C:\\pinokio\\api\\comfy.git\\app\\web\\extensions\\ComfyLiterals'
Failed to create symlink to C:\pinokio\api\comfy.git\app\web\extensions\ComfyLiterals. Please copy the folder manually.
Source: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyLiterals\js
Target: C:\pinokio\api\comfy.git\app\web\extensions\ComfyLiterals2024-11-13T02:04:32.725379 - 
2024-11-13T02:04:33.229549 - [D00MYsNodes] - INFO - Loading D00MYs nodes: Images_Converter|D00MYs
Show_Text|D00MYs
Strings_From_List|D00MYs
Save_Text|D00MYs
Save_Images|D00MYs
Random_Images|D00MYs
Load_Images_From_Paths|D00MYs
JSPaint|D00MYs
2024-11-13T02:04:33.229549 - [D00MYsNodes] - INFO - Installing JSPAINT
2024-11-13T02:04:34.775999 - [ComfyUI-Easy-Use] server: v1.2.5 Loaded2024-11-13T02:04:34.775999 - 
2024-11-13T02:04:34.776322 - [ComfyUI-Easy-Use] web root: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Easy-Use\web_version/v2 Loaded2024-11-13T02:04:34.776322 - 
2024-11-13T02:04:34.792361 - ### Loading: ComfyUI-Impact-Pack (V7.11.3)2024-11-13T02:04:34.793362 - 
2024-11-13T02:04:34.829147 - ### Loading: ComfyUI-Impact-Pack (Subpack: V0.8)2024-11-13T02:04:34.829147 - 
2024-11-13T02:04:34.850494 - [Impact Pack] Wildcards loading done.2024-11-13T02:04:34.851495 - 
2024-11-13T02:04:34.861782 - Total VRAM 24564 MB, total RAM 32509 MB
2024-11-13T02:04:34.862782 - pytorch version: 2.5.1+cu121
2024-11-13T02:04:34.862782 - Set vram state to: NORMAL_VRAM
2024-11-13T02:04:34.862782 - Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
2024-11-13T02:04:34.879563 - theUpsiders Logic Nodes: Loaded2024-11-13T02:04:34.879563 - 
2024-11-13T02:04:34.881563 - ### Loading: ComfyUI-Manager (V2.51.9)2024-11-13T02:04:34.881563 - 
2024-11-13T02:04:34.953550 - ### ComfyUI Revision: 2820 [bdeb1c17] | Released on '2024-11-10'2024-11-13T02:04:34.953550 - 
2024-11-13T02:04:35.526993 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json2024-11-13T02:04:35.526993 - 
2024-11-13T02:04:35.562944 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json2024-11-13T02:04:35.564469 - 
2024-11-13T02:04:35.570350 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json2024-11-13T02:04:35.570350 - 
2024-11-13T02:04:35.613457 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json2024-11-13T02:04:35.613457 - 
2024-11-13T02:04:35.662704 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json2024-11-13T02:04:35.662704 - 
2024-11-13T02:04:35.666961 - --------------
2024-11-13T02:04:35.666961 -  ### Mixlab Nodes: Loaded
2024-11-13T02:04:35.672935 - json_repair## OK2024-11-13T02:04:35.672935 - 
2024-11-13T02:04:35.675501 - ChatGPT.available True
2024-11-13T02:04:35.676396 - edit_mask.available True
2024-11-13T02:04:35.951749 - ## clip_interrogator_model not found: C:\pinokio\api\comfy.git\app\models\clip_interrogator\Salesforce\blip-image-captioning-base, pls download from https://huggingface.co/Salesforce/blip-image-captioning-base2024-11-13T02:04:35.951749 - 
2024-11-13T02:04:35.951749 - ClipInterrogator.available True
2024-11-13T02:04:36.375455 - ## text_generator_model not found: C:\pinokio\api\comfy.git\app\models\prompt_generator\text2image-prompt-generator, pls download from https://huggingface.co/succinctly/text2image-prompt-generator/tree/main2024-11-13T02:04:36.375455 - 
2024-11-13T02:04:36.375455 - ## zh_en_model not found: C:\pinokio\api\comfy.git\app\models\prompt_generator\opus-mt-zh-en, pls download from https://huggingface.co/Helsinki-NLP/opus-mt-zh-en/tree/main2024-11-13T02:04:36.375455 - 
2024-11-13T02:04:36.376207 - PromptGenerate.available True
2024-11-13T02:04:36.376207 - ChinesePrompt.available True
2024-11-13T02:04:36.376207 - RembgNode_.available False
2024-11-13T02:04:36.722340 - TripoSR.available
2024-11-13T02:04:36.722340 - MiniCPMNode.available
2024-11-13T02:04:36.752711 - Scenedetect.available
2024-11-13T02:04:36.756476 - FishSpeech.available False
2024-11-13T02:04:36.762598 - SenseVoice.available
2024-11-13T02:04:36.922643 - Whisper.available False
2024-11-13T02:04:36.923648 - fal-client## OK2024-11-13T02:04:36.923648 - 
2024-11-13T02:04:36.932208 - FalVideo.available
2024-11-13T02:04:36.932208 -  -------------- 
2024-11-13T02:04:45.540715 - C:\pinokio\api\comfy.git\app\env\lib\site-packages\albumentations\__init__.py:13: UserWarning: A new version of Albumentations is available: 1.4.21 (you have 1.4.15). Upgrade using: pip install -U albumentations. To disable automatic update checks, set the environment variable NO_ALBUMENTATIONS_UPDATE to 1.
  check_for_updates()
2024-11-13T02:04:45.601871 - C:\pinokio\api\comfy.git\app\env\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)
2024-11-13T02:04:45.605387 - Please 'pip install xformers'2024-11-13T02:04:45.605387 - 
2024-11-13T02:04:45.607391 - Nvidia APEX normalization not installed, using PyTorch LayerNorm2024-11-13T02:04:45.607391 - 
2024-11-13T02:04:45.773390 - C:\pinokio\api\comfy.git\app2024-11-13T02:04:45.773390 - 
2024-11-13T02:04:45.774893 - ############################################2024-11-13T02:04:45.774893 - 
2024-11-13T02:04:45.774893 - C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-NAI-styler\CSV2024-11-13T02:04:45.774893 - 
2024-11-13T02:04:45.775406 - ############################################2024-11-13T02:04:45.775406 - 
2024-11-13T02:04:45.775406 - []2024-11-13T02:04:45.775406 - 
2024-11-13T02:04:45.775406 - ############################################2024-11-13T02:04:45.775406 - 
2024-11-13T02:04:45.778268 - (pysssss:WD14Tagger) [DEBUG] Available ORT providers: TensorrtExecutionProvider, CUDAExecutionProvider, CPUExecutionProvider2024-11-13T02:04:45.778268 - 
2024-11-13T02:04:45.778268 - (pysssss:WD14Tagger) [DEBUG] Using ORT providers: CUDAExecutionProvider, CPUExecutionProvider2024-11-13T02:04:45.778268 - 
2024-11-13T02:04:45.802788 - ------------------------------------------2024-11-13T02:04:45.803788 - 
2024-11-13T02:04:45.803788 - Comfyroll Studio v1.76 :  175 Nodes Loaded2024-11-13T02:04:45.803788 - 
2024-11-13T02:04:45.803788 - ------------------------------------------2024-11-13T02:04:45.803788 - 
2024-11-13T02:04:45.803788 - ** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md2024-11-13T02:04:45.803788 - 
2024-11-13T02:04:45.803788 - ** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki2024-11-13T02:04:45.803788 - 
2024-11-13T02:04:45.803788 - ------------------------------------------2024-11-13T02:04:45.803788 - 
2024-11-13T02:04:45.809799 - [comfyui_controlnet_aux] | INFO -> Using ckpts path: C:\pinokio\api\comfy.git\app\custom_nodes\comfyui_controlnet_aux\ckpts
2024-11-13T02:04:45.809799 - [comfyui_controlnet_aux] | INFO -> Using symlinks: False
2024-11-13T02:04:45.809799 - [comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']
2024-11-13T02:04:45.826330 - DWPose: Onnxruntime with acceleration providers detected2024-11-13T02:04:45.826330 - 
2024-11-13T02:04:45.872684 - 
Efficiency Nodes: Attempting to add Control Net options to the 'HiRes-Fix Script' Node (comfyui_controlnet_aux add-on)...Success!2024-11-13T02:04:45.872684 - 
2024-11-13T02:04:45.890725 - 
2024-11-13T02:04:45.891727 - [rgthree-comfy] Loaded 42 extraordinary nodes. 🎉2024-11-13T02:04:45.891727 - 
2024-11-13T02:04:45.891727 - 
2024-11-13T02:04:45.895734 - [💾 save_image_extended] AVIF   is supported! Woohoo!2024-11-13T02:04:45.895734 - 
2024-11-13T02:04:45.901738 - [💾 save_image_extended] JPEGXL is supported! YeePee!2024-11-13T02:04:45.901738 - 
2024-11-13T02:04:45.901738 - [💾 save_image_extended] version: 2.762024-11-13T02:04:45.901738 - 
2024-11-13T02:04:45.902738 - 
Import times for custom nodes:
2024-11-13T02:04:45.902738 -    0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\websocket_image_save.py
2024-11-13T02:04:45.903738 -    0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\Image-Captioning-in-ComfyUI
2024-11-13T02:04:45.903738 -    0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-YCYY-LoraInfo
2024-11-13T02:04:45.903738 -    0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\Comfyui_TTP_Toolset
2024-11-13T02:04:45.903738 -    0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Logic
2024-11-13T02:04:45.903738 -    0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\lora-info
2024-11-13T02:04:45.903738 -    0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\cg-use-everywhere
2024-11-13T02:04:45.903738 -    0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\cg-image-picker
2024-11-13T02:04:45.903738 -    0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyLiterals
2024-11-13T02:04:45.904739 -    0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Universal-Styler
2024-11-13T02:04:45.904739 -    0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-WD14-Tagger
2024-11-13T02:04:45.905747 -    0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\comfyui-portrait-master
2024-11-13T02:04:45.905747 -    0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\comfy-image-saver
2024-11-13T02:04:45.905747 -    0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI_essentials
2024-11-13T02:04:45.905747 -    0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Custom-Scripts
2024-11-13T02:04:45.905747 -    0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI_UltimateSDUpscale
2024-11-13T02:04:45.905747 -    0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\save-image-extended-comfyui
2024-11-13T02:04:45.906533 -    0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Florence2
2024-11-13T02:04:45.906533 -    0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\efficiency-nodes-comfyui
2024-11-13T02:04:45.906533 -    0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\rgthree-comfy
2024-11-13T02:04:45.906533 -    0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-KJNodes
2024-11-13T02:04:45.906533 -    0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI_Comfyroll_CustomNodes
2024-11-13T02:04:45.906533 -    0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\comfyui_controlnet_aux
2024-11-13T02:04:45.906533 -    0.1 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Impact-Pack
2024-11-13T02:04:45.906533 -    0.1 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\comfyui-tensorops
2024-11-13T02:04:45.906533 -    0.3 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Manager
2024-11-13T02:04:45.906533 -    0.5 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-AdvancedLivePortrait
2024-11-13T02:04:45.906533 -    0.6 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Easy-Use
2024-11-13T02:04:45.906533 -    1.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-D00MYsNodes
2024-11-13T02:04:45.906533 -    1.8 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\comfyui-mixlab-nodes
2024-11-13T02:04:45.907916 -    8.7 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-PuLID-Flux-Enhanced
2024-11-13T02:04:45.907916 - 
2024-11-13T02:04:45.920429 - Starting server

2024-11-13T02:04:45.920429 - To see the GUI go to: http://127.0.0.1:8188
2024-11-13T02:08:50.241613 - got prompt
2024-11-13T02:08:50.248621 - Failed to validate prompt for output 584:
2024-11-13T02:08:50.248621 - * DualCLIPLoader 761:
2024-11-13T02:08:50.248621 -   - Value not in list: clip_name1: 't5\google_t5-v1_1-xxl_encoderonly-fp8_e4m3fn.safetensors' not in ['clip_l.safetensors', 't5\\google_t5-v1_1-xxl_encoderonly-fp16.safetensors', 't5xxl_fp16.safetensors']
2024-11-13T02:08:50.249622 -   - Value not in list: clip_name2: 'long_clip\ViT-L-14-TEXT-detail-improved-hiT-GmP-TE-only-HF.safetensors' not in ['clip_l.safetensors', 't5\\google_t5-v1_1-xxl_encoderonly-fp16.safetensors', 't5xxl_fp16.safetensors']
2024-11-13T02:08:50.249622 - * LoadImage 625:
2024-11-13T02:08:50.249622 -   - Custom validation failed for node: image - Invalid image file: Pose_sheet_v02.png
2024-11-13T02:08:50.249622 - * ControlNetLoader 647:
2024-11-13T02:08:50.249622 -   - Value not in list: control_net_name: 'FLUX.1\InstantX-FLUX1-Dev-Union\diffusion_pytorch_model.safetensors' not in []
2024-11-13T02:08:50.250621 - * VAELoader 615:
2024-11-13T02:08:50.250621 -   - Value not in list: vae_name: 'FLUX1\ae.safetensors' not in ['ae.safetensors', 'ae.sft', 'clip_l.safetensors', 'fluxVaeSft_aeSft.sft', 'mochi_vae.safetensors']
2024-11-13T02:08:50.250621 - * PulidFluxModelLoader 627:
2024-11-13T02:08:50.250621 -   - Value not in list: pulid_file: 'pulid_flux_v0.9.0.safetensors' not in []
2024-11-13T02:08:50.250621 - * LoadImage 626:
2024-11-13T02:08:50.251622 -   - Custom validation failed for node: image - Invalid image file: amber-no-freckles-smaller-lips.webp
2024-11-13T02:08:50.251622 - * UNETLoader 762:
2024-11-13T02:08:50.251622 -   - Value not in list: unet_name: 'FLUX1\flux1-dev-fp8.safetensors' not in ['FLUX1\\flux_dev_fp8_scaled_diffusion_model.safetensors', 'flux1-dev.sft']
2024-11-13T02:08:50.251622 - Output will be ignored
2024-11-13T02:08:50.261630 - WARNING: [Errno 2] No such file or directory: 'C:\\pinokio\\api\\comfy.git\\app\\input\\amber-no-freckles-smaller-lips.webp'
2024-11-13T02:08:50.263632 - WARNING: [Errno 2] No such file or directory: 'C:\\pinokio\\api\\comfy.git\\app\\input\\Pose_sheet_v02.png'
2024-11-13T02:08:50.275421 - !!! Exception during processing !!! 
2024-11-13T02:08:50.277434 - Traceback (most recent call last):
  File "C:\pinokio\api\comfy.git\app\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:\pinokio\api\comfy.git\app\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:\pinokio\api\comfy.git\app\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "C:\pinokio\api\comfy.git\app\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-PuLID-Flux-Enhanced\pulidflux.py", line 223, in load_insightface
    model = FaceAnalysis(name="antelopev2", root=INSIGHTFACE_DIR, providers=[provider + 'ExecutionProvider',]) # alternative to buffalo_l
  File "C:\pinokio\api\comfy.git\app\env\lib\site-packages\insightface\app\face_analysis.py", line 43, in __init__
    assert 'detection' in self.models
AssertionError

2024-11-13T02:08:50.278432 - Prompt executed in 0.02 seconds
2024-11-13T02:08:54.342087 - got prompt
2024-11-13T02:08:54.348106 - Failed to validate prompt for output 584:
2024-11-13T02:08:54.348106 - * DualCLIPLoader 761:
2024-11-13T02:08:54.348106 -   - Value not in list: clip_name1: 't5\google_t5-v1_1-xxl_encoderonly-fp8_e4m3fn.safetensors' not in ['clip_l.safetensors', 't5\\google_t5-v1_1-xxl_encoderonly-fp16.safetensors', 't5xxl_fp16.safetensors']
2024-11-13T02:08:54.349108 -   - Value not in list: clip_name2: 'long_clip\ViT-L-14-TEXT-detail-improved-hiT-GmP-TE-only-HF.safetensors' not in ['clip_l.safetensors', 't5\\google_t5-v1_1-xxl_encoderonly-fp16.safetensors', 't5xxl_fp16.safetensors']
2024-11-13T02:08:54.349108 - * LoadImage 625:
2024-11-13T02:08:54.349108 -   - Custom validation failed for node: image - Invalid image file: Pose_sheet_v02.png
2024-11-13T02:08:54.350108 - * ControlNetLoader 647:
2024-11-13T02:08:54.350108 -   - Value not in list: control_net_name: 'FLUX.1\InstantX-FLUX1-Dev-Union\diffusion_pytorch_model.safetensors' not in []
2024-11-13T02:08:54.350108 - * VAELoader 615:
2024-11-13T02:08:54.350108 -   - Value not in list: vae_name: 'FLUX1\ae.safetensors' not in ['ae.safetensors', 'ae.sft', 'clip_l.safetensors', 'fluxVaeSft_aeSft.sft', 'mochi_vae.safetensors']
2024-11-13T02:08:54.350108 - * PulidFluxModelLoader 627:
2024-11-13T02:08:54.350108 -   - Value not in list: pulid_file: 'pulid_flux_v0.9.0.safetensors' not in []
2024-11-13T02:08:54.351108 - * LoadImage 626:
2024-11-13T02:08:54.351108 -   - Custom validation failed for node: image - Invalid image file: amber-no-freckles-smaller-lips.webp
2024-11-13T02:08:54.351108 - * UNETLoader 762:
2024-11-13T02:08:54.352109 -   - Value not in list: unet_name: 'FLUX1\flux1-dev-fp8.safetensors' not in ['FLUX1\\flux_dev_fp8_scaled_diffusion_model.safetensors', 'flux1-dev.sft']
2024-11-13T02:08:54.352109 - Output will be ignored
2024-11-13T02:08:54.363139 - WARNING: [Errno 2] No such file or directory: 'C:\\pinokio\\api\\comfy.git\\app\\input\\amber-no-freckles-smaller-lips.webp'
2024-11-13T02:08:54.364646 - WARNING: [Errno 2] No such file or directory: 'C:\\pinokio\\api\\comfy.git\\app\\input\\Pose_sheet_v02.png'
2024-11-13T02:08:54.378343 - !!! Exception during processing !!! 
2024-11-13T02:08:54.379343 - Traceback (most recent call last):
  File "C:\pinokio\api\comfy.git\app\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:\pinokio\api\comfy.git\app\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:\pinokio\api\comfy.git\app\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "C:\pinokio\api\comfy.git\app\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-PuLID-Flux-Enhanced\pulidflux.py", line 223, in load_insightface
    model = FaceAnalysis(name="antelopev2", root=INSIGHTFACE_DIR, providers=[provider + 'ExecutionProvider',]) # alternative to buffalo_l
  File "C:\pinokio\api\comfy.git\app\env\lib\site-packages\insightface\app\face_analysis.py", line 43, in __init__
    assert 'detection' in self.models
AssertionError

2024-11-13T02:08:54.381344 - Prompt executed in 0.02 seconds
2024-11-13T02:09:14.245829 - got prompt
2024-11-13T02:09:14.251832 - Failed to validate prompt for output 584:
2024-11-13T02:09:14.251832 - * DualCLIPLoader 761:
2024-11-13T02:09:14.251832 -   - Value not in list: clip_name1: 't5\google_t5-v1_1-xxl_encoderonly-fp8_e4m3fn.safetensors' not in ['clip_l.safetensors', 't5\\google_t5-v1_1-xxl_encoderonly-fp16.safetensors', 't5xxl_fp16.safetensors']
2024-11-13T02:09:14.252832 -   - Value not in list: clip_name2: 'long_clip\ViT-L-14-TEXT-detail-improved-hiT-GmP-TE-only-HF.safetensors' not in ['clip_l.safetensors', 't5\\google_t5-v1_1-xxl_encoderonly-fp16.safetensors', 't5xxl_fp16.safetensors']
2024-11-13T02:09:14.252832 - * LoadImage 625:
2024-11-13T02:09:14.252832 -   - Custom validation failed for node: image - Invalid image file: Pose_sheet_v02.png
2024-11-13T02:09:14.252832 - * ControlNetLoader 647:
2024-11-13T02:09:14.252832 -   - Value not in list: control_net_name: 'FLUX.1\InstantX-FLUX1-Dev-Union\diffusion_pytorch_model.safetensors' not in []
2024-11-13T02:09:14.252832 - * VAELoader 615:
2024-11-13T02:09:14.253832 -   - Value not in list: vae_name: 'FLUX1\ae.safetensors' not in ['ae.safetensors', 'ae.sft', 'clip_l.safetensors', 'fluxVaeSft_aeSft.sft', 'mochi_vae.safetensors']
2024-11-13T02:09:14.253832 - * PulidFluxModelLoader 627:
2024-11-13T02:09:14.253832 -   - Value not in list: pulid_file: 'pulid_flux_v0.9.0.safetensors' not in []
2024-11-13T02:09:14.253832 - * UNETLoader 762:
2024-11-13T02:09:14.253832 -   - Value not in list: unet_name: 'FLUX1\flux1-dev-fp8.safetensors' not in ['FLUX1\\flux_dev_fp8_scaled_diffusion_model.safetensors', 'flux1-dev.sft']
2024-11-13T02:09:14.253832 - Output will be ignored
2024-11-13T02:09:14.263338 - WARNING: [Errno 2] No such file or directory: 'C:\\pinokio\\api\\comfy.git\\app\\input\\Pose_sheet_v02.png'
2024-11-13T02:09:14.274861 - !!! Exception during processing !!! 
2024-11-13T02:09:14.276374 - Traceback (most recent call last):
  File "C:\pinokio\api\comfy.git\app\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:\pinokio\api\comfy.git\app\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:\pinokio\api\comfy.git\app\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "C:\pinokio\api\comfy.git\app\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-PuLID-Flux-Enhanced\pulidflux.py", line 223, in load_insightface
    model = FaceAnalysis(name="antelopev2", root=INSIGHTFACE_DIR, providers=[provider + 'ExecutionProvider',]) # alternative to buffalo_l
  File "C:\pinokio\api\comfy.git\app\env\lib\site-packages\insightface\app\face_analysis.py", line 43, in __init__
    assert 'detection' in self.models
AssertionError

2024-11-13T02:09:14.277374 - Prompt executed in 0.02 seconds
2024-11-13T02:09:33.905618 - got prompt
2024-11-13T02:09:33.911911 - Failed to validate prompt for output 584:
2024-11-13T02:09:33.911911 - * DualCLIPLoader 761:
2024-11-13T02:09:33.911911 -   - Value not in list: clip_name1: 't5\google_t5-v1_1-xxl_encoderonly-fp8_e4m3fn.safetensors' not in ['clip_l.safetensors', 't5\\google_t5-v1_1-xxl_encoderonly-fp16.safetensors', 't5xxl_fp16.safetensors']
2024-11-13T02:09:33.911911 -   - Value not in list: clip_name2: 'long_clip\ViT-L-14-TEXT-detail-improved-hiT-GmP-TE-only-HF.safetensors' not in ['clip_l.safetensors', 't5\\google_t5-v1_1-xxl_encoderonly-fp16.safetensors', 't5xxl_fp16.safetensors']
2024-11-13T02:09:33.911911 - * LoadImage 625:
2024-11-13T02:09:33.912911 -   - Custom validation failed for node: image - Invalid image file: Pose_sheet_v02.png
2024-11-13T02:09:33.912911 - * ControlNetLoader 647:
2024-11-13T02:09:33.912911 -   - Value not in list: control_net_name: 'FLUX.1\InstantX-FLUX1-Dev-Union\diffusion_pytorch_model.safetensors' not in []
2024-11-13T02:09:33.912911 - * VAELoader 615:
2024-11-13T02:09:33.912911 -   - Value not in list: vae_name: 'FLUX1\ae.safetensors' not in ['ae.safetensors', 'ae.sft', 'clip_l.safetensors', 'fluxVaeSft_aeSft.sft', 'mochi_vae.safetensors']
2024-11-13T02:09:33.912911 - * PulidFluxModelLoader 627:
2024-11-13T02:09:33.912911 -   - Value not in list: pulid_file: 'pulid_flux_v0.9.0.safetensors' not in []
2024-11-13T02:09:33.912911 - * UNETLoader 762:
2024-11-13T02:09:33.913911 -   - Value not in list: unet_name: 'FLUX1\flux1-dev-fp8.safetensors' not in ['FLUX1\\flux_dev_fp8_scaled_diffusion_model.safetensors', 'flux1-dev.sft']
2024-11-13T02:09:33.913911 - Output will be ignored
2024-11-13T02:09:33.925432 - WARNING: [Errno 2] No such file or directory: 'C:\\pinokio\\api\\comfy.git\\app\\input\\Pose_sheet_v02.png'
2024-11-13T02:09:33.937255 - !!! Exception during processing !!! 
2024-11-13T02:09:33.938256 - Traceback (most recent call last):
  File "C:\pinokio\api\comfy.git\app\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:\pinokio\api\comfy.git\app\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:\pinokio\api\comfy.git\app\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "C:\pinokio\api\comfy.git\app\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-PuLID-Flux-Enhanced\pulidflux.py", line 223, in load_insightface
    model = FaceAnalysis(name="antelopev2", root=INSIGHTFACE_DIR, providers=[provider + 'ExecutionProvider',]) # alternative to buffalo_l
  File "C:\pinokio\api\comfy.git\app\env\lib\site-packages\insightface\app\face_analysis.py", line 43, in __init__
    assert 'detection' in self.models
AssertionError

2024-11-13T02:09:33.940255 - Prompt executed in 0.02 seconds
2024-11-13T02:09:46.157340 - got prompt
2024-11-13T02:09:46.163337 - Failed to validate prompt for output 584:
2024-11-13T02:09:46.164842 - * DualCLIPLoader 761:
2024-11-13T02:09:46.164842 -   - Value not in list: clip_name1: 't5\google_t5-v1_1-xxl_encoderonly-fp8_e4m3fn.safetensors' not in ['clip_l.safetensors', 't5\\google_t5-v1_1-xxl_encoderonly-fp16.safetensors', 't5xxl_fp16.safetensors']
2024-11-13T02:09:46.164842 -   - Value not in list: clip_name2: 'long_clip\ViT-L-14-TEXT-detail-improved-hiT-GmP-TE-only-HF.safetensors' not in ['clip_l.safetensors', 't5\\google_t5-v1_1-xxl_encoderonly-fp16.safetensors', 't5xxl_fp16.safetensors']
2024-11-13T02:09:46.165355 - * LoadImage 625:
2024-11-13T02:09:46.165355 -   - Custom validation failed for node: image - Invalid image file: Pose_sheet_v02.png
2024-11-13T02:09:46.165355 - * ControlNetLoader 647:
2024-11-13T02:09:46.166360 -   - Value not in list: control_net_name: 'FLUX.1\InstantX-FLUX1-Dev-Union\diffusion_pytorch_model.safetensors' not in []
2024-11-13T02:09:46.166360 - * VAELoader 615:
2024-11-13T02:09:46.166360 -   - Value not in list: vae_name: 'FLUX1\ae.safetensors' not in ['ae.safetensors', 'ae.sft', 'clip_l.safetensors', 'fluxVaeSft_aeSft.sft', 'mochi_vae.safetensors']
2024-11-13T02:09:46.166360 - * PulidFluxModelLoader 627:
2024-11-13T02:09:46.167364 -   - Value not in list: pulid_file: 'pulid_flux_v0.9.0.safetensors' not in []
2024-11-13T02:09:46.167364 - * UNETLoader 762:
2024-11-13T02:09:46.167364 -   - Value not in list: unet_name: 'FLUX1\flux1-dev-fp8.safetensors' not in ['FLUX1\\flux_dev_fp8_scaled_diffusion_model.safetensors', 'flux1-dev.sft']
2024-11-13T02:09:46.167364 - Output will be ignored
2024-11-13T02:09:46.178438 - WARNING: [Errno 2] No such file or directory: 'C:\\pinokio\\api\\comfy.git\\app\\input\\Pose_sheet_v02.png'
2024-11-13T02:09:46.189416 - !!! Exception during processing !!! 
2024-11-13T02:09:46.189416 - Traceback (most recent call last):
  File "C:\pinokio\api\comfy.git\app\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:\pinokio\api\comfy.git\app\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:\pinokio\api\comfy.git\app\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "C:\pinokio\api\comfy.git\app\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-PuLID-Flux-Enhanced\pulidflux.py", line 223, in load_insightface
    model = FaceAnalysis(name="antelopev2", root=INSIGHTFACE_DIR, providers=[provider + 'ExecutionProvider',]) # alternative to buffalo_l
  File "C:\pinokio\api\comfy.git\app\env\lib\site-packages\insightface\app\face_analysis.py", line 43, in __init__
    assert 'detection' in self.models
AssertionError

2024-11-13T02:09:46.190562 - Prompt executed in 0.01 seconds
2024-11-13T02:11:59.182177 - got prompt
2024-11-13T02:11:59.189197 - Failed to validate prompt for output 584:
2024-11-13T02:11:59.189197 - * DualCLIPLoader 761:
2024-11-13T02:11:59.189197 -   - Value not in list: clip_name1: 't5\google_t5-v1_1-xxl_encoderonly-fp8_e4m3fn.safetensors' not in ['clip_l.safetensors', 't5\\google_t5-v1_1-xxl_encoderonly-fp16.safetensors', 't5xxl_fp16.safetensors']
2024-11-13T02:11:59.189197 -   - Value not in list: clip_name2: 'long_clip\ViT-L-14-TEXT-detail-improved-hiT-GmP-TE-only-HF.safetensors' not in ['clip_l.safetensors', 't5\\google_t5-v1_1-xxl_encoderonly-fp16.safetensors', 't5xxl_fp16.safetensors']
2024-11-13T02:11:59.189197 - * ControlNetLoader 647:
2024-11-13T02:11:59.189197 -   - Value not in list: control_net_name: 'FLUX.1\InstantX-FLUX1-Dev-Union\diffusion_pytorch_model.safetensors' not in []
2024-11-13T02:11:59.190197 - * VAELoader 615:
2024-11-13T02:11:59.190197 -   - Value not in list: vae_name: 'FLUX1\ae.safetensors' not in ['ae.safetensors', 'ae.sft', 'clip_l.safetensors', 'fluxVaeSft_aeSft.sft', 'mochi_vae.safetensors']
2024-11-13T02:11:59.190197 - * PulidFluxModelLoader 627:
2024-11-13T02:11:59.190197 -   - Value not in list: pulid_file: 'pulid_flux_v0.9.0.safetensors' not in []
2024-11-13T02:11:59.190197 - * UNETLoader 762:
2024-11-13T02:11:59.191196 -   - Value not in list: unet_name: 'FLUX1\flux1-dev-fp8.safetensors' not in ['FLUX1\\flux_dev_fp8_scaled_diffusion_model.safetensors', 'flux1-dev.sft']
2024-11-13T02:11:59.191196 - Output will be ignored
2024-11-13T02:11:59.217751 - !!! Exception during processing !!! 
2024-11-13T02:11:59.217751 - Traceback (most recent call last):
  File "C:\pinokio\api\comfy.git\app\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:\pinokio\api\comfy.git\app\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:\pinokio\api\comfy.git\app\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "C:\pinokio\api\comfy.git\app\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-PuLID-Flux-Enhanced\pulidflux.py", line 223, in load_insightface
    model = FaceAnalysis(name="antelopev2", root=INSIGHTFACE_DIR, providers=[provider + 'ExecutionProvider',]) # alternative to buffalo_l
  File "C:\pinokio\api\comfy.git\app\env\lib\site-packages\insightface\app\face_analysis.py", line 43, in __init__
    assert 'detection' in self.models
AssertionError

2024-11-13T02:11:59.219752 - Prompt executed in 0.02 seconds
2024-11-13T02:12:09.416775 - got prompt
2024-11-13T02:12:09.422773 - Failed to validate prompt for output 584:
2024-11-13T02:12:09.422773 - * DualCLIPLoader 761:
2024-11-13T02:12:09.422773 -   - Value not in list: clip_name1: 't5\google_t5-v1_1-xxl_encoderonly-fp8_e4m3fn.safetensors' not in ['clip_l.safetensors', 't5\\google_t5-v1_1-xxl_encoderonly-fp16.safetensors', 't5xxl_fp16.safetensors']
2024-11-13T02:12:09.422773 -   - Value not in list: clip_name2: 'long_clip\ViT-L-14-TEXT-detail-improved-hiT-GmP-TE-only-HF.safetensors' not in ['clip_l.safetensors', 't5\\google_t5-v1_1-xxl_encoderonly-fp16.safetensors', 't5xxl_fp16.safetensors']
2024-11-13T02:12:09.422773 - * ControlNetLoader 647:
2024-11-13T02:12:09.422773 -   - Value not in list: control_net_name: 'FLUX.1\InstantX-FLUX1-Dev-Union\diffusion_pytorch_model.safetensors' not in []
2024-11-13T02:12:09.422773 - * VAELoader 615:
2024-11-13T02:12:09.422773 -   - Value not in list: vae_name: 'FLUX1\ae.safetensors' not in ['ae.safetensors', 'ae.sft', 'clip_l.safetensors', 'fluxVaeSft_aeSft.sft', 'mochi_vae.safetensors']
2024-11-13T02:12:09.422773 - * PulidFluxModelLoader 627:
2024-11-13T02:12:09.423775 -   - Value not in list: pulid_file: 'pulid_flux_v0.9.0.safetensors' not in []
2024-11-13T02:12:09.423775 - * UNETLoader 762:
2024-11-13T02:12:09.423775 -   - Value not in list: unet_name: 'FLUX1\flux1-dev-fp8.safetensors' not in ['FLUX1\\flux_dev_fp8_scaled_diffusion_model.safetensors', 'flux1-dev.sft']
2024-11-13T02:12:09.423775 - Output will be ignored
2024-11-13T02:12:09.445356 - !!! Exception during processing !!! 
2024-11-13T02:12:09.446360 - Traceback (most recent call last):
  File "C:\pinokio\api\comfy.git\app\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:\pinokio\api\comfy.git\app\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:\pinokio\api\comfy.git\app\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "C:\pinokio\api\comfy.git\app\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-PuLID-Flux-Enhanced\pulidflux.py", line 223, in load_insightface
    model = FaceAnalysis(name="antelopev2", root=INSIGHTFACE_DIR, providers=[provider + 'ExecutionProvider',]) # alternative to buffalo_l
  File "C:\pinokio\api\comfy.git\app\env\lib\site-packages\insightface\app\face_analysis.py", line 43, in __init__
    assert 'detection' in self.models
AssertionError

2024-11-13T02:12:09.447360 - Prompt executed in 0.02 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

_No response_
daijunrong commented 2 weeks ago

我也是出现了一样的

ltdrdata commented 2 weeks ago

Please move this issue to ComfyUI-PuLID-Flux-Enhanced repo. https://github.com/sipie800/ComfyUI-PuLID-Flux-Enhanced