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

PytorchStreamReader failed reading zip archive: failed finding central directory #7469

Open
Rinsa520 opened this issue Apr 2, 2025 · 1 comment
Labels
Potential Bug User is reporting a bug. This should be tested.

Comments

@Rinsa520
Copy link

Rinsa520 commented Apr 2, 2025

Expected Behavior

系统信息
OS
nt
Python Version
3.12.9 (main, Feb 12 2025, 14:52:31) [MSC v.1942 64 bit (AMD64)]
Embedded Python
false
Pytorch Version
2.6.0+cu126

ComfyUI Error Report

Error Details

  • Node ID: 228
  • Node Type: DetectFaces
  • Exception Type: RuntimeError
  • Exception Message: PytorchStreamReader failed reading zip archive: failed finding central directory

Stack Trace

  File "C:\Users\hundu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\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 "C:\Users\hundu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\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 "C:\Users\hundu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)

  File "C:\Users\hundu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_facetools-main\nodes.py", line 93, in run
    unfiltered_faces = detect_faces(img, threshold)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_facetools-main\utils.py", line 130, in detect_faces
    dets = Models.yolo((img[None] / 255).permute(0,3,1,2), threshold)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_facetools-main\utils.py", line 57, in yolo
    cls._yolo = YOLO(os.path.join(models_dir,'ultralytics','bbox','face_yolov8m.pt'))
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\ultralytics\models\yolo\model.py", line 23, in __init__
    super().__init__(model=model, task=task, verbose=verbose)

  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\ultralytics\engine\model.py", line 145, in __init__
    self._load(model, task=task)

  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\ultralytics\engine\model.py", line 288, in _load
    self.model, self.ckpt = attempt_load_one_weight(weights)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\ultralytics\nn\tasks.py", line 910, in attempt_load_one_weight
    ckpt, weight = torch_safe_load(weight)  # load ckpt
                   ^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\ultralytics\nn\tasks.py", line 837, in torch_safe_load
    ckpt = torch.load(file, map_location="cpu")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-impact-subpack\modules\subcore.py", line 150, in torch_wrapper
    return orig_torch_load(*args, **kwargs)  # NOTE: This code simply delegates the call to torch.load, and any errors that occur here are not the responsibility of Subpack.
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\torch\serialization.py", line 1432, in load
    with _open_zipfile_reader(opened_file) as opened_zipfile:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\torch\serialization.py", line 763, in __init__
    super().__init__(torch._C.PyTorchFileReader(name_or_buffer))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

System Information

  • ComfyUI Version: 0.3.27
  • Arguments: C:\Users\hundu\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\main.py --user-directory C:\Users\hundu\Documents\ComfyUI\user --input-directory C:\Users\hundu\Documents\ComfyUI\input --output-directory C:\Users\hundu\Documents\ComfyUI\output --front-end-root C:\Users\hundu\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\web_custom_versions\desktop_app --base-directory C:\Users\hundu\Documents\ComfyUI --extra-model-paths-config C:\Users\hundu\AppData\Roaming\ComfyUI\extra_models_config.yaml --log-stdout --listen 127.0.0.1 --port 8006
  • OS: nt
  • Python Version: 3.12.9 (main, Feb 12 2025, 14:52:31) [MSC v.1942 64 bit (AMD64)]
  • Embedded Python: false
  • PyTorch Version: 2.6.0+cu126

Devices

  • Name: cuda:0 NVIDIA GeForce RTX 3060 : cudaMallocAsync
    • Type: cuda
    • VRAM Total: 12884377600
    • VRAM Free: 11566841828
    • Torch VRAM Total: 335544320
    • Torch VRAM Free: 167772132

Logs

