Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PulidFluxInsightFaceLoader - ONNXRuntimeError #6407

Open
ViperSniper89 opened this issue Jan 9, 2025 · 8 comments
Open

PulidFluxInsightFaceLoader - ONNXRuntimeError #6407

ViperSniper89 opened this issue Jan 9, 2025 · 8 comments
Labels
User Support A user needs help with something, probably not a bug.

Comments

@ViperSniper89
Copy link

ViperSniper89 commented Jan 9, 2025

Your question

Hey there, I'm experiencing an issue while running PuLID. I'm using a cloud-based service, and my only way to extract the zip file of Antelopev2 is to manually pull them from huggingface. I use this link https://huggingface.co/MonsterMMORPG/tools/tree/main to pull those files and put them in the Antelopev2 Folder. When I started to generate images, I got this error: PulidFluxInsightFaceLoader [ONNXRuntimeError] : 7 : INVALID_PROTOBUF : Load model from /root/comfy/ComfyUI/models/insightface/models/antelopev2/1k3d68.onnx failed:Protobuf parsing failed.

Does someone have a similar issue in regard to this?

Logs

ComfyUI Error Report

Error Details

  • Node ID: 43
  • Node Type: PulidFluxInsightFaceLoader
  • Exception Type: onnxruntime.capi.onnxruntime_pybind11_state.InvalidProtobuf
  • Exception Message: [ONNXRuntimeError] : 7 : INVALID_PROTOBUF : Load model from /root/comfy/ComfyUI/models/insightface/models/antelopev2/1k3d68.onnx failed:Protobuf parsing failed.

Stack Trace

  File "/root/comfy/ComfyUI/execution.py", line 327, 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/comfy/ComfyUI/execution.py", line 202, 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/comfy/ComfyUI/execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)

  File "/root/comfy/ComfyUI/execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/root/comfy/ComfyUI/custom_nodes/ComfyUI-PuLID-Flux-Enhanced/pulidflux.py", line 279, in load_insightface
    model = FaceAnalysis(name="antelopev2", root=INSIGHTFACE_DIR, providers=[provider + 'ExecutionProvider',]) # alternative to buffalo_l
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/insightface/app/face_analysis.py", line 31, in __init__
    model = model_zoo.get_model(onnx_file, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/insightface/model_zoo/model_zoo.py", line 96, in get_model
    model = router.get_model(providers=providers, provider_options=provider_options)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/insightface/model_zoo/model_zoo.py", line 40, in get_model
    session = PickableInferenceSession(self.onnx_file, **kwargs)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/insightface/model_zoo/model_zoo.py", line 25, in __init__
    super().__init__(model_path, **kwargs)

  File "/usr/local/lib/python3.12/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 465, in __init__
    self._create_inference_session(providers, provider_options, disabled_optimizers)

  File "/usr/local/lib/python3.12/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 526, in _create_inference_session
    sess = C.InferenceSession(session_options, self._model_path, True, self._read_config_from_model)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

System Information

  • ComfyUI Version: v0.3.10-40-gd0f3752
  • Arguments: main.py --listen 0.0.0.0 --port 8000
  • OS: posix
  • Python Version: 3.12.6 (main, Sep 27 2024, 06:10:12) [GCC 12.2.0]
  • Embedded Python: false
  • PyTorch Version: 2.5.1+cu124

Devices

  • Name: cuda:0 NVIDIA A10 : cudaMallocAsync
    • Type: cuda
    • VRAM Total: 23819976704
    • VRAM Free: 23576903680
    • Torch VRAM Total: 0
    • Torch VRAM Free: 0

Logs

2025-01-09T08:14:21.023771 - [START] Security scan2025-01-09T08:14:21.023791 - 
2025-01-09T08:14:21.973305 - [DONE] Security scan2025-01-09T08:14:21.973327 - 
2025-01-09T08:14:22.032534 - ## ComfyUI-Manager: installing dependencies done.2025-01-09T08:14:22.032598 - 
2025-01-09T08:14:22.032624 - ** ComfyUI startup time:2025-01-09T08:14:22.032645 -  2025-01-09T08:14:22.032667 - 2025-01-09 08:14:22.0326072025-01-09T08:14:22.032685 - 
2025-01-09T08:14:22.032709 - ** Platform:2025-01-09T08:14:22.032727 -  2025-01-09T08:14:22.032745 - Linux2025-01-09T08:14:22.032762 - 
2025-01-09T08:14:22.032781 - ** Python version:2025-01-09T08:14:22.032799 -  2025-01-09T08:14:22.032817 - 3.12.6 (main, Sep 27 2024, 06:10:12) [GCC 12.2.0]2025-01-09T08:14:22.032834 - 
2025-01-09T08:14:22.032852 - ** Python executable:2025-01-09T08:14:22.032869 -  2025-01-09T08:14:22.032886 - /usr/local/bin/python2025-01-09T08:14:22.032903 - 
2025-01-09T08:14:22.032921 - ** ComfyUI Path:2025-01-09T08:14:22.032941 -  2025-01-09T08:14:22.032958 - /root/comfy/ComfyUI2025-01-09T08:14:22.032975 - 
2025-01-09T08:14:22.032998 - ** Log path:2025-01-09T08:14:22.033015 -  2025-01-09T08:14:22.033033 - /root/comfy/ComfyUI/user/comfyui.log2025-01-09T08:14:22.033050 - 
2025-01-09T08:14:23.127388 - 
Prestartup times for custom nodes:
2025-01-09T08:14:23.127599 -    0.0 seconds: /root/comfy/ComfyUI/custom_nodes/rgthree-comfy
2025-01-09T08:14:23.127679 -    0.0 seconds: /root/comfy/ComfyUI/custom_nodes/comfyui-easy-use
2025-01-09T08:14:23.127731 -    2.3 seconds: /root/comfy/ComfyUI/custom_nodes/ComfyUI-Manager
2025-01-09T08:14:23.127777 - 
2025-01-09T08:14:25.855311 - Total VRAM 22716 MB, total RAM 928061 MB
2025-01-09T08:14:25.855454 - pytorch version: 2.5.1+cu124
2025-01-09T08:14:25.855738 - Set vram state to: NORMAL_VRAM
2025-01-09T08:14:25.856016 - Device: cuda:0 NVIDIA A10 : cudaMallocAsync
2025-01-09T08:14:27.712994 - Using pytorch attention
2025-01-09T08:14:29.531917 - [Prompt Server] web root: /root/comfy/ComfyUI/web
2025-01-09T08:14:30.336552 - /root/comfy/ComfyUI/custom_nodes/ComfyUI_Comfyroll_CustomNodes/nodes/nodes_list.py:383: SyntaxWarning: invalid escape sequence '\W'
  "optional": {"folder_path": ("STRING", {"default": "C:\Windows\Fonts", "multiline": False}),
2025-01-09T08:14:30.336667 - /root/comfy/ComfyUI/custom_nodes/ComfyUI_Comfyroll_CustomNodes/nodes/nodes_list.py:393: SyntaxWarning: invalid escape sequence '\W'
  def make_list(self, source_folder, start_index, max_rows, folder_path="C:\Windows\Fonts"):
2025-01-09T08:14:30.360251 - /root/comfy/ComfyUI/custom_nodes/ComfyUI_Comfyroll_CustomNodes/nodes/nodes_xygrid.py:256: SyntaxWarning: invalid escape sequence '\R'
  resolved_font_path = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), "fonts\Roboto-Regular.ttf")
