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.82k stars 5.89k forks source link

PulidFluxInsightFaceLoader Issue #5133

Closed Neilni2099 closed 1 month ago

Neilni2099 commented 1 month ago

Expected Behavior

1C294EB8829FF50265F0C4BF808075C6

Can not load PuLID Flux

Actual Behavior

Check the model and files, no problem 0FB053E56880CA670EF329C391D9D20E , 00B238C576B579D67B9BC1C18EC6F967

Steps to Reproduce

The issue persists even after reinstalling the software and the Models. Others in the group are experiencing the same problem.

Debug Logs

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

  File "F:\ComfyUI-aki-v1.4\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 "F:\ComfyUI-aki-v1.4\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 "F:\ComfyUI-aki-v1.4\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)

  File "F:\ComfyUI-aki-v1.4\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))

  File "F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-PuLID-Flux\pulidflux.py", line 196, in load_insightface
    model = FaceAnalysis(name="antelopev2", root=INSIGHTFACE_DIR, providers=[provider + 'ExecutionProvider',]) # alternative to buffalo_l

  File "F:\ComfyUI-aki-v1.4\python\lib\site-packages\insightface\app\face_analysis.py", line 43, in __init__
    assert 'detection' in self.models

System Information

Logs

2024-10-03 08:23:00,647 - root - INFO - Total VRAM 12282 MB, total RAM 32581 MB
2024-10-03 08:23:00,647 - root - INFO - pytorch version: 2.1.2+cu118
2024-10-03 08:23:00,788 - root - INFO - xformers version: 0.0.23.post1+cu118
2024-10-03 08:23:00,788 - root - INFO - Set vram state to: NORMAL_VRAM
2024-10-03 08:23:00,788 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4070 Ti : cudaMallocAsync
2024-10-03 08:23:01,365 - root - INFO - Using xformers cross attention
2024-10-03 08:23:01,665 - root - INFO - [Prompt Server] web root: F:\ComfyUI-aki-v1.4\web
2024-10-03 08:23:02,553 - root - WARNING - Traceback (most recent call last):
  File "F:\ComfyUI-aki-v1.4\nodes.py", line 1998, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 879, in exec_module
  File "<frozen importlib._bootstrap_external>", line 1016, in get_code
  File "<frozen importlib._bootstrap_external>", line 1073, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 'F:\\ComfyUI-aki-v1.4\\custom_nodes\\comfyui-dream-project\\__init__.py'

2024-10-03 08:23:02,553 - root - WARNING - Cannot import F:\ComfyUI-aki-v1.4\custom_nodes\comfyui-dream-project module for custom nodes: [Errno 2] No such file or directory: 'F:\\ComfyUI-aki-v1.4\\custom_nodes\\comfyui-dream-project\\__init__.py'
2024-10-03 08:23:03,426 - root - INFO - Total VRAM 12282 MB, total RAM 32581 MB
2024-10-03 08:23:03,426 - root - INFO - pytorch version: 2.1.2+cu118
2024-10-03 08:23:03,426 - root - INFO - xformers version: 0.0.23.post1+cu118
2024-10-03 08:23:03,426 - root - INFO - Set vram state to: NORMAL_VRAM
2024-10-03 08:23:03,426 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4070 Ti : cudaMallocAsync
2024-10-03 08:23:06,673 - root - WARNING - Traceback (most recent call last):
  File "F:\ComfyUI-aki-v1.4\nodes.py", line 1998, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 879, in exec_module
  File "<frozen importlib._bootstrap_external>", line 1016, in get_code
  File "<frozen importlib._bootstrap_external>", line 1073, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 'F:\\ComfyUI-aki-v1.4\\custom_nodes\\ComfyUI_FaceAnalysis\\__init__.py'