2025-04-02T14:30:40.347966 - 
2025-04-02T14:30:40.347966 - ** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki2025-04-02T14:30:40.347966 - 
2025-04-02T14:30:40.347966 - ------------------------------------------2025-04-02T14:30:40.347966 - 
2025-04-02T14:30:40.353553 - �[36;20m[comfyui_controlnet_aux] | INFO -> Using ckpts path: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts�[0m
2025-04-02T14:30:40.353553 - �[36;20m[comfyui_controlnet_aux] | INFO -> Using symlinks: False�[0m
2025-04-02T14:30:40.353553 - �[36;20m[comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']�[0m
2025-04-02T14:30:40.373971 - C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\util.py:56: UserWarning: custom temp dir is too long. Using default
  warnings.warn(f"custom temp dir is too long. Using default")
2025-04-02T14:30:40.374975 - C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\dwpose.py:26: UserWarning: DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly
  warnings.warn("DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly")
2025-04-02T14:30:40.735919 - 设置插件环境...2025-04-02T14:30:40.735919 - 
2025-04-02T14:30:40.821955 - C:\Users\hundu\Documents\ComfyUI\.venv\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)
2025-04-02T14:30:40.921363 - Please 'pip install xformers'2025-04-02T14:30:40.921363 - 
2025-04-02T14:30:40.922906 - Nvidia APEX normalization not installed, using PyTorch LayerNorm2025-04-02T14:30:40.922906 - 
2025-04-02T14:30:40.997455 - Traceback (most recent call last):
  File "C:\Users\hundu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\nodes.py", line 2141, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap_external>", line 1132, in get_code
  File "<frozen importlib._bootstrap_external>", line 1190, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\hundu\\Documents\\ComfyUI\\custom_nodes\\comfyui_segment_anything\\__init__.py'

2025-04-02T14:30:40.997455 - Cannot import C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_segment_anything module for custom nodes: [Errno 2] No such file or directory: 'C:\\Users\\hundu\\Documents\\ComfyUI\\custom_nodes\\comfyui_segment_anything\\__init__.py'
2025-04-02T14:30:41.092226 - Traceback (most recent call last):
  File "C:\Users\hundu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\nodes.py", line 2141, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap_external>", line 1132, in get_code
  File "<frozen importlib._bootstrap_external>", line 1190, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\hundu\\Documents\\ComfyUI\\custom_nodes\\GroundingDINO\\__init__.py'

2025-04-02T14:30:41.092730 - Cannot import C:\Users\hundu\Documents\ComfyUI\custom_nodes\GroundingDINO module for custom nodes: [Errno 2] No such file or directory: 'C:\\Users\\hundu\\Documents\\ComfyUI\\custom_nodes\\GroundingDINO\\__init__.py'
2025-04-02T14:30:41.131103 - Traceback (most recent call last):
  File "C:\Users\hundu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\nodes.py", line 2141, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "C:\Users\hundu\Documents\ComfyUI\custom_nodes\LCM_Inpaint_Outpaint_Comfy\__init__.py", line 1, in <module>
    from .LCM_Nodes import NODE_CLASS_MAPPINGS
  File "C:\Users\hundu\Documents\ComfyUI\custom_nodes\LCM_Inpaint_Outpaint_Comfy\LCM_Nodes.py", line 9, in <module>
    from .LCM.LCM_reference_pipeline import LatentConsistencyModelPipeline_reference
  File "C:\Users\hundu\Documents\ComfyUI\custom_nodes\LCM_Inpaint_Outpaint_Comfy\LCM\LCM_reference_pipeline.py", line 33, in <module>
    from diffusers.models.unet_2d_blocks import CrossAttnDownBlock2D, CrossAttnUpBlock2D, DownBlock2D, UpBlock2D
ModuleNotFoundError: No module named 'diffusers.models.unet_2d_blocks'

2025-04-02T14:30:41.131103 - Cannot import C:\Users\hundu\Documents\ComfyUI\custom_nodes\LCM_Inpaint_Outpaint_Comfy module for custom nodes: No module named 'diffusers.models.unet_2d_blocks'
2025-04-02T14:30:41.151552 - 
2025-04-02T14:30:41.151552 - �[92m[rgthree-comfy] Loaded 42 epic nodes. 🎉�[00m2025-04-02T14:30:41.151552 - 
2025-04-02T14:30:41.151552 - 
2025-04-02T14:30:42.305544 - �[34mWAS Node Suite: �[0mOpenCV Python FFMPEG support is enabled�[0m2025-04-02T14:30:42.305544 - 
2025-04-02T14:30:42.305544 - �[34mWAS Node Suite �[93mWarning: �[0m`ffmpeg_bin_path` is not set in `C:\Users\hundu\Documents\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json` config file. Will attempt to use system ffmpeg binaries if available.�[0m2025-04-02T14:30:42.305544 - 
2025-04-02T14:30:43.036847 - �[34mWAS Node Suite: �[0mFinished.�[0m �[32mLoaded�[0m �[0m220�[0m �[32mnodes successfully.�[0m2025-04-02T14:30:43.036847 - 
2025-04-02T14:30:43.036847 - 
	�[3m�[93m"Art is the lie that enables us to realize the truth."�[0m�[3m - Pablo Picasso�[0m
2025-04-02T14:30:43.036847 - 
2025-04-02T14:30:43.048842 - ### Loading: ComfyUI-Manager (V3.30.4)
2025-04-02T14:30:43.049357 - [ComfyUI-Manager] network_mode: public
2025-04-02T14:30:43.049357 - ### ComfyUI Revision: UNKNOWN (The currently installed ComfyUI is not a Git repository)
2025-04-02T14:30:43.095941 - 
Import times for custom nodes:
2025-04-02T14:30:43.095941 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\ComfyUI-HunyuanImageLatentToVideoLatent
2025-04-02T14:30:43.096459 -    0.0 seconds (IMPORT FAILED): C:\Users\hundu\Documents\ComfyUI\custom_nodes\GroundingDINO
2025-04-02T14:30:43.096459 -    0.0 seconds (IMPORT FAILED): C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_segment_anything
2025-04-02T14:30:43.096459 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\Comfyui_Object_Migration
2025-04-02T14:30:43.096980 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\ComfyUI_AdvancedRefluxControl
2025-04-02T14:30:43.096980 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_ttp_toolset
2025-04-02T14:30:43.096980 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\ComfyUI_LatentSync
2025-04-02T14:30:43.096980 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\ComfyUI-Inpaint-CropAndStitch-main
2025-04-02T14:30:43.096980 -    0.0 seconds: C:\Users\hundu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\websocket_image_save.py
2025-04-02T14:30:43.097544 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\cg-use-everywhere-main
2025-04-02T14:30:43.098064 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\ComfyUI-YOLO
2025-04-02T14:30:43.098064 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\bizyair
2025-04-02T14:30:43.098581 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\ComfyUI-LatentSyncWrapper-main
2025-04-02T14:30:43.098581 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\stability-ComfyUI-nodes
2025-04-02T14:30:43.098581 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\janus-pro
2025-04-02T14:30:43.098581 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_facetools-main
2025-04-02T14:30:43.098581 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_instantid
2025-04-02T14:30:43.098581 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\ComfyUI-GGUF
2025-04-02T14:30:43.099099 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_slk_joy_caption_two
2025-04-02T14:30:43.099099 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-inpaint-nodes
2025-04-02T14:30:43.099615 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\ComfyUI-RMBG-main
2025-04-02T14:30:43.099615 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\ComfyUI-TeaCache-main
2025-04-02T14:30:43.099615 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-rmbg
2025-04-02T14:30:43.099615 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_kimnodes
2025-04-02T14:30:43.099615 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_essentials
2025-04-02T14:30:43.100132 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-various
2025-04-02T14:30:43.100132 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\ComfyUI-Fluxtapoz
2025-04-02T14:30:43.100132 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\derfuu_comfyui_moddednodes
2025-04-02T14:30:43.100132 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-utils-nodes
2025-04-02T14:30:43.100648 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-florence2
2025-04-02T14:30:43.100648 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-jakeupgrade
2025-04-02T14:30:43.101183 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\ComfyUI-Impact-Pack-Main
2025-04-02T14:30:43.101183 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-custom-scripts
2025-04-02T14:30:43.101703 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\rgthree-comfy
2025-04-02T14:30:43.101703 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\ComfyUI_Comfyroll_CustomNodes
2025-04-02T14:30:43.101703 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\ComfyUI_LayerStyle_Advance-main
2025-04-02T14:30:43.102225 -    0.0 seconds (IMPORT FAILED): C:\Users\hundu\Documents\ComfyUI\custom_nodes\LCM_Inpaint_Outpaint_Comfy
2025-04-02T14:30:43.102225 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_controlnet_aux
2025-04-02T14:30:43.102225 -    0.0 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\ComfyUI-LatentSyncWrapper
2025-04-02T14:30:43.102225 -    0.1 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-impact-pack
2025-04-02T14:30:43.102752 -    0.1 seconds: C:\Users\hundu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager
2025-04-02T14:30:43.102752 -    0.1 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\ComfyUI_LayerStyle_Advance
2025-04-02T14:30:43.103276 -    0.1 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-tensorops
2025-04-02T14:30:43.103276 -    0.1 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-kjnodes
2025-04-02T14:30:43.103276 -    0.1 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\ComfyUI_LayerStyle
2025-04-02T14:30:43.103795 -    0.1 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_segment_anything-main
2025-04-02T14:30:43.103795 -    0.1 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_pulid_flux_ll
2025-04-02T14:30:43.103795 -    0.2 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-videohelpersuite
2025-04-02T14:30:43.103795 -    0.3 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-detail-daemon
2025-04-02T14:30:43.104318 -    0.3 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_facetools
2025-04-02T14:30:43.104318 -    0.3 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-impact-subpack
2025-04-02T14:30:43.104841 -    0.4 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\ComfyUI-Crystools
2025-04-02T14:30:43.104841 -    1.0 seconds (IMPORT FAILED): C:\Users\hundu\Documents\ComfyUI\custom_nodes\ComfyUI-PuLID-Flux-Enhanced
2025-04-02T14:30:43.105357 -    1.9 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\was-node-suite-comfyui
2025-04-02T14:30:43.105357 -    3.6 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-mixlab-nodes
2025-04-02T14:30:43.105357 -    4.1 seconds: C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-easy-use
2025-04-02T14:30:43.105357 - 
2025-04-02T14:30:43.126709 - Starting server

2025-04-02T14:30:43.128273 - To see the GUI go to: http://127.0.0.1:8006
2025-04-02T14:30:43.545793 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
2025-04-02T14:30:43.750833 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
2025-04-02T14:30:43.830778 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
2025-04-02T14:30:43.927177 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
2025-04-02T14:30:43.929509 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
2025-04-02T14:30:45.668123 - C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/photoswipe-lightbox.esm.min.js2025-04-02T14:30:45.668123 - 
2025-04-02T14:30:45.701270 - C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/photoswipe.min.css2025-04-02T14:30:45.701270 - 
2025-04-02T14:30:46.124877 - C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/model-viewer.min.js2025-04-02T14:30:46.124877 - 
2025-04-02T14:30:48.056386 - 目录不存在: C:\Users\hundu\Documents\ComfyUI\models\yolo
2025-04-02T14:30:48.057389 - 目录不存在: C:\Users\hundu\Documents\ComfyUI\models\yolo
2025-04-02T14:30:48.084005 - C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/classic.min.css2025-04-02T14:30:48.084005 - 
2025-04-02T14:30:48.202486 - C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/juxtapose.css2025-04-02T14:30:48.202486 - 
2025-04-02T14:30:48.244718 - C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/pickr.min.js2025-04-02T14:30:48.244718 - 
2025-04-02T14:30:48.245749 - C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/juxtapose.min.js2025-04-02T14:30:48.245749 - 
2025-04-02T14:30:48.347359 - 目录不存在: C:\Users\hundu\Documents\ComfyUI\models\yolo
2025-04-02T14:30:48.347359 - 目录不存在: C:\Users\hundu\Documents\ComfyUI\models\yolo
2025-04-02T14:30:50.011432 - FETCH ComfyRegistry Data: 5/802025-04-02T14:30:50.011432 - 
2025-04-02T14:30:56.334814 - FETCH ComfyRegistry Data: 10/802025-04-02T14:30:56.334814 - 
2025-04-02T14:31:02.942724 - FETCH ComfyRegistry Data: 15/802025-04-02T14:31:02.942724 - 
2025-04-02T14:31:09.968630 - FETCH ComfyRegistry Data: 20/802025-04-02T14:31:09.968630 - 
2025-04-02T14:31:16.508104 - FETCH ComfyRegistry Data: 25/802025-04-02T14:31:16.508104 - 
2025-04-02T14:31:23.065560 - FETCH ComfyRegistry Data: 30/802025-04-02T14:31:23.065560 - 
2025-04-02T14:31:29.703282 - FETCH ComfyRegistry Data: 35/802025-04-02T14:31:29.703282 - 
2025-04-02T14:31:36.261107 - FETCH ComfyRegistry Data: 40/802025-04-02T14:31:36.261107 - 
2025-04-02T14:31:42.832737 - FETCH ComfyRegistry Data: 45/802025-04-02T14:31:42.832737 - 
2025-04-02T14:31:49.204133 - FETCH ComfyRegistry Data: 50/802025-04-02T14:31:49.204133 - 
2025-04-02T14:31:56.284416 - FETCH ComfyRegistry Data: 55/802025-04-02T14:31:56.284416 - 
2025-04-02T14:32:01.997019 - got prompt
2025-04-02T14:32:01.998239 - Failed to validate prompt for output 224:
2025-04-02T14:32:01.998239 - * ImageUpscaleWithModel 71:
2025-04-02T14:32:01.998239 -   - Required input is missing: image
2025-04-02T14:32:01.998239 - Output will be ignored
2025-04-02T14:32:02.001545 - Failed to validate prompt for output 219:
2025-04-02T14:32:02.001545 - * ControlNetLoader 182:
2025-04-02T14:32:02.001545 -   - Value not in list: control_net_name: 'control_instant_id_sdxl.safetensors' not in ['Flux.1-dev-Controlnet-Upscaler\\control_instant_id_sdxl.safetensors', 'Flux.1-dev-Controlnet-Upscaler\\diffusion_pytorch_model.safetensors']
2025-04-02T14:32:02.001545 - Output will be ignored
2025-04-02T14:32:02.002467 - Failed to validate prompt for output 226:
2025-04-02T14:32:02.002467 - * LoraLoaderModelOnly 177:
2025-04-02T14:32:02.002467 -   - Value not in list: lora_name: 'midjourney_whisper_flux_lora_v01.safetensors' not in ['flux_turbo.safetensors', 'midjourney-mix.safetensors', 'squish_18.safetensors']
2025-04-02T14:32:02.002971 - Output will be ignored
2025-04-02T14:32:02.002971 - Failed to validate prompt for output 194:
2025-04-02T14:32:02.002971 - Output will be ignored
2025-04-02T14:32:02.002971 - Failed to validate prompt for output 197:
2025-04-02T14:32:02.002971 - Output will be ignored
2025-04-02T14:32:02.002971 - Failed to validate prompt for output 196:
2025-04-02T14:32:02.002971 - Output will be ignored
2025-04-02T14:32:02.002971 - Failed to validate prompt for output 213:
2025-04-02T14:32:02.002971 - Output will be ignored
2025-04-02T14:32:03.473975 - FETCH ComfyRegistry Data: 60/802025-04-02T14:32:03.473975 - 
2025-04-02T14:32:09.928877 - From C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\tf_keras\src\losses.py:2976: The name tf.losses.sparse_softmax_cross_entropy is deprecated. Please use tf.compat.v1.losses.sparse_softmax_cross_entropy instead.

2025-04-02T14:32:11.077633 - Device set to use cuda
2025-04-02T14:32:11.166614 - FETCH ComfyRegistry Data: 65/802025-04-02T14:32:11.166614 - 
2025-04-02T14:32:12.329557 - test en_text2025-04-02T14:32:12.329557 -  2025-04-02T14:32:12.329557 - ["Women's portraits are close-up, Smile"]2025-04-02T14:32:12.329557 - 
2025-04-02T14:32:12.506513 - prompt_result2025-04-02T14:32:12.506513 -  2025-04-02T14:32:12.506513 - ["Women's portraits are close-up, Smile"]2025-04-02T14:32:12.506513 - 
2025-04-02T14:32:13.750545 - Device set to use cuda
2025-04-02T14:32:14.712426 - test en_text2025-04-02T14:32:14.712426 -  2025-04-02T14:32:14.712426 - ['A young Korean woman sitting in a café, Wearing weird fashion shirts and jeans, With a necklace']2025-04-02T14:32:14.712426 - 
2025-04-02T14:32:14.949564 - prompt_result2025-04-02T14:32:14.949564 -  2025-04-02T14:32:14.949564 - ['A young Korean woman sitting in a café, Wearing weird fashion shirts and jeans, With a necklace']2025-04-02T14:32:14.949564 - 
2025-04-02T14:32:15.153173 - CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16
2025-04-02T14:32:15.342261 - clip missing: ['text_projection.weight']
2025-04-02T14:32:16.869801 - got prompt
2025-04-02T14:32:16.872345 - Failed to validate prompt for output 224:
2025-04-02T14:32:16.872345 - * ImageUpscaleWithModel 71:
2025-04-02T14:32:16.872345 -   - Required input is missing: image
2025-04-02T14:32:16.872345 - Output will be ignored
2025-04-02T14:32:16.874364 - Failed to validate prompt for output 219:
2025-04-02T14:32:16.874364 - * ControlNetLoader 182:
2025-04-02T14:32:16.874364 -   - Value not in list: control_net_name: 'control_instant_id_sdxl.safetensors' not in ['Flux.1-dev-Controlnet-Upscaler\\control_instant_id_sdxl.safetensors', 'Flux.1-dev-Controlnet-Upscaler\\diffusion_pytorch_model.safetensors']
2025-04-02T14:32:16.874364 - Output will be ignored
2025-04-02T14:32:16.875365 - Failed to validate prompt for output 194:
2025-04-02T14:32:16.875365 - Output will be ignored
2025-04-02T14:32:16.875365 - Failed to validate prompt for output 197:
2025-04-02T14:32:16.875365 - Output will be ignored
2025-04-02T14:32:16.875365 - Failed to validate prompt for output 196:
2025-04-02T14:32:16.875365 - Output will be ignored
2025-04-02T14:32:16.875365 - Failed to validate prompt for output 213:
2025-04-02T14:32:16.875365 - Output will be ignored
2025-04-02T14:32:17.755574 - FETCH ComfyRegistry Data: 70/802025-04-02T14:32:17.755574 - 
2025-04-02T14:32:19.051131 - Prompt executed in 17.04 seconds
2025-04-02T14:32:19.652418 - Using pytorch attention in VAE
2025-04-02T14:32:19.653435 - Using pytorch attention in VAE
2025-04-02T14:32:19.917951 - VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
2025-04-02T14:32:20.008448 - C:\Users\hundu\Documents\ComfyUI\custom_nodes\ComfyUI-GGUF\loader.py:91: UserWarning: The given NumPy array is not writable, and PyTorch does not support non-writable tensors. This means writing to this tensor will result in undefined behavior. You may want to copy the array to protect its data or make it writable before converting it to a tensor. This type of warning will be suppressed for the rest of this program. (Triggered internally at C:\actions-runner\_work\pytorch\pytorch\pytorch\torch\csrc\utils\tensor_numpy.cpp:209.)
  torch_tensor = torch.from_numpy(tensor.data) # mmap
2025-04-02T14:32:20.018128 - gguf qtypes: F32 (468), Q4_K (304), F16 (4)2025-04-02T14:32:20.018128 - 
2025-04-02T14:32:20.050574 - model weight dtype torch.bfloat16, manual cast: None
2025-04-02T14:32:20.050574 - model_type FLOW
2025-04-02T14:32:20.115956 - Requested to load FluxClipModel_
2025-04-02T14:32:21.733364 - loaded completely 9757.8 4777.53759765625 True
2025-04-02T14:32:22.987381 - Requested to load Flux
2025-04-02T14:32:26.379380 - FETCH ComfyRegistry Data: 75/802025-04-02T14:32:26.379380 - 
2025-04-02T14:32:29.486426 - loaded partially 6276.200000000001 6275.533203125 0
2025-04-02T14:32:29.490467 - Attempting to release mmap (48)2025-04-02T14:32:29.490467 - 
2025-04-02T14:32:30.748845 - 
  0%|          | 0/4 [00:00<?, ?it/s]2025-04-02T14:32:32.964162 - FETCH ComfyRegistry Data: 80/802025-04-02T14:32:32.964162 - 
2025-04-02T14:32:33.464955 - FETCH ComfyRegistry Data [DONE]2025-04-02T14:32:33.464955 - 
2025-04-02T14:32:33.553076 - [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
2025-04-02T14:32:33.594083 - nightly_channel: 2025-04-02T14:32:33.594083 - 
2025-04-02T14:32:33.594083 - https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/remote2025-04-02T14:32:33.594083 - 
2025-04-02T14:32:33.594083 - FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json2025-04-02T14:32:33.594083 - 2025-04-02T14:32:34.329498 -  [DONE]2025-04-02T14:32:34.329498 - 
2025-04-02T14:32:34.381170 - [ComfyUI-Manager] All startup tasks have been completed.
2025-04-02T14:34:36.424574 - 
100%|██████████| 4/4 [02:05<00:00, 32.26s/it]2025-04-02T14:34:36.424574 - 
100%|██████████| 4/4 [02:05<00:00, 31.42s/it]2025-04-02T14:34:36.425093 - 
2025-04-02T14:34:36.543564 - Requested to load AutoencodingEngine
2025-04-02T14:34:37.865047 - loaded completely 1590.24609375 159.87335777282715 True
2025-04-02T14:34:41.549078 - Prompt executed in 141.98 seconds
2025-04-02T14:49:14.182923 - 目录不存在: C:\Users\hundu\Documents\ComfyUI\models\yolo
2025-04-02T14:49:14.183446 - 目录不存在: C:\Users\hundu\Documents\ComfyUI\models\yolo
2025-04-02T14:49:21.183390 - got prompt
2025-04-02T14:49:21.613075 - model weight dtype torch.float16, manual cast: None
2025-04-02T14:49:21.619308 - model_type EPS
2025-04-02T14:49:25.405203 - Using pytorch attention in VAE
2025-04-02T14:49:25.407298 - Using pytorch attention in VAE
2025-04-02T14:49:26.598484 - VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
2025-04-02T14:49:26.930979 - Requested to load SDXLClipModel
2025-04-02T14:49:26.947030 - loaded completely 9.5367431640625e+25 1560.802734375 True
2025-04-02T14:49:26.954978 - CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cuda:0, dtype: torch.float16
2025-04-02T14:51:18.045100 - Requested to load AutoencoderKL
2025-04-02T14:51:20.688139 - 0 models unloaded.
2025-04-02T14:51:20.775237 - loaded partially 128.0 127.99993133544922 0
2025-04-02T14:51:23.405900 - Requested to load SDXLClipModel
2025-04-02T14:51:23.909520 - loaded completely 9619.800057220458 1560.802734375 True
2025-04-02T14:51:24.304169 - Florence2 using sdpa for attention2025-04-02T14:51:24.304169 - 
2025-04-02T14:51:24.347273 - No flash_attn import to remove2025-04-02T14:51:24.348274 - 
2025-04-02T14:51:27.267400 - �[1m�[36m[EasyUse] Image Inset Crop:�[0m Cropping image 1920x1416 width inset by 192,1728, and height inset by 136, 12802025-04-02T14:51:27.267400 - 
2025-04-02T14:51:27.268029 - �[1m�[36m[EasyUse] Image Inset Crop:�[0m Cropping image 1920x1416 width inset by 192,1728, and height inset by 136, 12802025-04-02T14:51:27.268029 - 
2025-04-02T14:51:28.432169 - </s><s>The image shows a woman with long brown hair and red lipstick standing in front of a glass wall with a board in the foreground and a blurred background with a light at the top.</s>2025-04-02T14:51:28.432169 - 
2025-04-02T14:51:28.432689 - Offloading model...2025-04-02T14:51:28.432689 - 
2025-04-02T14:51:29.545847 - </s><s>The image shows a woman sitting at a wooden table with a coffee cup in her hand. On the table there is another coffee cup and a plate, and the background of the image is a wall.</s>2025-04-02T14:51:29.545847 - 
2025-04-02T14:51:29.545847 - Offloading model...2025-04-02T14:51:29.545847 - 
2025-04-02T14:51:29.905838 - Processing coordinate - x: 0, y: 0, width: 1920, height: 14162025-04-02T14:51:29.905838 - 
2025-04-02T14:51:29.906355 - Processing coordinate - x: 0, y: 1144, width: 1920, height: 14162025-04-02T14:51:29.906355 - 
2025-04-02T14:51:29.925223 - Requested to load SDXL
2025-04-02T14:51:34.208305 - loaded completely 7641.397235107422 4897.0483474731445 True
2025-04-02T14:51:42.912629 - 
100%|██████████| 4/4 [00:08<00:00,  2.15s/it]2025-04-02T14:51:42.913146 - 
100%|██████████| 4/4 [00:08<00:00,  2.17s/it]2025-04-02T14:51:42.913146 - 
2025-04-02T14:51:46.043608 - 0 models unloaded.
2025-04-02T14:51:46.047847 - loaded partially 128.0 127.99993133544922 0
2025-04-02T14:52:00.868136 - !!! Exception during processing !!! PytorchStreamReader failed reading zip archive: failed finding central directory
2025-04-02T14:52:00.876324 - Traceback (most recent call last):
  File "C:\Users\hundu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\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 "C:\Users\hundu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\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 "C:\Users\hundu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)
  File "C:\Users\hundu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_facetools-main\nodes.py", line 93, in run
    unfiltered_faces = detect_faces(img, threshold)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_facetools-main\utils.py", line 130, in detect_faces
    dets = Models.yolo((img[None] / 255).permute(0,3,1,2), threshold)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_facetools-main\utils.py", line 57, in yolo
    cls._yolo = YOLO(os.path.join(models_dir,'ultralytics','bbox','face_yolov8m.pt'))
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\ultralytics\models\yolo\model.py", line 23, in __init__
    super().__init__(model=model, task=task, verbose=verbose)
  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\ultralytics\engine\model.py", line 145, in __init__
    self._load(model, task=task)
  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\ultralytics\engine\model.py", line 288, in _load
    self.model, self.ckpt = attempt_load_one_weight(weights)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\ultralytics\nn\tasks.py", line 910, in attempt_load_one_weight
    ckpt, weight = torch_safe_load(weight)  # load ckpt
                   ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\ultralytics\nn\tasks.py", line 837, in torch_safe_load
    ckpt = torch.load(file, map_location="cpu")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-impact-subpack\modules\subcore.py", line 150, in torch_wrapper
    return orig_torch_load(*args, **kwargs)  # NOTE: This code simply delegates the call to torch.load, and any errors that occur here are not the responsibility of Subpack.
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\torch\serialization.py", line 1432, in load
    with _open_zipfile_reader(opened_file) as opened_zipfile:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\torch\serialization.py", line 763, in __init__
    super().__init__(torch._C.PyTorchFileReader(name_or_buffer))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

2025-04-02T14:52:00.878970 - Prompt executed in 159.69 seconds
2025-04-02T14:52:21.422478 - got prompt
2025-04-02T14:52:21.526600 - !!! Exception during processing !!! PytorchStreamReader failed reading zip archive: failed finding central directory
2025-04-02T14:52:21.528622 - Traceback (most recent call last):
  File "C:\Users\hundu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\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 "C:\Users\hundu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\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 "C:\Users\hundu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)
  File "C:\Users\hundu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_facetools-main\nodes.py", line 93, in run
    unfiltered_faces = detect_faces(img, threshold)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_facetools-main\utils.py", line 130, in detect_faces
    dets = Models.yolo((img[None] / 255).permute(0,3,1,2), threshold)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_facetools-main\utils.py", line 57, in yolo
    cls._yolo = YOLO(os.path.join(models_dir,'ultralytics','bbox','face_yolov8m.pt'))
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\ultralytics\models\yolo\model.py", line 23, in __init__
    super().__init__(model=model, task=task, verbose=verbose)
  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\ultralytics\engine\model.py", line 145, in __init__
    self._load(model, task=task)
  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\ultralytics\engine\model.py", line 288, in _load
    self.model, self.ckpt = attempt_load_one_weight(weights)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\ultralytics\nn\tasks.py", line 910, in attempt_load_one_weight
    ckpt, weight = torch_safe_load(weight)  # load ckpt
                   ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\ultralytics\nn\tasks.py", line 837, in torch_safe_load
    ckpt = torch.load(file, map_location="cpu")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-impact-subpack\modules\subcore.py", line 150, in torch_wrapper
    return orig_torch_load(*args, **kwargs)  # NOTE: This code simply delegates the call to torch.load, and any errors that occur here are not the responsibility of Subpack.
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\torch\serialization.py", line 1432, in load
    with _open_zipfile_reader(opened_file) as opened_zipfile:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\torch\serialization.py", line 763, in __init__
    super().__init__(torch._C.PyTorchFileReader(name_or_buffer))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

2025-04-02T14:52:21.531128 - Prompt executed in 0.10 seconds
2025-04-02T14:55:31.561406 - got prompt
2025-04-02T14:55:31.696293 - !!! Exception during processing !!! PytorchStreamReader failed reading zip archive: failed finding central directory
2025-04-02T14:55:31.698102 - Traceback (most recent call last):
  File "C:\Users\hundu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\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 "C:\Users\hundu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\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 "C:\Users\hundu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)
  File "C:\Users\hundu\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_facetools-main\nodes.py", line 93, in run
    unfiltered_faces = detect_faces(img, threshold)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_facetools-main\utils.py", line 130, in detect_faces
    dets = Models.yolo((img[None] / 255).permute(0,3,1,2), threshold)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui_facetools-main\utils.py", line 57, in yolo
    cls._yolo = YOLO(os.path.join(models_dir,'ultralytics','bbox','face_yolov8m.pt'))
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\ultralytics\models\yolo\model.py", line 23, in __init__
    super().__init__(model=model, task=task, verbose=verbose)
  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\ultralytics\engine\model.py", line 145, in __init__
    self._load(model, task=task)
  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\ultralytics\engine\model.py", line 288, in _load
    self.model, self.ckpt = attempt_load_one_weight(weights)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\ultralytics\nn\tasks.py", line 910, in attempt_load_one_weight
    ckpt, weight = torch_safe_load(weight)  # load ckpt
                   ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\ultralytics\nn\tasks.py", line 837, in torch_safe_load
    ckpt = torch.load(file, map_location="cpu")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\custom_nodes\comfyui-impact-subpack\modules\subcore.py", line 150, in torch_wrapper
    return orig_torch_load(*args, **kwargs)  # NOTE: This code simply delegates the call to torch.load, and any errors that occur here are not the responsibility of Subpack.
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\torch\serialization.py", line 1432, in load
    with _open_zipfile_reader(opened_file) as opened_zipfile:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\hundu\Documents\ComfyUI\.venv\Lib\site-packages\torch\serialization.py", line 763, in __init__
    super().__init__(torch._C.PyTorchFileReader(name_or_buffer))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

![Image](https://github.com/user-attachments/assets/e764ac26-1e9c-4ab4-8d15-d5d832e7cc66)

RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

2025-04-02T14:55:31.702781 - Prompt executed in 0.13 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)

Actual Behavior

节点也重新下载了,还是不行

Image

Steps to Reproduce

节点也重新下载了,还是不行

Image

Debug Logs

节点也重新下载了,还是不行

![Image](https://github.com/user-attachments/assets/689803ee-5933-4ad1-9f49-d4494fe440b4)

Other

No response

@Rinsa520 Rinsa520 added the Potential Bug User is reporting a bug. This should be tested. label Apr 2, 2025
@ltdrdata
Copy link
Collaborator

ltdrdata commented Apr 2, 2025

Ensure that your model file is valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Potential Bug User is reporting a bug. This should be tested.
Projects
None yet
Development

No branches or pull requests

2 participants