2025-01-09T08:14:30.837618 - generated new fontManager
2025-01-09T08:14:31.126598 - ------------------------------------------2025-01-09T08:14:31.126649 - 
2025-01-09T08:14:31.126675 - �[34mComfyroll Studio v1.76 : �[92m 175 Nodes Loaded�[0m2025-01-09T08:14:31.126695 - 
2025-01-09T08:14:31.126716 - ------------------------------------------2025-01-09T08:14:31.126734 - 
2025-01-09T08:14:31.126754 - ** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md2025-01-09T08:14:31.126773 - 
2025-01-09T08:14:31.126793 - ** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki2025-01-09T08:14:31.126811 - 
2025-01-09T08:14:31.126830 - ------------------------------------------2025-01-09T08:14:31.126848 - 
2025-01-09T08:14:31.331090 - Creating new Ultralytics Settings v0.0.6 file ✅ 
View Ultralytics Settings with 'yolo settings' or at '/root/.config/Ultralytics/settings.json'
Update Settings with 'yolo settings key=value', i.e. 'yolo settings runs_dir=path/to/dir'. For help see https://docs.ultralytics.com/quickstart/#ultralytics-settings.
2025-01-09T08:14:31.455664 - ### Loading: ComfyUI-Impact-Subpack (V1.2.6)
2025-01-09T08:14:31.463675 - [Impact Subpack] ultralytics_bbox: /root/comfy/ComfyUI/models/ultralytics/bbox
2025-01-09T08:14:31.463776 - [Impact Subpack] ultralytics_segm: /root/comfy/ComfyUI/models/ultralytics/segm
2025-01-09T08:14:32.431305 - /usr/local/lib/python3.12/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)
2025-01-09T08:14:33.475446 - Eden_Comfy_Pipelines: WARNING: Could not find OPENAI_API_KEY in .env, disabling gpt prompt generation.2025-01-09T08:14:33.475492 - 
2025-01-09T08:14:33.545979 - ### Loading: ComfyUI-Impact-Pack (V8.2)2025-01-09T08:14:33.546031 - 
2025-01-09T08:14:33.691139 - [Impact Pack] Wildcards loading done.2025-01-09T08:14:33.691210 - 
2025-01-09T08:14:34.247790 - �[34m[ComfyUI-Easy-Use] server: �[0mv1.2.6 �[92mLoaded�[0m2025-01-09T08:14:34.247849 - 
2025-01-09T08:14:34.247885 - �[34m[ComfyUI-Easy-Use] web root: �[0m/root/comfy/ComfyUI/custom_nodes/comfyui-easy-use/web_version/v2 �[92mLoaded�[0m2025-01-09T08:14:34.247908 - 
2025-01-09T08:14:34.265643 - ### Loading: ComfyUI-Manager (V3.3.13)
2025-01-09T08:14:34.317417 - ### ComfyUI Version: v0.3.10-40-gd0f3752 | Released on '2025-01-07'
2025-01-09T08:14:34.355265 - Total VRAM 22716 MB, total RAM 928061 MB
2025-01-09T08:14:34.355464 - pytorch version: 2.5.1+cu124
2025-01-09T08:14:34.355906 - Set vram state to: NORMAL_VRAM
2025-01-09T08:14:34.356065 - Device: cuda:0 NVIDIA A10 : cudaMallocAsync
2025-01-09T08:14:34.452030 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
2025-01-09T08:14:34.461083 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
2025-01-09T08:14:34.473217 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
2025-01-09T08:14:34.480563 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
2025-01-09T08:14:34.507743 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
2025-01-09T08:14:35.212270 - /usr/local/lib/python3.12/site-packages/albumentations/__init__.py:13: UserWarning: A new version of Albumentations is available: 2.0.0 (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()
2025-01-09T08:14:35.369126 - Please 'pip install xformers'2025-01-09T08:14:35.369178 - 
2025-01-09T08:14:35.369959 - Nvidia APEX normalization not installed, using PyTorch LayerNorm2025-01-09T08:14:35.369985 - 
2025-01-09T08:14:35.503473 - /root/comfy/ComfyUI/custom_nodes/rgthree-comfy/py/power_prompt_utils.py:11: SyntaxWarning: invalid escape sequence '\d'
  pattern = '<lora:([^:>]*?)(?::(-?\d*(?:\.\d*)?))?>'
2025-01-09T08:14:35.518543 - 
2025-01-09T08:14:35.518620 - �[92m[rgthree-comfy] Loaded 42 extraordinary nodes. 🎉�[00m2025-01-09T08:14:35.518645 - 
2025-01-09T08:14:35.518670 - 
2025-01-09T08:14:35.572341 - /root/comfy/ComfyUI/custom_nodes/pr-was-node-suite-comfyui-47064894/WAS_Node_Suite.py:7352: SyntaxWarning: invalid escape sequence '\o'
  if output_path.endswith("ComfyUI/output") or output_path.endswith("ComfyUI\output"):
2025-01-09T08:14:35.900026 - �[34mWAS Node Suite: �[0mCreated default conf file at `/root/comfy/ComfyUI/custom_nodes/pr-was-node-suite-comfyui-47064894/was_suite_config.json`.�[0m2025-01-09T08:14:35.900072 - 
2025-01-09T08:14:36.397851 - �[34mWAS Node Suite: �[0mOpenCV Python FFMPEG support is enabled�[0m2025-01-09T08:14:36.397901 - 
2025-01-09T08:14:36.397953 - �[34mWAS Node Suite �[93mWarning: �[0m`ffmpeg_bin_path` is not set in `/root/comfy/ComfyUI/custom_nodes/pr-was-node-suite-comfyui-47064894/was_suite_config.json` config file. Will attempt to use system ffmpeg binaries if available.�[0m2025-01-09T08:14:36.397974 - 
2025-01-09T08:14:36.868118 - �[34mWAS Node Suite: �[0mFinished.�[0m �[32mLoaded�[0m �[0m220�[0m �[32mnodes successfully.�[0m2025-01-09T08:14:36.868163 - 
2025-01-09T08:14:36.868201 - 
	�[3m�[93m"Art enables us to find ourselves and lose ourselves at the same time."�[0m�[3m - Thomas Merton�[0m
2025-01-09T08:14:36.868220 - 
2025-01-09T08:14:36.904598 - /root/comfy/ComfyUI/custom_nodes/comfyui_essentials/conditioning.py:231: SyntaxWarning: invalid escape sequence '\.'
  """
2025-01-09T08:14:36.913821 - �[36;20m[comfyui_controlnet_aux] | INFO -> Using ckpts path: /root/comfy/ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts�[0m
2025-01-09T08:14:36.913906 - �[36;20m[comfyui_controlnet_aux] | INFO -> Using symlinks: False�[0m
2025-01-09T08:14:36.913973 - �[36;20m[comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']�[0m
2025-01-09T08:14:36.965258 - DWPose: Onnxruntime with acceleration providers detected2025-01-09T08:14:36.965312 - 
2025-01-09T08:14:36.998916 - 
Import times for custom nodes:
2025-01-09T08:14:36.999046 -    0.0 seconds: /root/comfy/ComfyUI/custom_nodes/websocket_image_save.py
2025-01-09T08:14:36.999100 -    0.0 seconds: /root/comfy/ComfyUI/custom_nodes/cg-use-everywhere
2025-01-09T08:14:36.999141 -    0.0 seconds: /root/comfy/ComfyUI/custom_nodes/comfyui-impact-subpack
2025-01-09T08:14:36.999178 -    0.0 seconds: /root/comfy/ComfyUI/custom_nodes/comfy-image-saver
2025-01-09T08:14:36.999216 -    0.0 seconds: /root/comfy/ComfyUI/custom_nodes/comfyui_ultimatesdupscale
2025-01-09T08:14:36.999251 -    0.0 seconds: /root/comfy/ComfyUI/custom_nodes/ComfyUI-GGUF
2025-01-09T08:14:36.999285 -    0.0 seconds: /root/comfy/ComfyUI/custom_nodes/comfyui_essentials
2025-01-09T08:14:36.999320 -    0.0 seconds: /root/comfy/ComfyUI/custom_nodes/rgthree-comfy
2025-01-09T08:14:36.999367 -    0.1 seconds: /root/comfy/ComfyUI/custom_nodes/ComfyUI-Manager
2025-01-09T08:14:36.999406 -    0.1 seconds: /root/comfy/ComfyUI/custom_nodes/comfyui_controlnet_aux
2025-01-09T08:14:36.999442 -    0.1 seconds: /root/comfy/ComfyUI/custom_nodes/comfyui-kjnodes
2025-01-09T08:14:36.999476 -    0.2 seconds: /root/comfy/ComfyUI/custom_nodes/comfyui-impact-pack
2025-01-09T08:14:36.999510 -    0.3 seconds: /root/comfy/ComfyUI/custom_nodes/comfyui-advancedliveportrait
2025-01-09T08:14:36.999544 -    0.5 seconds: /root/comfy/ComfyUI/custom_nodes/comfyui-easy-use
2025-01-09T08:14:36.999577 -    0.8 seconds: /root/comfy/ComfyUI/custom_nodes/ComfyUI_Comfyroll_CustomNodes
2025-01-09T08:14:36.999611 -    1.0 seconds: /root/comfy/ComfyUI/custom_nodes/ComfyUI-PuLID-Flux-Enhanced
2025-01-09T08:14:36.999645 -    1.4 seconds: /root/comfy/ComfyUI/custom_nodes/pr-was-node-suite-comfyui-47064894
2025-01-09T08:14:36.999678 -    2.0 seconds: /root/comfy/ComfyUI/custom_nodes/eden_comfy_pipelines
2025-01-09T08:14:36.999713 - 
2025-01-09T08:14:37.010501 - Starting server

2025-01-09T08:14:37.010811 - To see the GUI go to: http://0.0.0.0:8000
2025-01-09T08:16:48.266157 - FETCH DATA from: /root/comfy/ComfyUI/custom_nodes/ComfyUI-Manager/extension-node-map.json2025-01-09T08:16:48.266267 - 2025-01-09T08:16:48.273500 -  [DONE]2025-01-09T08:16:48.273530 - 
2025-01-09T08:16:49.098144 - FETCH DATA from: /root/comfy/ComfyUI/user/default/ComfyUI-Manager/cache/2233941102_nodes_page_1_limit_1000.json2025-01-09T08:16:49.098183 - 2025-01-09T08:16:49.107810 -  [DONE]2025-01-09T08:16:49.107841 - 
2025-01-09T08:16:49.123016 - nightly_channel: 
https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/cache
2025-01-09T08:16:49.123134 - FETCH DATA from: /root/comfy/ComfyUI/user/default/ComfyUI-Manager/cache/1514988643_custom-node-list.json2025-01-09T08:16:49.123151 - 2025-01-09T08:16:49.128860 -  [DONE]2025-01-09T08:16:49.128890 - 
2025-01-09T08:17:37.571011 - got prompt
2025-01-09T08:17:37.840337 - Using pytorch attention in VAE
2025-01-09T08:17:37.843002 - Using pytorch attention in VAE
2025-01-09T08:17:38.048788 - VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
2025-01-09T08:17:39.525589 - !!! Exception during processing !!! [ONNXRuntimeError] : 7 : INVALID_PROTOBUF : Load model from /root/comfy/ComfyUI/models/insightface/models/antelopev2/1k3d68.onnx failed:Protobuf parsing failed.
2025-01-09T08:17:39.527753 - Traceback (most recent call last):
  File "/root/comfy/ComfyUI/execution.py", line 327, 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/comfy/ComfyUI/execution.py", line 202, 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/comfy/ComfyUI/execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)
  File "/root/comfy/ComfyUI/execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/comfy/ComfyUI/custom_nodes/ComfyUI-PuLID-Flux-Enhanced/pulidflux.py", line 279, in load_insightface
    model = FaceAnalysis(name="antelopev2", root=INSIGHTFACE_DIR, providers=[provider + 'ExecutionProvider',]) # alternative to buffalo_l
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/insightface/app/face_analysis.py", line 31, in __init__
    model = model_zoo.get_model(onnx_file, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/insightface/model_zoo/model_zoo.py", line 96, in get_model
    model = router.get_model(providers=providers, provider_options=provider_options)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/insightface/model_zoo/model_zoo.py", line 40, in get_model
    session = PickableInferenceSession(self.onnx_file, **kwargs)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/insightface/model_zoo/model_zoo.py", line 25, in __init__
    super().__init__(model_path, **kwargs)
  File "/usr/local/lib/python3.12/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 465, in __init__
    self._create_inference_session(providers, provider_options, disabled_optimizers)
  File "/usr/local/lib/python3.12/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 526, in _create_inference_session
    sess = C.InferenceSession(session_options, self._model_path, True, self._read_config_from_model)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
onnxruntime.capi.onnxruntime_pybind11_state.InvalidProtobuf: [ONNXRuntimeError] : 7 : INVALID_PROTOBUF : Load model from /root/comfy/ComfyUI/models/insightface/models/antelopev2/1k3d68.onnx failed:Protobuf parsing failed.

2025-01-09T08:17:39.528696 - Prompt executed in 1.94 seconds

Attached Workflow

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

{"last_node_id":123,"last_link_id":201,"nodes":[{"id":64,"type":"CLIPTextEncode","pos":[873,545],"size":[380.13427734375,54.25347137451172],"flags":{"collapsed":false},"order":20,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":128},{"name":"text","type":"STRING","link":91,"widget":{"name":"text"}}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[88],"slot_index":0}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["double letters, repeating letters, blurry, frame"],"color":"#322","bgcolor":"#533"},{"id":45,"type":"ApplyPulidFlux","pos":[468,92],"size":[315,346],"flags":{},"order":18,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":71},{"name":"pulid_flux","type":"PULIDFLUX","link":72},{"name":"eva_clip","type":"EVA_CLIP","link":73},{"name":"face_analysis","type":"FACEANALYSIS","link":74},{"name":"image","type":"IMAGE","link":75},{"name":"attn_mask","type":"MASK","link":null,"shape":7},{"name":"prior_image","type":"IMAGE","link":null,"shape":7}],"outputs":[{"name":"MODEL","type":"MODEL","links":[192],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"ApplyPulidFlux","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":[0.8,0,1,"mean",1,0,1000,true],"color":"#223","bgcolor":"#335"},{"id":63,"type":"VAELoader","pos":[1352,551],"size":[300.17742919921875,58],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"VAE","type":"VAE","links":[83,93,153],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"VAELoader"},"widgets_values":["ae.safetensors"],"color":"#323","bgcolor":"#535"},{"id":42,"type":"PulidFluxEvaClipLoader","pos":[24,373],"size":[312.9228210449219,26],"flags":{"collapsed":false},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"EVA_CLIP","type":"EVA_CLIP","links":[73],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"PulidFluxEvaClipLoader","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":[],"color":"#223","bgcolor":"#335"},{"id":101,"type":"UpscaleModelLoader","pos":[4121,87],"size":[315,58],"flags":{},"order":2,"mode":4,"inputs":[],"outputs":[{"name":"UPSCALE_MODEL","type":"UPSCALE_MODEL","links":[141],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"UpscaleModelLoader","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["4x-ClearRealityV1.pth"],"color":"#223","bgcolor":"#335"},{"id":100,"type":"UltimateSDUpscale","pos":[4124,211],"size":[315,826],"flags":{},"order":31,"mode":4,"inputs":[{"name":"image","type":"IMAGE","link":143},{"name":"model","type":"MODEL","link":145},{"name":"positive","type":"CONDITIONING","link":186},{"name":"negative","type":"CONDITIONING","link":160},{"name":"vae","type":"VAE","link":146},{"name":"upscale_model","type":"UPSCALE_MODEL","link":141}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[142,158],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"UltimateSDUpscale","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":[2,384340151733828,"fixed",22,1,"deis","beta",0.2,"Linear",1024,1024,8,32,"None",1,64,8,16,true,false],"color":"#223","bgcolor":"#335"},{"id":109,"type":"SaveImageAdvanced","pos":[4484,199],"size":[719.5396118164062,840.6585083007812],"flags":{},"order":33,"mode":4,"inputs":[{"name":"images","type":"IMAGE","link":158}],"outputs":[],"properties":{"Node name for S&R":"SaveImageAdvanced","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["ComfyUI",true,true],"color":"#223","bgcolor":"#335"},{"id":102,"type":"PreviewImage","pos":[5250,190],"size":[735.0777587890625,842.7610473632812],"flags":{},"order":32,"mode":4,"inputs":[{"name":"images","type":"IMAGE","link":142}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":[],"color":"#223","bgcolor":"#335"},{"id":48,"type":"Note","pos":[3066,591],"size":[311.06103515625,204.2412872314453],"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["※ Errors may occasionally occur,\nIf you press the Queue button again\nIt works.\n\n※ 가끔씩 오류가 일어날 수 있으니,\nQueue 버튼을 다시 한번 눌러주면\n동작합니다."],"color":"#432","bgcolor":"#653"},{"id":103,"type":"ToBasicPipe","pos":[2717,998],"size":[288.253662109375,106],"flags":{"collapsed":false},"order":25,"mode":4,"inputs":[{"name":"model","type":"MODEL","link":190},{"name":"clip","type":"CLIP","link":194},{"name":"vae","type":"VAE","link":153},{"name":"positive","type":"CONDITIONING","link":187},{"name":"negative","type":"CONDITIONING","link":148}],"outputs":[{"name":"basic_pipe","type":"BASIC_PIPE","links":[144],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"ToBasicPipe","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":[],"color":"#223","bgcolor":"#335"},{"id":104,"type":"FromBasicPipe_v2","pos":[3686,993],"size":[267,126],"flags":{"collapsed":false},"order":27,"mode":4,"inputs":[{"name":"basic_pipe","type":"BASIC_PIPE","link":144}],"outputs":[{"name":"basic_pipe","type":"BASIC_PIPE","links":[],"slot_index":0,"shape":3},{"name":"model","type":"MODEL","links":[145],"slot_index":1,"shape":3},{"name":"clip","type":"CLIP","links":null,"slot_index":2,"shape":3},{"name":"vae","type":"VAE","links":[146],"slot_index":3,"shape":3},{"name":"positive","type":"CONDITIONING","links":[],"slot_index":4,"shape":3},{"name":"negative","type":"CONDITIONING","links":[],"slot_index":5,"shape":3}],"properties":{"Node name for S&R":"FromBasicPipe_v2","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":[],"color":"#223","bgcolor":"#335"},{"id":16,"type":"KSamplerSelect","pos":[2708,451],"size":[286.4587097167969,59.75437545776367],"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[{"name":"SAMPLER","type":"SAMPLER","links":[19],"shape":3}],"properties":{"Node name for S&R":"KSamplerSelect","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["deis"],"color":"#223","bgcolor":"#335"},{"id":17,"type":"BasicScheduler","pos":[2708,618],"size":[285.9133605957031,106],"flags":{},"order":23,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":177,"slot_index":0}],"outputs":[{"name":"SIGMAS","type":"SIGMAS","links":[20],"shape":3}],"properties":{"Node name for S&R":"BasicScheduler","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["beta",25,1],"color":"#223","bgcolor":"#335"},{"id":22,"type":"BasicGuider","pos":[2708,237],"size":[268.9945983886719,46],"flags":{"collapsed":false},"order":26,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":176,"slot_index":0},{"name":"conditioning","type":"CONDITIONING","link":200,"slot_index":1}],"outputs":[{"name":"GUIDER","type":"GUIDER","links":[30],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"BasicGuider","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":[],"color":"#223","bgcolor":"#335"},{"id":13,"type":"SamplerCustomAdvanced","pos":[3068,423],"size":[310.5736083984375,106],"flags":{"collapsed":false},"order":28,"mode":0,"inputs":[{"name":"noise","type":"NOISE","link":37,"slot_index":0},{"name":"guider","type":"GUIDER","link":30,"slot_index":1},{"name":"sampler","type":"SAMPLER","link":19,"slot_index":2},{"name":"sigmas","type":"SIGMAS","link":20,"slot_index":3},{"name":"latent_image","type":"LATENT","link":181,"slot_index":4}],"outputs":[{"name":"output","type":"LATENT","links":[201],"slot_index":0,"shape":3},{"name":"denoised_output","type":"LATENT","links":null,"shape":3}],"properties":{"Node name for S&R":"SamplerCustomAdvanced","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":[],"color":"#223","bgcolor":"#335"},{"id":9,"type":"SaveImage","pos":[3425,339],"size":[559.620361328125,538.873046875],"flags":{},"order":30,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":125}],"outputs":[],"properties":{"Node name for S&R":"SaveImage","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["ComfyUI"],"color":"#223","bgcolor":"#335"},{"id":61,"type":"ControlNetApplySD3","pos":[1699,304],"size":[315,186],"flags":{},"order":22,"mode":0,"inputs":[{"name":"positive","type":"CONDITIONING","link":85},{"name":"negative","type":"CONDITIONING","link":88},{"name":"control_net","type":"CONTROL_NET","link":163},{"name":"vae","type":"VAE","link":83},{"name":"image","type":"IMAGE","link":174}],"outputs":[{"name":"positive","type":"CONDITIONING","links":[184],"slot_index":0,"shape":3},{"name":"negative","type":"CONDITIONING","links":[148,160],"slot_index":1,"shape":3}],"properties":{"Node name for S&R":"ControlNetApplySD3"},"widgets_values":[0.66,0,0.4],"color":"#223","bgcolor":"#335"},{"id":121,"type":"FluxGuidance","pos":[2108,303],"size":[296.9443664550781,58],"flags":{},"order":24,"mode":0,"inputs":[{"name":"conditioning","type":"CONDITIONING","link":184}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[186,187,200],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"FluxGuidance"},"widgets_values":[4.2],"color":"#233","bgcolor":"#355"},{"id":119,"type":"PrimitiveNode","pos":[2080,810],"size":[210,82],"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[{"name":"INT","type":"INT","links":[179,182],"slot_index":0,"widget":{"name":"width"}}],"title":"width","properties":{"Run widget replace on values":false},"widgets_values":[1120,"fixed"],"color":"#323","bgcolor":"#535"},{"id":120,"type":"PrimitiveNode","pos":[2080,1040],"size":[210,82],"flags":{},"order":6,"mode":0,"inputs":[],"outputs":[{"name":"INT","type":"INT","links":[180,183],"slot_index":0,"widget":{"name":"height"}}],"title":"height","properties":{"Run widget replace on values":false},"widgets_values":[1024,"fixed"],"color":"#323","bgcolor":"#535"},{"id":118,"type":"EmptySD3LatentImage","pos":[2700,810],"size":[290.5823669433594,87.0170669555664],"flags":{},"order":17,"mode":0,"inputs":[{"name":"width","type":"INT","link":179,"widget":{"name":"width"}},{"name":"height","type":"INT","link":180,"widget":{"name":"height"}}],"outputs":[{"name":"LATENT","type":"LATENT","links":[181],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"EmptySD3LatentImage","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":[1120,1024,1],"color":"#223","bgcolor":"#335"},{"id":117,"type":"ModelSamplingFlux","pos":[2325,908],"size":[288.02801513671875,122.95650482177734],"flags":{},"order":21,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":192,"slot_index":0},{"name":"width","type":"INT","link":182,"slot_index":1,"widget":{"name":"width"}},{"name":"height","type":"INT","link":183,"slot_index":2,"widget":{"name":"height"}}],"outputs":[{"name":"MODEL","type":"MODEL","links":[176,177,190],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"ModelSamplingFlux","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":[1.15,0.5,1120,1024],"color":"#223","bgcolor":"#335"},{"id":8,"type":"VAEDecode","pos":[3109,224],"size":[171.0832061767578,60.815067291259766],"flags":{"collapsed":false},"order":29,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":201},{"name":"vae","type":"VAE","link":93}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[125,143],"slot_index":0}],"properties":{"Node name for S&R":"VAEDecode","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":[],"color":"#223","bgcolor":"#335"},{"id":123,"type":"Note","pos":[2543,-258],"size":[530.973876953125,218.3707733154297],"flags":{},"order":7,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["1022494884343140\n761010382214471\n893746614068142"],"color":"#432","bgcolor":"#653"},{"id":25,"type":"RandomNoise","pos":[2711,94],"size":[269.5328369140625,82],"flags":{},"order":8,"mode":0,"inputs":[],"outputs":[{"name":"NOISE","type":"NOISE","links":[37],"shape":3}],"properties":{"Node name for S&R":"RandomNoise","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":[434222734850635,"randomize"],"color":"#223","bgcolor":"#335"},{"id":43,"type":"PulidFluxInsightFaceLoader","pos":[26.508506774902344,497.48883056640625],"size":[311.86822509765625,59.9342155456543],"flags":{},"order":9,"mode":0,"inputs":[],"outputs":[{"name":"FACEANALYSIS","type":"FACEANALYSIS","links":[74],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"PulidFluxInsightFaceLoader","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["CUDA"],"color":"#223","bgcolor":"#335"},{"id":6,"type":"CLIPTextEncode","pos":[865,295],"size":[390.994384765625,172.54156494140625],"flags":{},"order":19,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":127}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[85],"slot_index":0}],"properties":{"Node name for S&R":"CLIPTextEncode","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["Highly detailed, realistic image of a young Filipina woman with fair skin and shoulder-length dark hair, sitting on a bed. She wears a cozy, off-shoulder cream sweater and white knee-high socks."],"color":"#223","bgcolor":"#335"},{"id":65,"type":"easy positive","pos":[871,697],"size":[387.3580322265625,180.25918579101562],"flags":{},"order":10,"mode":0,"inputs":[],"outputs":[{"name":"positive","type":"STRING","links":[91],"slot_index":0,"shape":3,"label":"正面提示词"}],"properties":{"Node name for S&R":"easy positive"},"widgets_values":["a young, stunning Filipina IG/OnlyFans model with medium-length, wavy dark brown hair that gently frames her oval face. She has glowing, radiant skin with a natural flush on her cheeks and soft, delicate features. Her almond-shaped dark brown eyes exude warmth and charm, framed by long, fluttery lashes. Her small, slightly upturned nose and full, natural pink lips add to her youthful and alluring appearance. She has a slender, petite figure with graceful shoulders and a hint of curves. She’s wearing a cozy, oversized off-shoulder sweater, seated in a pastel-hued, softly lit room that evokes intimacy and relaxation. The overall vibe is a mix of natural elegance, warmth, and quiet confidence, perfect for lifestyle and soft glamour content."],"color":"#232","bgcolor":"#353"},{"id":44,"type":"LoadImage","pos":[24.508522033691406,653.48876953125],"size":[316.0858459472656,468.89483642578125],"flags":{},"order":11,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[75],"slot_index":0,"shape":3},{"name":"MASK","type":"MASK","links":null,"shape":3}],"properties":{"Node name for S&R":"LoadImage","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["Untitled_4x (1).png","image"],"color":"#223","bgcolor":"#335"},{"id":57,"type":"LoadImage","pos":[1348,665],"size":[307.731689453125,435.85089111328125],"flags":{},"order":12,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[174],"slot_index":0,"shape":3},{"name":"MASK","type":"MASK","links":null,"shape":3}],"properties":{"Node name for S&R":"LoadImage","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["Pose_sheet_v02.png","image"],"color":"#223","bgcolor":"#335"},{"id":40,"type":"UnetLoaderGGUF","pos":[20,90],"size":[315,58],"flags":{},"order":13,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[71],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"UnetLoaderGGUF","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["flux1-dev-Q4_0.gguf"],"color":"#223","bgcolor":"#335"},{"id":41,"type":"PulidFluxModelLoader","pos":[28,222],"size":[304.9228210449219,58],"flags":{},"order":14,"mode":0,"inputs":[],"outputs":[{"name":"PULIDFLUX","type":"PULIDFLUX","links":[72],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"PulidFluxModelLoader","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["pulid_flux_v0.9.1.safetensors"],"color":"#223","bgcolor":"#335"},{"id":11,"type":"DualCLIPLoader","pos":[857,94],"size":[395.333740234375,121.72151947021484],"flags":{},"order":15,"mode":0,"inputs":[],"outputs":[{"name":"CLIP","type":"CLIP","links":[127,128,194],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"DualCLIPLoader","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["clip_l.safetensors","t5xxl_fp8_e4m3fn.safetensors","flux","default"],"color":"#223","bgcolor":"#335"},{"id":110,"type":"ControlNetLoader","pos":[1346,190],"size":[298.7563171386719,71.60879516601562],"flags":{},"order":16,"mode":0,"inputs":[],"outputs":[{"name":"CONTROL_NET","type":"CONTROL_NET","links":[163],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"ControlNetLoader","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"}},"widgets_values":["flux/diffusion_pytorch_model.safetensors"],"color":"#223","bgcolor":"#335"}],"links":[[19,16,0,13,2,"SAMPLER"],[20,17,0,13,3,"SIGMAS"],[30,22,0,13,1,"GUIDER"],[37,25,0,13,0,"NOISE"],[71,40,0,45,0,"MODEL"],[72,41,0,45,1,"PULIDFLUX"],[73,42,0,45,2,"EVA_CLIP"],[74,43,0,45,3,"FACEANALYSIS"],[75,44,0,45,4,"IMAGE"],[83,63,0,61,3,"VAE"],[85,6,0,61,0,"CONDITIONING"],[88,64,0,61,1,"CONDITIONING"],[91,65,0,64,1,"STRING"],[93,63,0,8,1,"VAE"],[125,8,0,9,0,"IMAGE"],[127,11,0,6,0,"CLIP"],[128,11,0,64,0,"CLIP"],[141,101,0,100,5,"UPSCALE_MODEL"],[142,100,0,102,0,"IMAGE"],[143,8,0,100,0,"IMAGE"],[144,103,0,104,0,"BASIC_PIPE"],[145,104,1,100,1,"MODEL"],[146,104,3,100,4,"VAE"],[148,61,1,103,4,"CONDITIONING"],[153,63,0,103,2,"VAE"],[158,100,0,109,0,"IMAGE"],[160,61,1,100,3,"CONDITIONING"],[163,110,0,61,2,"CONTROL_NET"],[174,57,0,61,4,"IMAGE"],[176,117,0,22,0,"MODEL"],[177,117,0,17,0,"MODEL"],[179,119,0,118,0,"INT"],[180,120,0,118,1,"INT"],[181,118,0,13,4,"LATENT"],[182,119,0,117,1,"INT"],[183,120,0,117,2,"INT"],[184,61,0,121,0,"CONDITIONING"],[186,121,0,100,2,"CONDITIONING"],[187,121,0,103,3,"CONDITIONING"],[190,117,0,103,0,"MODEL"],[192,45,0,117,0,"MODEL"],[194,11,0,103,1,"CLIP"],[200,121,0,22,1,"CONDITIONING"],[201,13,0,8,0,"LATENT"]],"groups":[{"id":1,"title":"ControlNet","bounding":[1317,-2,724,1145],"color":"#3f789e","font_size":24,"flags":{}},{"id":2,"title":"Sampler","bounding":[2059,-7,1953,1149],"color":"#3f789e","font_size":24,"flags":{}},{"id":3,"title":"Text","bounding":[832,-2,456,1142],"color":"#3f789e","font_size":24,"flags":{}},{"id":4,"title":"GGUF PuLID","bounding":[2,-1,799,1141],"color":"#3f789e","font_size":24,"flags":{}},{"id":5,"title":"Upscale","bounding":[4034,-6,1973,1148],"color":"#3f789e","font_size":24,"flags":{}}],"config":{},"extra":{"ds":{"scale":0.8264462809917354,"offset":[-164.37159535569893,219.83270428558333]},"node_versions":{"comfy-core":"v0.3.10-40-gd0f3752","ComfyUI-PuLID-Flux-Enhanced":"afc9705e11ec9095bfbca96e6c1c9b06835cec82","comfyui_ultimatesdupscale":"ff3fdfeee03de46d4462211cffd165d27155e858","eden_comfy_pipelines":"35af96dba9df83a53013a48cda08a9556a1c8fef","comfyui-impact-pack":"12e838a3209202f4fbe06f1af8607cb1417560f5","comfyui-easy-use":"db14b955a59ef8568ed2511b73373d5437449341","ComfyUI-GGUF":"5875c52f59baca3a9372d68c43a3775e21846fe0"},"ue_links":[]},"version":0.4}

Additional Context

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

@ViperSniper89 ViperSniper89 added the User Support A user needs help with something, probably not a bug. label Jan 9, 2025
@ViperSniper89 ViperSniper89 changed the title PulidFluxInsightFaceLoader - 1k3d68.onnx failed:Protobuf parsing failed. PulidFluxInsightFaceLoader Jan 9, 2025
@ViperSniper89 ViperSniper89 changed the title PulidFluxInsightFaceLoader PulidFluxInsightFaceLoader - ONNXRuntimeError Jan 9, 2025
@ltdrdata
Copy link
Collaborator

ltdrdata commented Jan 9, 2025

It seems that the following model file is broken.
/root/comfy/ComfyUI/models/insightface/models/antelopev2/1k3d68.onnx

@ViperSniper89
Copy link
Author

It seems that the following model file is broken. /root/comfy/ComfyUI/models/insightface/models/antelopev2/1k3d68.onnx

I tried different links that hosted Antelopev2 and they given me same result.

@vanBearlow
Copy link

I was struggling as well with this error but i fixed it by going to C:\Users[USER]\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\models\insightface instead of the regular model folder. Hope this helps!

@ViperSniper89
Copy link
Author

ViperSniper89 commented Jan 9, 2025

I was struggling as well with this error but i fixed it by going to C:\Users[USER]\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\models\insightface instead of the regular model folder. Hope this helps!

Thanks for the advice, but the problem is I'm running it on a cloud-based service.

@Sniperoff
Copy link

Sniperoff commented Feb 1, 2025

I got same issue, but, my advice is CAREFULY check your model sizes file by file, when i downloaded it first time, i don't know why, but my model files was 48KB only. Check it with attention and download it again correctly.

@imedox
Copy link

imedox commented Feb 5, 2025

just copy the model to ComfyUI\models\insightface\models\buffalo_l to fix the issue that i do :D thanks to @guusvanberlo for the soluce

@ltdrdata
Copy link
Collaborator

ltdrdata commented Feb 6, 2025

I got same issue, but, my advice is CAREFULY check your model sizes file by file, when i downloaded it first time, i don't know why, but my model files was 48KB only. Check it with attention and download it again correctly.

This issue usually occurs when, instead of downloading the model file, a wrong link is saved as "Save As," resulting in an HTML page being downloaded.

@ltdrdata
Copy link
Collaborator

ltdrdata commented Feb 6, 2025

I was struggling as well with this error but i fixed it by going to C:\Users[USER]\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\models\insightface instead of the regular model folder. Hope this helps!

Thanks for the advice, but the problem is I'm running it on a cloud-based service.

You need to find the ComfyUI/models dir and create insightface dir.
And upload the model file to the dir.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
User Support A user needs help with something, probably not a bug.
Projects
None yet
Development

No branches or pull requests

5 participants