# ComfyUI Error Report ## Error Details - **Node ID:** 1 - **Node Type:** FaceSwapNode - **Exception Type:** IndexError - **Exception Message:** list index out of range
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
### Custom Node Testing
- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)
### Expected Behavior
# ComfyUI Error Report
## Error Details
- **Node ID:** 1
- **Node Type:** FaceSwapNode
- **Exception Type:** IndexError
- **Exception Message:** list index out of range
### Actual Behavior
https://prnt.sc/LWoG0tUTVv2Q
### Steps to Reproduce
list index out of range
### Debug Logs
```powershell
# ComfyUI Error Report
## Error Details
- **Node ID:** 1
- **Node Type:** FaceSwapNode
- **Exception Type:** IndexError
- **Exception Message:** list index out of range
## Stack Trace
File "C:\pinokio\api\comfy.git\app\execution.py", line 496, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
File "C:\pinokio\api\comfy.git\app\execution.py", line 315, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
File "C:\pinokio\api\comfy.git\app\execution.py", line 289, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "C:\pinokio\api\comfy.git\app\execution.py", line 277, in process_inputs
result = f(**inputs)
File "C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-FaceSwap\FaceSwapNode.py", line 52, in swap
result = swap_face(face, image, models[0], source_face_index, target_faces)
## System Information
- **ComfyUI Version:** 0.3.52
- **Arguments:** main.py --directml
- **OS:** nt
- **Python Version:** 3.10.16 | packaged by Anaconda, Inc. | (main, Dec 11 2024, 16:19:12) [MSC v.1929 64 bit (AMD64)]
- **Embedded Python:** false
- **PyTorch Version:** 2.4.1+cpu
## Devices
- **Name:** privateuseone
- **Type:** privateuseone
- **VRAM Total:** 1073741824
- **VRAM Free:** 1073741824
- **Torch VRAM Total:** 1073741824
- **Torch VRAM Free:** 1073741824
## Logs
2025-08-26T14:44:17.439183 - [START] Security scan2025-08-26T14:44:17.439183 -
2025-08-26T14:44:19.659083 - [DONE] Security scan2025-08-26T14:44:19.659083 -
2025-08-26T14:44:19.850140 - ## ComfyUI-Manager: installing dependencies done.2025-08-26T14:44:19.850140 -
2025-08-26T14:44:19.850140 - ** ComfyUI startup time:2025-08-26T14:44:19.850140 - 2025-08-26T14:44:19.851153 - 2025-08-26 14:44:19.8502025-08-26T14:44:19.851153 -
2025-08-26T14:44:19.851153 - ** Platform:2025-08-26T14:44:19.851153 - 2025-08-26T14:44:19.851153 - Windows2025-08-26T14:44:19.851153 -
2025-08-26T14:44:19.851153 - ** Python version:2025-08-26T14:44:19.851153 - 2025-08-26T14:44:19.851153 - 3.10.16 | packaged by Anaconda, Inc. | (main, Dec 11 2024, 16:19:12) [MSC v.1929 64 bit (AMD64)]2025-08-26T14:44:19.852155 -
2025-08-26T14:44:19.852155 - ** Python executable:2025-08-26T14:44:19.852155 - 2025-08-26T14:44:19.852155 - C:\pinokio\api\comfy.git\app\env\Scripts\python.exe2025-08-26T14:44:19.852155 -
2025-08-26T14:44:19.852155 - ** ComfyUI Path:2025-08-26T14:44:19.852155 - 2025-08-26T14:44:19.852155 - C:\pinokio\api\comfy.git\app2025-08-26T14:44:19.852155 -
2025-08-26T14:44:19.852155 - ** ComfyUI Base Folder Path:2025-08-26T14:44:19.853158 - 2025-08-26T14:44:19.853158 - C:\pinokio\api\comfy.git\app2025-08-26T14:44:19.853158 -
2025-08-26T14:44:19.853158 - ** User directory:2025-08-26T14:44:19.853158 - 2025-08-26T14:44:19.853158 - C:\pinokio\api\comfy.git\app\user2025-08-26T14:44:19.853158 -
2025-08-26T14:44:19.853158 - ** ComfyUI-Manager config path:2025-08-26T14:44:19.853158 - 2025-08-26T14:44:19.857470 - C:\pinokio\api\comfy.git\app\user\default\ComfyUI-Manager\config.ini2025-08-26T14:44:19.857470 -
2025-08-26T14:44:19.858974 - ** Log path:2025-08-26T14:44:19.858974 - 2025-08-26T14:44:19.858974 - C:\pinokio\api\comfy.git\app\user\comfyui.log2025-08-26T14:44:19.858974 -
2025-08-26T14:44:23.020566 -
Prestartup times for custom nodes:
2025-08-26T14:44:23.021568 - 6.2 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Manager
2025-08-26T14:44:23.021568 -
2025-08-26T14:44:25.679094 - Checkpoint files will always be loaded safely.
2025-08-26T14:44:25.885086 - Using directml with device:
2025-08-26T14:44:25.888119 - Total VRAM 1024 MB, total RAM 15310 MB
2025-08-26T14:44:25.888119 - pytorch version: 2.4.1+cpu
2025-08-26T14:44:25.889620 - Set vram state to: NORMAL_VRAM
2025-08-26T14:44:25.889620 - Device: privateuseone
2025-08-26T14:44:27.663380 - Using sub quadratic optimization for attention, if you have memory or speed issues try using: --use-split-cross-attention
2025-08-26T14:44:31.351077 - Python version: 3.10.16 | packaged by Anaconda, Inc. | (main, Dec 11 2024, 16:19:12) [MSC v.1929 64 bit (AMD64)]
2025-08-26T14:44:31.352080 - ComfyUI version: 0.3.52
2025-08-26T14:44:31.409749 - ComfyUI frontend version: 1.25.10
2025-08-26T14:44:31.413122 - [Prompt Server] web root: C:\pinokio\api\comfy.git\app\env\lib\site-packages\comfyui_frontend_package\static
2025-08-26T14:44:33.984399 - ✨ Bobs Latent Optimizer nodes loaded! ✨2025-08-26T14:44:33.984399 -
2025-08-26T14:44:34.654300 - ### ComfyUI-FaceSwap: Check dependencies2025-08-26T14:44:34.654300 -
2025-08-26T14:44:34.654300 - ### ComfyUI-FaceSwap: Check basic models2025-08-26T14:44:34.654300 -
2025-08-26T14:44:35.454597 - ### Loading: ComfyUI-Manager (V3.36)
2025-08-26T14:44:35.456596 - [ComfyUI-Manager] network_mode: public
2025-08-26T14:44:35.700142 - ### ComfyUI Version: v0.3.52-2-gf6b93d41 | Released on '2025-08-24'
2025-08-26T14:44:35.874575 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
2025-08-26T14:44:35.897779 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
2025-08-26T14:44:35.997872 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
2025-08-26T14:44:36.141577 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
2025-08-26T14:44:36.290146 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
2025-08-26T14:44:37.485467 -
============================================================2025-08-26T14:44:37.485467 -
2025-08-26T14:44:37.485467 - ComfyUI LLM SDXL Adapter v2.0.0 - Loaded Successfully2025-08-26T14:44:37.485467 -
2025-08-26T14:44:37.485467 - ============================================================2025-08-26T14:44:37.485467 -
2025-08-26T14:44:37.486472 - Available Nodes: 82025-08-26T14:44:37.486472 -
2025-08-26T14:44:37.486472 - Main Workflow: LLMModelLoader -> LLMTextEncoder -> LLMAdapterLoader -> ApplyLLMToSDXLAdapter -> KSampler2025-08-26T14:44:37.486472 -
2025-08-26T14:44:37.486472 - Supports: Gemma, Llama, Mistral, and other compatible LLMs2025-08-26T14:44:37.486472 -
2025-08-26T14:44:37.486472 - Quick Start: Use modular nodes for flexible workflows2025-08-26T14:44:37.486472 -
2025-08-26T14:44:37.486472 - ============================================================
2025-08-26T14:44:37.487476 -
2025-08-26T14:44:37.801640 - Traceback (most recent call last):
File "C:\pinokio\api\comfy.git\app\nodes.py", line 2129, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\pinokio\api\comfy.git\app\custom_nodes\sd-lora-trainer\__init__.py", line 5, in
from node import Eden_LoRa_trainer
File "C:\pinokio\api\comfy.git\app\custom_nodes\sd-lora-trainer\node.py", line 9, in
from main import train
File "C:\pinokio\api\comfy.git\app\custom_nodes\sd-lora-trainer\main.py", line 14, in
from trainer.utils.utils import *
File "C:\pinokio\api\comfy.git\app\custom_nodes\sd-lora-trainer\trainer\utils\utils.py", line 11, in
from diffusers import AutoencoderKL, DDPMScheduler, EulerDiscreteScheduler, UNet2DConditionModel, StableDiffusionPipeline, StableDiffusionXLPipeline
File "C:\pinokio\api\comfy.git\app\env\lib\site-packages\diffusers\__init__.py", line 5, in
from .utils import (
File "C:\pinokio\api\comfy.git\app\env\lib\site-packages\diffusers\utils\__init__.py", line 21, in
from .constants import (
File "C:\pinokio\api\comfy.git\app\env\lib\site-packages\diffusers\utils\constants.py", line 63, in
dep_version_check("peft")
File "C:\pinokio\api\comfy.git\app\env\lib\site-packages\diffusers\dependency_versions_check.py", line 34, in dep_version_check
require_version(deps[pkg], hint)
File "C:\pinokio\api\comfy.git\app\env\lib\site-packages\diffusers\utils\versions.py", line 111, in require_version
_compare_versions(op, got_ver, want_ver, requirement, pkg, hint)
File "C:\pinokio\api\comfy.git\app\env\lib\site-packages\diffusers\utils\versions.py", line 44, in _compare_versions
raise ImportError(
ImportError: peft>=0.17.0 is required for a normal functioning of this module, but found peft==0.10.0.
2025-08-26T14:44:37.804150 - Cannot import C:\pinokio\api\comfy.git\app\custom_nodes\sd-lora-trainer module for custom nodes: peft>=0.17.0 is required for a normal functioning of this module, but found peft==0.10.0.
2025-08-26T14:44:38.614447 - Searge-SDXL v4.3.1 in C:\pinokio\api\comfy.git\app\custom_nodes\SeargeSDXL2025-08-26T14:44:38.614447 -
2025-08-26T14:44:38.680021 -
Import times for custom nodes:
2025-08-26T14:44:38.680021 - 0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\websocket_image_save.py
2025-08-26T14:44:38.680021 - 0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\Comfyui_Object_Migration
2025-08-26T14:44:38.680021 - 0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-B-LoRA
2025-08-26T14:44:38.681194 - 0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-PiAPI-Faceswap
2025-08-26T14:44:38.681194 - 0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\sd-latent-interposer
2025-08-26T14:44:38.681194 - 0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-qwen-image-size-picker
2025-08-26T14:44:38.681194 - 0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\Comfyui-Resolution-Master
2025-08-26T14:44:38.681194 - 0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\sdxl-recommended-res-calc
2025-08-26T14:44:38.682201 - 0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Prompt-Preview
2025-08-26T14:44:38.682201 - 0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\comfyui-instantid-faceswap
2025-08-26T14:44:38.682201 - 0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI_JPS-Nodes
2025-08-26T14:44:38.682201 - 0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\comfyui-inpaint-nodes
2025-08-26T14:44:38.682201 - 0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\comfyui_jankhidiffusion
2025-08-26T14:44:38.682201 - 0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\wlsh_nodes
2025-08-26T14:44:38.683473 - 0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\bobs_latent_optimizer
2025-08-26T14:44:38.683473 - 0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-YarvixPA
2025-08-26T14:44:38.683473 - 0.0 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI_SDXL_DreamBooth_LoRA_CustomNodes
2025-08-26T14:44:38.683473 - 0.3 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Manager
2025-08-26T14:44:38.684491 - 0.3 seconds (IMPORT FAILED): C:\pinokio\api\comfy.git\app\custom_nodes\sd-lora-trainer
2025-08-26T14:44:38.684491 - 0.7 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\comfyui-daremerge
2025-08-26T14:44:38.684491 - 0.8 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-FaceSwap
2025-08-26T14:44:38.684491 - 0.9 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\SeargeSDXL
2025-08-26T14:44:38.684491 - 1.7 seconds: C:\pinokio\api\comfy.git\app\custom_nodes\llm_sdxl_adapter
2025-08-26T14:44:38.686492 -
2025-08-26T14:44:39.185179 - Context impl SQLiteImpl.
2025-08-26T14:44:39.185282 - Will assume non-transactional DDL.
2025-08-26T14:44:39.187294 - No target revision found.
2025-08-26T14:44:39.237763 - Starting server
2025-08-26T14:44:39.240270 - To see the GUI go to: http://127.0.0.1:8188
2025-08-26T14:44:40.529092 - FETCH ComfyRegistry Data: 5/952025-08-26T14:44:40.529092 -
2025-08-26T14:44:45.088840 - FETCH ComfyRegistry Data: 10/952025-08-26T14:44:45.088840 -
2025-08-26T14:44:49.366980 - FETCH ComfyRegistry Data: 15/952025-08-26T14:44:49.366980 -
2025-08-26T14:44:54.263942 - FETCH ComfyRegistry Data: 20/952025-08-26T14:44:54.263942 -
2025-08-26T14:44:58.564705 - FETCH ComfyRegistry Data: 25/952025-08-26T14:44:58.564705 -
2025-08-26T14:45:03.015512 - FETCH ComfyRegistry Data: 30/952025-08-26T14:45:03.015512 -
2025-08-26T14:45:07.620342 - FETCH ComfyRegistry Data: 35/952025-08-26T14:45:07.621359 -
2025-08-26T14:45:11.983786 - FETCH ComfyRegistry Data: 40/952025-08-26T14:45:11.983786 -
2025-08-26T14:45:15.598615 - [ComfyUI-Manager] The ComfyRegistry cache update is still in progress, so an outdated cache is being used.2025-08-26T14:45:15.598615 -
2025-08-26T14:45:15.749476 - FETCH DATA from: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Manager\custom-node-list.json2025-08-26T14:45:15.749476 - 2025-08-26T14:45:15.772666 - [DONE]2025-08-26T14:45:15.772666 -
2025-08-26T14:45:15.970278 - FETCH DATA from: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Manager\github-stats.json2025-08-26T14:45:15.970278 - 2025-08-26T14:45:15.980278 - [DONE]2025-08-26T14:45:15.980278 -
2025-08-26T14:45:15.987278 - FETCH DATA from: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Manager\extras.json2025-08-26T14:45:15.987278 - 2025-08-26T14:45:15.987278 - [DONE]2025-08-26T14:45:15.987278 -
2025-08-26T14:45:16.177727 - FETCH DATA from: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Manager\extension-node-map.json2025-08-26T14:45:16.177727 - 2025-08-26T14:45:16.195764 - [DONE]2025-08-26T14:45:16.195764 -
2025-08-26T14:45:16.339189 - FETCH ComfyRegistry Data: 45/952025-08-26T14:45:16.339189 -
2025-08-26T14:45:21.046243 - FETCH ComfyRegistry Data: 50/952025-08-26T14:45:21.046243 -
2025-08-26T14:45:25.463394 - FETCH ComfyRegistry Data: 55/952025-08-26T14:45:25.463394 -
2025-08-26T14:45:29.842069 - FETCH ComfyRegistry Data: 60/952025-08-26T14:45:29.842069 -
2025-08-26T14:45:33.310403 - [2K
Updating: ComfyUI-FaceSwap2025-08-26T14:45:33.310403 - 2025-08-26T14:45:34.737263 -
[ComfyUI-Manager] Queued works are completed.
{'update': 1}
2025-08-26T14:45:34.738263 -
After restarting ComfyUI, please refresh the browser.
2025-08-26T14:45:39.433305 - FETCH ComfyRegistry Data: 65/952025-08-26T14:45:39.434556 -
2025-08-26T14:45:43.934349 - FETCH ComfyRegistry Data: 70/952025-08-26T14:45:43.934349 -
2025-08-26T14:45:48.421113 - FETCH ComfyRegistry Data: 75/952025-08-26T14:45:48.422116 -
2025-08-26T14:45:52.586366 - FETCH ComfyRegistry Data: 80/952025-08-26T14:45:52.587376 -
2025-08-26T14:45:57.043216 - FETCH ComfyRegistry Data: 85/952025-08-26T14:45:57.044223 -
2025-08-26T14:46:01.332975 - FETCH ComfyRegistry Data: 90/952025-08-26T14:46:01.333980 -
2025-08-26T14:46:05.724114 - FETCH ComfyRegistry Data: 95/952025-08-26T14:46:05.730833 -
2025-08-26T14:46:06.238421 - FETCH ComfyRegistry Data [DONE]2025-08-26T14:46:06.239476 -
2025-08-26T14:46:06.804749 - [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
2025-08-26T14:46:07.143184 - FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json2025-08-26T14:46:07.144630 - 2025-08-26T14:46:07.358071 - [DONE]2025-08-26T14:46:07.358071 -
2025-08-26T14:46:07.566697 - [ComfyUI-Manager] All startup tasks have been completed.
2025-08-26T14:46:19.063399 - [ComfyUI-Manager] The ComfyRegistry cache update is still in progress, so an outdated cache is being used.2025-08-26T14:46:19.064411 -
2025-08-26T14:46:19.226686 - FETCH DATA from: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Manager\custom-node-list.json2025-08-26T14:46:19.226686 - 2025-08-26T14:46:19.250933 - [DONE]2025-08-26T14:46:19.250933 -
2025-08-26T14:46:19.438141 - FETCH DATA from: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Manager\github-stats.json2025-08-26T14:46:19.438141 - 2025-08-26T14:46:19.446713 - [DONE]2025-08-26T14:46:19.448218 -
2025-08-26T14:46:19.454757 - FETCH DATA from: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Manager\extras.json2025-08-26T14:46:19.454757 - 2025-08-26T14:46:19.454757 - [DONE]2025-08-26T14:46:19.455756 -
2025-08-26T14:46:19.619649 - FETCH DATA from: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Manager\extension-node-map.json2025-08-26T14:46:19.620654 - 2025-08-26T14:46:19.635564 - [DONE]2025-08-26T14:46:19.635564 -
2025-08-26T14:46:40.753280 - [ComfyUI-Manager] The ComfyRegistry cache update is still in progress, so an outdated cache is being used.2025-08-26T14:46:40.754284 -
2025-08-26T14:46:40.926702 - FETCH DATA from: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Manager\custom-node-list.json2025-08-26T14:46:40.926702 - 2025-08-26T14:46:40.948533 - [DONE]2025-08-26T14:46:40.948533 -
2025-08-26T14:46:41.142419 - FETCH DATA from: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Manager\github-stats.json2025-08-26T14:46:41.142419 - 2025-08-26T14:46:41.150407 - [DONE]2025-08-26T14:46:41.150407 -
2025-08-26T14:46:41.156249 - FETCH DATA from: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Manager\extras.json2025-08-26T14:46:41.156249 - 2025-08-26T14:46:41.157754 - [DONE]2025-08-26T14:46:41.157754 -
2025-08-26T14:46:41.159937 - Start fetching...2025-08-26T14:46:41.159937 - 2025-08-26T14:46:41.160940 - [2K
Fetching: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Manager2025-08-26T14:46:41.160940 - 2025-08-26T14:46:41.160940 - [2K
Fetching: C:\pinokio\api\comfy.git\app\custom_nodes\SeargeSDXL2025-08-26T14:46:41.161944 - 2025-08-26T14:46:41.164942 - [2K
Fetching: C:\pinokio\api\comfy.git\app\custom_nodes\wlsh_nodes2025-08-26T14:46:41.164942 - 2025-08-26T14:46:41.166942 - [2K
Fetching: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-FaceSwap2025-08-26T14:46:41.166942 - 2025-08-26T14:46:42.770756 - [2K
Fetching: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI_JPS-Nodes2025-08-26T14:46:42.770756 - 2025-08-26T14:46:42.896962 - [2K
Fetching: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI_SDXL_DreamBooth_LoRA_CustomNodes2025-08-26T14:46:42.898464 - 2025-08-26T14:46:42.938511 - [2K
Fetching: C:\pinokio\api\comfy.git\app\custom_nodes\sd-lora-trainer2025-08-26T14:46:42.939513 - 2025-08-26T14:46:43.782191 - [2K
Fetching: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Prompt-Preview2025-08-26T14:46:43.783194 - 2025-08-26T14:46:44.829797 - [2K
Fetching: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-B-LoRA2025-08-26T14:46:44.829797 - 2025-08-26T14:46:44.990635 - [2K
Fetching: C:\pinokio\api\comfy.git\app\custom_nodes\Comfyui_Object_Migration2025-08-26T14:46:44.995633 - 2025-08-26T14:46:44.998137 - [2K
Fetching: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-PiAPI-Faceswap2025-08-26T14:46:44.998137 - 2025-08-26T14:46:46.597875 - [2K
Fetching done.2025-08-26T14:46:46.599383 -
2025-08-26T14:46:46.751324 - FETCH DATA from: C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Manager\extension-node-map.json2025-08-26T14:46:46.751324 - 2025-08-26T14:46:46.764088 - [DONE]2025-08-26T14:46:46.764088 -
2025-08-26T14:46:50.847718 - [2K
Updating: comfyui-instantid-faceswap2025-08-26T14:46:50.847718 - 2025-08-26T14:46:51.711176 - [2K
Updating: ComfyUI-FaceSwap2025-08-26T14:46:51.712200 - 2025-08-26T14:46:52.906175 - [2K
Updating: ComfyUI-PiAPI-Faceswap2025-08-26T14:46:52.906175 - 2025-08-26T14:46:54.161501 -
[ComfyUI-Manager] Queued works are completed.
{'update': 3}
2025-08-26T14:46:54.161501 -
After restarting ComfyUI, please refresh the browser.
2025-08-26T14:47:25.658737 - got prompt
2025-08-26T14:47:25.951485 - model weight dtype torch.float16, manual cast: None
2025-08-26T14:47:25.953984 - model_type EPS
2025-08-26T14:47:26.517819 - Using split attention in VAE
2025-08-26T14:47:26.522112 - Using split attention in VAE
2025-08-26T14:47:26.648562 - VAE load device: privateuseone:0, offload device: cpu, dtype: torch.float32
2025-08-26T14:47:26.769172 - CLIP/text encoder model load device: privateuseone:0, offload device: cpu, current: cpu, dtype: torch.float16
2025-08-26T14:47:27.338883 - Requested to load SD1ClipModel
2025-08-26T14:47:27.340388 - 0 models unloaded.
2025-08-26T14:47:27.678543 - loaded completely 9.5367431640625e+25 235.84423828125 True
2025-08-26T14:47:28.011812 - 0 models unloaded.
2025-08-26T14:47:28.163847 - Requested to load BaseModel
2025-08-26T14:47:28.424104 - 0 models unloaded.
2025-08-26T14:47:29.352897 - loaded completely 9.5367431640625e+25 1639.406135559082 True
2025-08-26T14:47:29.415830 - C:\pinokio\api\comfy.git\app\comfy\samplers.py:973: UserWarning: The operator 'aten::count_nonzero.dim_IntList' is not currently supported on the DML backend and will fall back to run on the CPU. This may have performance implications. (Triggered internally at C:\__w\1\s\pytorch-directml-plugin\torch_directml\csrc\dml\dml_cpu_fallback.cpp:17.)
if latent_image is not None and torch.count_nonzero(latent_image) > 0: #Don't shift the empty latent image.
2025-08-26T14:48:17.096104 -
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:47<00:00, 2.41s/it]2025-08-26T14:48:17.097606 -
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:47<00:00, 2.38s/it]2025-08-26T14:48:17.098610 -
2025-08-26T14:48:18.350333 - Requested to load AutoencoderKL
2025-08-26T14:48:19.818447 - 0 models unloaded.
2025-08-26T14:48:19.944417 - loaded completely 9.5367431640625e+25 319.11416244506836 True
2025-08-26T14:48:21.019272 - !!! Exception during processing !!! list index out of range
2025-08-26T14:48:21.021271 - Traceback (most recent call last):
File "C:\pinokio\api\comfy.git\app\execution.py", line 496, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
File "C:\pinokio\api\comfy.git\app\execution.py", line 315, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
File "C:\pinokio\api\comfy.git\app\execution.py", line 289, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "C:\pinokio\api\comfy.git\app\execution.py", line 277, in process_inputs
result = f(**inputs)
File "C:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-FaceSwap\FaceSwapNode.py", line 52, in swap
result = swap_face(face, image, models[0], source_face_index, target_faces)
IndexError: list index out of range
2025-08-26T14:48:21.023270 - Prompt executed in 55.36 seconds
## Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
{"id":"380534c1-403c-4ac3-8166-3afa559944e8","revision":0,"last_node_id":9,"last_link_id":13,"nodes":[{"id":8,"type":"EmptyLatentImage","pos":[77,403],"size":[315,106],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"width","name":"width","type":"INT","widget":{"name":"width"},"link":null},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":null},{"localized_name":"batch_size","name":"batch_size","type":"INT","widget":{"name":"batch_size"},"link":null}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","slot_index":0,"links":[10]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.52","Node name for S&R":"EmptyLatentImage"},"widgets_values":[512,512,1]},{"id":5,"type":"KSampler","pos":[1013,221],"size":[315,262],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":5},{"localized_name":"positive","name":"positive","type":"CONDITIONING","link":7},{"localized_name":"negative","name":"negative","type":"CONDITIONING","link":8},{"localized_name":"latent_image","name":"latent_image","type":"LATENT","link":10},{"localized_name":"seed","name":"seed","type":"INT","widget":{"name":"seed"},"link":null},{"localized_name":"steps","name":"steps","type":"INT","widget":{"name":"steps"},"link":null},{"localized_name":"cfg","name":"cfg","type":"FLOAT","widget":{"name":"cfg"},"link":null},{"localized_name":"sampler_name","name":"sampler_name","type":"COMBO","widget":{"name":"sampler_name"},"link":null},{"localized_name":"scheduler","name":"scheduler","type":"COMBO","widget":{"name":"scheduler"},"link":null},{"localized_name":"denoise","name":"denoise","type":"FLOAT","widget":{"name":"denoise"},"link":null}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","slot_index":0,"links":[11]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.52","Node name for S&R":"KSampler"},"widgets_values":[313506235671128,"randomize",20,8,"euler","normal",1]},{"id":1,"type":"FaceSwapNode","pos":[1076,743],"size":[315,102],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"face","name":"face","type":"IMAGE","link":1},{"localized_name":"image","name":"image","type":"IMAGE","link":13},{"localized_name":"source_face_index","name":"source_face_index","type":"INT","widget":{"name":"source_face_index"},"link":null},{"localized_name":"target_face_indices","name":"target_face_indices","type":"STRING","widget":{"name":"target_face_indices"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[3]}],"properties":{"cnr_id":"ComfyUI-FaceSwap","ver":"752c658dd12842cea2752ab83f2e89fd1f2ac882","Node name for S&R":"FaceSwapNode"},"widgets_values":[1,"0,1,2"]},{"id":3,"type":"PreviewImage","pos":[1500,634],"size":[210,246],"flags":{},"order":8,"mode":0,"inputs":[{"localized_name":"images","name":"images","type":"IMAGE","link":3}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.52","Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":9,"type":"VAEDecode","pos":[1398,236],"size":[210,46],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":11},{"localized_name":"vae","name":"vae","type":"VAE","link":12}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[13]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.52","Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":4,"type":"CheckpointLoaderSimple","pos":[75,232],"size":[315,98],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"ckpt_name","name":"ckpt_name","type":"COMBO","widget":{"name":"ckpt_name"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","slot_index":0,"links":[5]},{"localized_name":"CLIP","name":"CLIP","type":"CLIP","slot_index":1,"links":[6,9]},{"localized_name":"VAE","name":"VAE","type":"VAE","slot_index":2,"links":[12]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.52","Node name for S&R":"CheckpointLoaderSimple"},"widgets_values":["MEUS CHEKPIONTS\\cyberrealisticLCM_cyberrealistic42.safetensors"]},{"id":6,"type":"CLIPTextEncode","pos":[654,311],"size":[241.670166015625,92.5670166015625],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":6},{"localized_name":"text","name":"text","type":"STRING","widget":{"name":"text"},"link":null}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","slot_index":0,"links":[7]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.52","Node name for S&R":"CLIPTextEncode"},"widgets_values":["Ultra realistic full body portrait of a stunning digital influencer, hyper-detailed, consistent and unique facial identity, flawless symmetry. \nFemale with intense red hair tied back in a high ponytail, smooth fair skin with natural freckles and realistic texture, expressive light blue eyes with sharp iris details, elegant natural eyebrows with a subtle cut detail, natural lips with soft gloss, delicate feminine nose, lifelike face with cinematic beauty lighting. \nFull body view, slender and elegant proportions, natural posture, stylish outfit, influencer fashion style, realistic body details, soft shadows, professional photography look. \nHyper-detailed textures on skin, hair and clothing, cinematic lighting, high definition, masterpiece, 8K ultra-realistic rendering, lifelike digital influencer, consistent identity across all images."]},{"id":7,"type":"CLIPTextEncode","pos":[673,450],"size":[241.65985107421875,108.9278564453125],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":9},{"localized_name":"text","name":"text","type":"STRING","widget":{"name":"text"},"link":null}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","links":[8]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.52","Node name for S&R":"CLIPTextEncode"},"widgets_values":["deformed,bad quality, low quality, low resolution, distortion, deformed, extra limbs, missing limbs, bad hands, malformed hands, bad fingers, extra fingers, fused fingers, long fingers, mutated hands, blurry hands, poorly drawn hands, disfigured, asymmetry, cloned face, wrong face, face deformation, distorted eyes, cross-eye, lazy eye, wrong eye color, extra eyes, duplicate eyes, broken eyes, unrealistic skin, plastic skin, over-smooth skin, cartoon, 3D render, anime, painting, illustration, glitch, artifacts, watermark, text, logo, pixelated, oversaturated, bad anatomy, unnatural proportions, stretched body, short body, incorrect limbs, floating limbs, twisted body, unrealistic lighting, bad composition, wrong perspective, blurry, cropped head, cropped body"]},{"id":2,"type":"LoadImage","pos":[168,619],"size":[315,314],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"image","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"upload","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[1]},{"localized_name":"MASK","name":"MASK","type":"MASK","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.3.52","Node name for S&R":"LoadImage"},"widgets_values":["gmt_00051_.png","image"]}],"links":[[1,2,0,1,0,"IMAGE"],[3,1,0,3,0,"IMAGE"],[5,4,0,5,0,"MODEL"],[6,4,1,6,0,"CLIP"],[7,6,0,5,1,"CONDITIONING"],[8,7,0,5,2,"CONDITIONING"],[9,4,1,7,0,"CLIP"],[10,8,0,5,3,"LATENT"],[11,5,0,9,0,"LATENT"],[12,4,2,9,1,"VAE"],[13,9,0,1,1,"IMAGE"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.7238066465256802,"offset":[-236.30798525234434,-173.84996551658554]}},"version":0.4}
## Additional Context
(Please add any additional context or steps to reproduce the error here)
```
### Other
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.