2024-10-03 08:23:06,673 - root - WARNING - Cannot import F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_FaceAnalysis module for custom nodes: [Errno 2] No such file or directory: 'F:\\ComfyUI-aki-v1.4\\custom_nodes\\ComfyUI_FaceAnalysis\\__init__.py'
2024-10-03 08:23:10,884 - root - INFO - 
Import times for custom nodes:
2024-10-03 08:23:10,885 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\AIGODLIKE-ComfyUI-Translation
2024-10-03 08:23:10,885 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ControlNet-LLLite-ComfyUI
2024-10-03 08:23:10,885 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\sd-dynamic-thresholding
2024-10-03 08:23:10,885 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\websocket_image_save.py
2024-10-03 08:23:10,885 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\stability-ComfyUI-nodes
2024-10-03 08:23:10,885 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\FreeU_Advanced
2024-10-03 08:23:10,885 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\cg-use-everywhere
2024-10-03 08:23:10,885 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_TiledKSampler
2024-10-03 08:23:10,885 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\masquerade-nodes-comfyui
2024-10-03 08:23:10,885 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-WD14-Tagger
2024-10-03 08:23:10,885 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Image-Saver
2024-10-03 08:23:10,885 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_experiments
2024-10-03 08:23:10,885 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\PowerNoiseSuite
2024-10-03 08:23:10,885 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_IPAdapter_plus
2024-10-03 08:23:10,885 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SuperBeasts
2024-10-03 08:23:10,885 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\images-grid-comfy-plugin
2024-10-03 08:23:10,885 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_UltimateSDUpscale
2024-10-03 08:23:10,885 - root - INFO -    0.0 seconds (IMPORT FAILED): F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_FaceAnalysis
2024-10-03 08:23:10,885 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Custom-Scripts
2024-10-03 08:23:10,886 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\Derfuu_ComfyUI_ModdedNodes
2024-10-03 08:23:10,886 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\rgthree-comfy
2024-10-03 08:23:10,886 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-GGUF
2024-10-03 08:23:10,886 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Advanced-ControlNet
2024-10-03 08:23:10,886 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\efficiency-nodes-comfyui
2024-10-03 08:23:10,886 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\comfyui-workspace-manager
2024-10-03 08:23:10,886 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Marigold
2024-10-03 08:23:10,886 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-KJNodes
2024-10-03 08:23:10,886 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_essentials
2024-10-03 08:23:10,886 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_Comfyroll_CustomNodes
2024-10-03 08:23:10,886 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-AnimateDiff-Evolved
2024-10-03 08:23:10,886 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\comfyui_controlnet_aux
2024-10-03 08:23:10,886 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Inspire-Pack
2024-10-03 08:23:10,886 - root - INFO -    0.0 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Crystools
2024-10-03 08:23:10,886 - root - INFO -    0.2 seconds (IMPORT FAILED): F:\ComfyUI-aki-v1.4\custom_nodes\comfyui-dream-project
2024-10-03 08:23:10,886 - root - INFO -    0.2 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_FizzNodes
2024-10-03 08:23:10,886 - root - INFO -    0.3 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Manager
2024-10-03 08:23:10,886 - root - INFO -    0.3 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\comfy_PoP
2024-10-03 08:23:10,886 - root - INFO -    0.3 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Easy-Use
2024-10-03 08:23:10,886 - root - INFO -    0.5 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Impact-Pack
2024-10-03 08:23:10,886 - root - INFO -    0.7 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-PuLID-Flux
2024-10-03 08:23:10,886 - root - INFO -    2.1 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_Custom_Nodes_AlekPet
2024-10-03 08:23:10,886 - root - INFO -    3.7 seconds: F:\ComfyUI-aki-v1.4\custom_nodes\was-node-suite-comfyui
2024-10-03 08:23:10,886 - root - INFO - 
2024-10-03 08:23:10,897 - root - INFO - Starting server

2024-10-03 08:23:10,898 - root - INFO - To see the GUI go to: http://127.0.0.1:8188
2024-10-03 08:23:40,814 - root - INFO - got prompt
2024-10-03 08:23:40,992 - root - INFO - model weight dtype torch.float8_e4m3fn, manual cast: torch.bfloat16
2024-10-03 08:23:40,993 - root - INFO - model_type FLUX
2024-10-03 08:23:51,301 - root - INFO - Using xformers attention in VAE
2024-10-03 08:23:51,302 - root - INFO - Using xformers attention in VAE
2024-10-03 08:24:00,267 - root - INFO - Requested to load FluxClipModel_
2024-10-03 08:24:00,274 - root - INFO - Loading 1 new model
2024-10-03 08:24:01,453 - root - INFO - loaded completely 0.0 4777.53759765625 True
2024-10-03 08:24:02,312 - root - ERROR - !!! Exception during processing !!! 
2024-10-03 08:24:02,316 - root - ERROR - Traceback (most recent call last):
  File "F:\ComfyUI-aki-v1.4\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 "F:\ComfyUI-aki-v1.4\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 "F:\ComfyUI-aki-v1.4\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "F:\ComfyUI-aki-v1.4\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-PuLID-Flux\pulidflux.py", line 196, in load_insightface
    model = FaceAnalysis(name="antelopev2", root=INSIGHTFACE_DIR, providers=[provider + 'ExecutionProvider',]) # alternative to buffalo_l
  File "F:\ComfyUI-aki-v1.4\python\lib\site-packages\insightface\app\face_analysis.py", line 43, in __init__
    assert 'detection' in self.models
AssertionError

2024-10-03 08:24:02,321 - root - INFO - Prompt executed in 21.50 seconds
2024-10-03 08:29:24,068 - root - INFO - got prompt
2024-10-03 08:29:24,070 - root - ERROR - Failed to validate prompt for output 13:
2024-10-03 08:29:24,071 - root - ERROR - * CheckpointLoaderSimple 1:
2024-10-03 08:29:24,071 - root - ERROR -   - Value not in list: ckpt_name: 'epicRealism.safetensors' not in ['epicrealism_naturalSinRC1VAE.safetensors', 'flux1-dev-fp8.safetensors', 'majicmix7.safetensors']
2024-10-03 08:29:24,071 - root - ERROR - Output will be ignored
2024-10-03 08:29:25,401 - root - ERROR - !!! Exception during processing !!! Model in folder 'checkpoints' with filename 'epicRealism.safetensors' not found.
2024-10-03 08:29:25,402 - root - ERROR - Traceback (most recent call last):
  File "F:\ComfyUI-aki-v1.4\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 "F:\ComfyUI-aki-v1.4\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 "F:\ComfyUI-aki-v1.4\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "F:\ComfyUI-aki-v1.4\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "F:\ComfyUI-aki-v1.4\nodes.py", line 539, in load_checkpoint
    ckpt_path = folder_paths.get_full_path_or_raise("checkpoints", ckpt_name)
  File "F:\ComfyUI-aki-v1.4\folder_paths.py", line 275, in get_full_path_or_raise
    raise FileNotFoundError(f"Model in folder '{folder_name}' with filename '{filename}' not found.")
FileNotFoundError: Model in folder 'checkpoints' with filename 'epicRealism.safetensors' not found.

2024-10-03 08:29:25,403 - root - INFO - Prompt executed in 1.33 seconds
2024-10-03 08:29:40,649 - root - INFO - got prompt
2024-10-03 08:29:41,009 - root - INFO - model weight dtype torch.float16, manual cast: None
2024-10-03 08:29:41,017 - root - INFO - model_type EPS
2024-10-03 08:29:41,857 - root - INFO - Using xformers attention in VAE
2024-10-03 08:29:41,857 - root - INFO - Using xformers attention in VAE
2024-10-03 08:29:47,570 - root - INFO - Requested to load SD1ClipModel
2024-10-03 08:29:47,570 - root - INFO - Loading 1 new model
2024-10-03 08:29:47,632 - root - INFO - loaded completely 0.0 235.84423828125 True
2024-10-03 08:29:47,681 - root - INFO - Requested to load ControlNet
2024-10-03 08:29:47,681 - root - INFO - Requested to load BaseModel
2024-10-03 08:29:47,681 - root - INFO - Requested to load ControlNet
2024-10-03 08:29:47,681 - root - INFO - Loading 3 new models
2024-10-03 08:29:47,823 - root - INFO - loaded completely 0.0 689.0852355957031 True
2024-10-03 08:29:48,100 - root - INFO - loaded completely 0.0 1639.406135559082 True
2024-10-03 08:29:48,225 - root - INFO - loaded completely 0.0 689.0852355957031 True
2024-10-03 08:30:32,626 - root - INFO - Requested to load AutoencoderKL
2024-10-03 08:30:32,627 - root - INFO - Loading 1 new model
2024-10-03 08:30:33,180 - root - INFO - loaded completely 0.0 159.55708122253418 True
2024-10-03 08:30:34,053 - root - INFO - Prompt executed in 53.40 seconds
2024-10-03 08:37:53,257 - root - INFO - got prompt
2024-10-03 08:37:53,260 - root - ERROR - Failed to validate prompt for output 50:
2024-10-03 08:37:53,260 - root - ERROR - * LoadImage 54:
2024-10-03 08:37:53,260 - root - ERROR -   - Custom validation failed for node: image - Invalid image file: einstein.jpg
2024-10-03 08:37:53,260 - root - ERROR - Output will be ignored
2024-10-03 08:37:53,260 - root - WARNING - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
2024-10-03 08:38:01,207 - root - INFO - got prompt
2024-10-03 08:38:01,670 - root - INFO - Using xformers attention in VAE
2024-10-03 08:38:01,672 - root - INFO - Using xformers attention in VAE
2024-10-03 08:38:01,871 - root - INFO - model weight dtype torch.bfloat16, manual cast: None
2024-10-03 08:38:01,871 - root - INFO - model_type FLUX
2024-10-03 08:38:02,202 - root - INFO - Requested to load FluxClipModel_
2024-10-03 08:38:02,202 - root - INFO - Loading 1 new model
2024-10-03 08:38:05,887 - root - INFO - loaded completely 0.0 4778.66552734375 True
2024-10-03 08:38:06,529 - root - ERROR - !!! Exception during processing !!! 
2024-10-03 08:38:06,530 - root - ERROR - Traceback (most recent call last):
  File "F:\ComfyUI-aki-v1.4\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 "F:\ComfyUI-aki-v1.4\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 "F:\ComfyUI-aki-v1.4\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "F:\ComfyUI-aki-v1.4\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "F:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-PuLID-Flux\pulidflux.py", line 196, in load_insightface
    model = FaceAnalysis(name="antelopev2", root=INSIGHTFACE_DIR, providers=[provider + 'ExecutionProvider',]) # alternative to buffalo_l
  File "F:\ComfyUI-aki-v1.4\python\lib\site-packages\insightface\app\face_analysis.py", line 43, in __init__
    assert 'detection' in self.models
AssertionError

2024-10-03 08:38:06,531 - root - INFO - Prompt executed in 5.32 seconds

Attached Workflow

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

{"last_node_id":62,"last_link_id":129,"nodes":[{"id":25,"type":"RandomNoise","pos":{"0":6,"1":-135},"size":{"0":315,"1":82},"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"NOISE","type":"NOISE","links":[84],"slot_index":0,"shape":3,"label":"噪波生成"}],"properties":{"Node name for S&R":"RandomNoise"},"widgets_values":[186462208016243,"fixed"],"color":"#2a363b","bgcolor":"#3f5159"},{"id":26,"type":"FluxGuidance","pos":{"0":372,"1":-171},"size":{"0":317.4000244140625,"1":58},"flags":{"collapsed":false},"order":13,"mode":0,"inputs":[{"name":"conditioning","type":"CONDITIONING","link":41,"label":"条件"}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[107],"slot_index":0,"shape":3,"label":"条件"}],"properties":{"Node name for S&R":"FluxGuidance"},"widgets_values":[3.5],"color":"#233","bgcolor":"#355"},{"id":6,"type":"CLIPTextEncode","pos":{"0":372,"1":-55},"size":{"0":422.84503173828125,"1":164.31304931640625},"flags":{},"order":10,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":128,"label":"CLIP"}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[41],"slot_index":0,"label":"条件"}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["Half body portrait of 60 years old guy, with an surprised expression, he is lost in vectors of AI models, sourounded by PC monitors and many cables, on his tshirt is a text with words printed in Arial font:\"PuLID Flux\", detailed, glowy background, photorealistic style with skin inperfections, looks like shot with an smartphone, skin details without plastic look, ASUS Keyboard.",true],"color":"#232","bgcolor":"#353"},{"id":27,"type":"EmptySD3LatentImage","pos":{"0":383,"1":155},"size":{"0":315,"1":106},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"LATENT","type":"LATENT","links":[86],"slot_index":0,"shape":3,"label":"Latent"}],"properties":{"Node name for S&R":"EmptySD3LatentImage"},"widgets_values":[768,1024,1],"color":"#323","bgcolor":"#535"},{"id":16,"type":"KSamplerSelect","pos":{"0":384,"1":313},"size":{"0":315,"1":58},"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"SAMPLER","type":"SAMPLER","links":[85],"slot_index":0,"shape":3,"label":"采样器"}],"properties":{"Node name for S&R":"KSamplerSelect"},"widgets_values":["euler"]},{"id":17,"type":"BasicScheduler","pos":{"0":392,"1":424},"size":{"0":315,"1":106},"flags":{"collapsed":false},"order":11,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":129,"slot_index":0,"label":"模型"}],"outputs":[{"name":"SIGMAS","type":"SIGMAS","links":[93],"slot_index":0,"shape":3,"label":"Sigmas"}],"properties":{"Node name for S&R":"BasicScheduler"},"widgets_values":["simple",10,1]},{"id":53,"type":"PulidFluxInsightFaceLoader","pos":{"0":822,"1":-80},"size":{"0":365.4000244140625,"1":58},"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[{"name":"FACEANALYSIS","type":"FACEANALYSIS","links":[124],"slot_index":0,"shape":3,"label":"FACEANALYSIS"}],"properties":{"Node name for S&R":"PulidFluxInsightFaceLoader"},"widgets_values":["CPU"]},{"id":51,"type":"PulidFluxEvaClipLoader","pos":{"0":845,"1":52},"size":{"0":327.5999755859375,"1":26},"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[{"name":"EVA_CLIP","type":"EVA_CLIP","links":[123],"slot_index":0,"shape":3,"label":"EVA_CLIP"}],"properties":{"Node name for S&R":"PulidFluxEvaClipLoader"},"widgets_values":[]},{"id":62,"type":"ApplyPulidFlux","pos":{"0":842,"1":258},"size":{"0":315,"1":206},"flags":{},"order":12,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":127,"label":"model"},{"name":"pulid_flux","type":"PULIDFLUX","link":125,"label":"pulid_flux"},{"name":"eva_clip","type":"EVA_CLIP","link":123,"label":"eva_clip"},{"name":"face_analysis","type":"FACEANALYSIS","link":124,"label":"face_analysis"},{"name":"image","type":"IMAGE","link":126,"label":"image"},{"name":"attn_mask","type":"MASK","link":null,"label":"attn_mask"}],"outputs":[{"name":"MODEL","type":"MODEL","links":[122],"slot_index":0,"shape":3,"label":"MODEL"}],"properties":{"Node name for S&R":"ApplyPulidFlux"},"widgets_values":[1,0,1]},{"id":47,"type":"BasicGuider","pos":{"0":1217,"1":401},"size":{"0":241.79998779296875,"1":46},"flags":{},"order":14,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":122,"label":"模型"},{"name":"conditioning","type":"CONDITIONING","link":107,"label":"条件"}],"outputs":[{"name":"GUIDER","type":"GUIDER","links":[83],"slot_index":0,"shape":3,"label":"引导"}],"properties":{"Node name for S&R":"BasicGuider"},"widgets_values":[]},{"id":48,"type":"SamplerCustomAdvanced","pos":{"0":1205,"1":-39},"size":{"0":355.20001220703125,"1":326},"flags":{},"order":15,"mode":0,"inputs":[{"name":"noise","type":"NOISE","link":84,"label":"噪波生成"},{"name":"guider","type":"GUIDER","link":83,"label":"引导"},{"name":"sampler","type":"SAMPLER","link":85,"label":"采样器"},{"name":"sigmas","type":"SIGMAS","link":93,"label":"Sigmas"},{"name":"latent_image","type":"LATENT","link":86,"label":"Latent"}],"outputs":[{"name":"output","type":"LATENT","links":[87],"slot_index":0,"shape":3,"label":"输出"},{"name":"denoised_output","type":"LATENT","links":null,"shape":3,"label":"降噪输出"}],"properties":{"Node name for S&R":"SamplerCustomAdvanced"},"widgets_values":[]},{"id":49,"type":"VAEDecode","pos":{"0":1263,"1":-137},"size":{"0":210,"1":46},"flags":{},"order":16,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":87,"label":"Latent"},{"name":"vae","type":"VAE","link":88,"label":"VAE"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[89],"slot_index":0,"shape":3,"label":"图像"}],"properties":{"Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":50,"type":"PreviewImage","pos":{"0":1587,"1":-169},"size":{"0":841.524169921875,"1":698.3060302734375},"flags":{},"order":17,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":89,"label":"图像"}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":41,"type":"DualCLIPLoaderGGUF","pos":{"0":18,"1":114},"size":{"0":315,"1":106},"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[{"name":"CLIP","type":"CLIP","links":[128],"slot_index":0,"shape":3,"label":"CLIP"}],"properties":{"Node name for S&R":"DualCLIPLoaderGGUF"},"widgets_values":["t5xxl_fp8_e4m3fn.safetensors","clip_l.safetensors","flux"]},{"id":10,"type":"VAELoader","pos":{"0":23,"1":275},"size":{"0":311.81634521484375,"1":60.429901123046875},"flags":{},"order":6,"mode":0,"inputs":[],"outputs":[{"name":"VAE","type":"VAE","links":[88],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"VAELoader"},"widgets_values":["flux1DevVAE_safetensors.safetensors"]},{"id":31,"type":"UnetLoaderGGUF","pos":{"0":14,"1":5},"size":{"0":315,"1":58},"flags":{},"order":7,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[127,129],"slot_index":0,"shape":3,"label":"MODEL"}],"properties":{"Node name for S&R":"UnetLoaderGGUF"},"widgets_values":["jibMixFlux_v2Fp16_mx5_1.gguf"]},{"id":45,"type":"PulidFluxModelLoader","pos":{"0":846,"1":137},"size":{"0":315,"1":58},"flags":{},"order":8,"mode":0,"inputs":[],"outputs":[{"name":"PULIDFLUX","type":"PULIDFLUX","links":[125],"slot_index":0,"shape":3,"label":"PULIDFLUX"}],"properties":{"Node name for S&R":"PulidFluxModelLoader"},"widgets_values":["pulid_flux_v0.9.0.safetensors"]},{"id":54,"type":"LoadImage","pos":{"0":729,"1":-490},"size":{"0":315,"1":314},"flags":{},"order":9,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[126],"slot_index":0,"shape":3,"label":"图像"},{"name":"MASK","type":"MASK","links":null,"shape":3,"label":"遮罩"}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["6BFB4B41AD414425E598A0B25FBF5197.jpg","image"]}],"links":[[41,6,0,26,0,"CONDITIONING"],[83,47,0,48,1,"GUIDER"],[84,25,0,48,0,"NOISE"],[85,16,0,48,2,"SAMPLER"],[86,27,0,48,4,"LATENT"],[87,48,0,49,0,"LATENT"],[88,10,0,49,1,"VAE"],[89,49,0,50,0,"IMAGE"],[93,17,0,48,3,"SIGMAS"],[107,26,0,47,1,"CONDITIONING"],[122,62,0,47,0,"MODEL"],[123,51,0,62,2,"EVA_CLIP"],[124,53,0,62,3,"FACEANALYSIS"],[125,45,0,62,1,"PULIDFLUX"],[126,54,0,62,4,"IMAGE"],[127,31,0,62,0,"MODEL"],[128,41,0,6,0,"CLIP"],[129,31,0,17,0,"MODEL"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.1,"offset":[67.19253624318497,452.7727717495126]}},"version":0.4}

Additional Context

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



### Other

_No response_
devrosx commented 1 month ago

hello hi i had the same problem and it's because of insightface (dir inside dir) here is fix https://github.com/deepinsight/insightface/issues/2517

also epicRealism.safetensors file is missing...

ziko-21 commented 3 weeks ago

在antelopev2.zip处下载了文件到“ComfyUI\models\insightface\models\”这个目录下,然后进行解压安装,解压后的路径是“ComfuUI\models\insightface\models\antelopev2\antelopev2\”,然后路径下的文件全部剪切到了“ComfyUI\models\insightface\models\antelopev2\”里重启就正常了。说明在软件进行解压时,多了一层目录

Neilni2099 commented 3 weeks ago

感谢大神,我回去测试下。

---Original--- From: @.> Date: Thu, Oct 10, 2024 17:52 PM To: @.>; Cc: @.**@.>; Subject: Re: [comfyanonymous/ComfyUI] PulidFluxInsightFaceLoader Issue (Issue#5133)

在antelopev2.zip处下载了文件到“ComfyUI\models\insightface\models\”这个目录下,然后进行解压安装,解压后的路径是“ComfuUI\models\insightface\models\antelopev2\antelopev2\”,然后路径下的文件全部剪切到了“ComfyUI\models\insightface\models\antelopev2\”里重启就正常了。说明在软件进行解压时,多了一层目录

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

gajendrajha09 commented 3 weeks ago

Download the file from antelopev2.zip to the directory "ComfyUI\models\insightface\models\", then unzip and install it. The unzipped path is "ComfuUI\models\insightface\models\antelopev2\antelopev2\", then cut all the files in the path to "ComfyUI\models\insightface\models\antelopev2\" and restart it to work normally. This means that when the software is unzipped, there is an extra layer of directory

This worked for me

qiiq1217 commented 2 weeks ago

在antelopev2.zip处下载了文件到“ComfyUI\models\insightface\models\”这个目录下,然后进行解压安装,解压后的路径是“ComfuUI\models\insightface\models\antelopev2\antelopev2\”,然后路径下面的文件全部剪切到了“ComfyUI\models\insightface\models\antelopev2\”里重启就正常了。说明在软件进行解压时,多了一层目录

very nice.Worked for me too

Neilni2099 commented 2 weeks ago

谢谢

---Original--- From: @.> Date: Sun, Oct 20, 2024 20:21 PM To: @.>; Cc: @.**@.>; Subject: Re: [comfyanonymous/ComfyUI] PulidFluxInsightFaceLoader Issue (Issue#5133)

在antelopev2.zip处下载了文件到“ComfyUI\models\insightface\models\”这个目录下,然后进行解压安装,解压后的路径是“ComfuUI\models\insightface\models\antelopev2\antelopev2\”,然后路径下面的文件全部剪切到了“ComfyUI\models\insightface\models\antelopev2\”里重启就正常了。说明在软件进行解压时,多了一层目录

very nice.Worked for me too

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

krajacic commented 1 week ago

hello hi i had the same problem and it's because of insightface (dir inside dir) here is fix deepinsight/insightface#2517

also epicRealism.safetensors file is missing...

Thanks a lot man! This helped me! It was really dir inside dir \models\insightface\models\antelopev2\antelopev2\

Neilni2099 commented 1 week ago

在antelopev2.zip处下载了文件到“ComfyUI\models\insightface\models\”这个目录下,然后进行解压安装,解压后的路径是“ComfuUI\models\insightface\models\antelopev2\antelopev2\”,然后路径下的文件全部剪切到了“ComfyUI\models\insightface\models\antelopev2\”里重启就正常了。说明在软件进行解压时,多了一层目录

谢谢,已解决