comfyanonymous / ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
https://www.comfy.org/
GNU General Public License v3.0
53.56k stars 5.67k forks source link

AV_ControlNetPreprocessor via Lesson 9: ControlNet - Comfy Academy #5287

Closed edwardstlee closed 4 hours ago

edwardstlee commented 4 hours ago

Your question

FileNotFoundError: [Errno 2] No such file or directory: 'C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts\lllyasviel\Annotators\.cache\huggingface\download\ControlNetHED.pth.5ca93762ffd68a29fee1af9d495bf6aab80ae86f08905fb35472a083a4c7a8fa.incomplete'

Logs

ComfyUI Error Report

Error Details

## System Information
- **ComfyUI Version:** v0.2.3-18-g518c0dc
- **Arguments:** ComfyUI\main.py --windows-standalone-build
- **OS:** nt
- **Python Version:** 3.11.9 (tags/v3.11.9:de54cf5, Apr  2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]
- **Embedded Python:** true
- **PyTorch Version:** 2.4.1+cu124
## Devices

- **Name:** cuda:0 NVIDIA GeForce RTX 3060 : cudaMallocAsync
  - **Type:** cuda
  - **VRAM Total:** 12884246528
  - **VRAM Free:** 11793334272
  - **Torch VRAM Total:** 0
  - **Torch VRAM Free:** 0

## Logs

2024-10-19 16:45:34,420 - root - INFO - Total VRAM 12287 MB, total RAM 16310 MB 2024-10-19 16:45:34,420 - root - INFO - pytorch version: 2.4.1+cu124 2024-10-19 16:45:34,422 - root - INFO - Set vram state to: NORMAL_VRAM 2024-10-19 16:45:34,422 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 3060 : cudaMallocAsync 2024-10-19 16:45:35,348 - root - INFO - Using pytorch cross attention 2024-10-19 16:45:36,827 - root - INFO - [Prompt Server] web root: C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\web 2024-10-19 16:45:39,952 - root - INFO - Import times for custom nodes: 2024-10-19 16:45:39,952 - root - INFO - 0.0 seconds: C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py 2024-10-19 16:45:39,953 - root - INFO - 0.0 seconds: C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\image-resize-comfyui 2024-10-19 16:45:39,953 - root - INFO - 0.0 seconds: C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux 2024-10-19 16:45:39,953 - root - INFO - 0.3 seconds: C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager 2024-10-19 16:45:39,954 - root - INFO - 0.8 seconds: C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-art-venture 2024-10-19 16:45:39,954 - root - INFO - 1.6 seconds: C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui 2024-10-19 16:45:39,954 - root - INFO - 2024-10-19 16:45:39,960 - root - INFO - Starting server

2024-10-19 16:45:39,961 - root - INFO - To see the GUI go to: http://127.0.0.1:8188 2024-10-19 16:46:30,344 - root - INFO - got prompt 2024-10-19 16:46:31,201 - root - ERROR - !!! Exception during processing !!! [Errno 2] No such file or directory: 'C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts\lllyasviel\Annotators\.cache\huggingface\download\ControlNetHED.pth.5ca93762ffd68a29fee1af9d495bf6aab80ae86f08905fb35472a083a4c7a8fa.incomplete' 2024-10-19 16:46:31,203 - root - ERROR - Traceback (most recent call last): File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 323, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 198, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-art-venture\modules\controlnet__init.py", line 136, in detect_controlnet image = apply_preprocessor(image, preprocessor, resolution=resolution) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-art-venture\modules\controlnet\init__.py", line 46, in apply_preprocessor res = getattr(preprocessor_class(), function_name)(preprocessor_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\hed.py", line 41, in execute model = HEDdetector.from_pretrained().to(model_management.get_torch_device()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\hed__init__.py", line 65, in from_pretrained model_path = custom_hf_download(pretrained_model_or_path, filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\util.py", line 333, in custom_hf_download model_path = hf_hub_download(repo_id=pretrained_model_or_path, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub\utils_deprecation.py", line 101, in inner_f return f(*args, *kwargs) ^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn return fn(args, **kwargs) ^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub\file_download.py", line 1212, in hf_hub_download return _hf_hub_download_to_local_dir( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub\file_download.py", line 1508, in _hf_hub_download_to_local_dir _download_to_tmp_and_move( File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub\file_download.py", line 1903, in _download_to_tmp_and_move with incomplete_path.open("ab") as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "pathlib.py", line 1044, in open FileNotFoundError: [Errno 2] No such file or directory: 'C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts\lllyasviel\Annotators\.cache\huggingface\download\ControlNetHED.pth.5ca93762ffd68a29fee1af9d495bf6aab80ae86f08905fb35472a083a4c7a8fa.incomplete'

2024-10-19 16:46:31,207 - root - INFO - Prompt executed in 0.86 seconds 2024-10-19 16:48:09,929 - root - INFO - got prompt 2024-10-19 16:48:10,209 - root - ERROR - !!! Exception during processing !!! [Errno 2] No such file or directory: 'C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts\lllyasviel\Annotators\.cache\huggingface\download\ControlNetHED.pth.5ca93762ffd68a29fee1af9d495bf6aab80ae86f08905fb35472a083a4c7a8fa.incomplete' 2024-10-19 16:48:10,211 - root - ERROR - Traceback (most recent call last): File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 323, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 198, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-art-venture\modules\controlnet__init.py", line 136, in detect_controlnet image = apply_preprocessor(image, preprocessor, resolution=resolution) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-art-venture\modules\controlnet\init__.py", line 46, in apply_preprocessor res = getattr(preprocessor_class(), function_name)(preprocessor_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\hed.py", line 41, in execute model = HEDdetector.from_pretrained().to(model_management.get_torch_device()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\hed__init__.py", line 65, in from_pretrained model_path = custom_hf_download(pretrained_model_or_path, filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\util.py", line 333, in custom_hf_download model_path = hf_hub_download(repo_id=pretrained_model_or_path, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub\utils_deprecation.py", line 101, in inner_f return f(*args, *kwargs) ^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn return fn(args, **kwargs) ^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub\file_download.py", line 1212, in hf_hub_download return _hf_hub_download_to_local_dir( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub\file_download.py", line 1508, in _hf_hub_download_to_local_dir _download_to_tmp_and_move( File "C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub\file_download.py", line 1903, in _download_to_tmp_and_move with incomplete_path.open("ab") as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "pathlib.py", line 1044, in open FileNotFoundError: [Errno 2] No such file or directory: 'C:\ComfyUI\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts\lllyasviel\Annotators\.cache\huggingface\download\ControlNetHED.pth.5ca93762ffd68a29fee1af9d495bf6aab80ae86f08905fb35472a083a4c7a8fa.incomplete'

2024-10-19 16:48:10,214 - root - INFO - Prompt executed in 0.28 seconds

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

{"last_node_id":45,"last_link_id":49,"nodes":[{"id":6,"type":"EmptyLatentImage","pos":{"0":440,"1":610},"size":{"0":315,"1":106},"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"LATENT","type":"LATENT","links":[6],"shape":3}],"properties":{"Node name for S&R":"EmptyLatentImage"},"widgets_values":[512,768,1]},{"id":12,"type":"ControlNetApplyAdvanced","pos":{"0":1570,"1":660},"size":{"0":315,"1":186},"flags":{},"order":14,"mode":0,"inputs":[{"name":"positive","type":"CONDITIONING","link":20},{"name":"negative","type":"CONDITIONING","link":23},{"name":"control_net","type":"CONTROL_NET","link":11,"slot_index":2},{"name":"image","type":"IMAGE","link":22},{"name":"vae","type":"VAE","link":null,"shape":7}],"outputs":[{"name":"positive","type":"CONDITIONING","links":[21],"slot_index":0,"shape":3},{"name":"negative","type":"CONDITIONING","links":[24],"slot_index":1,"shape":3}],"properties":{"Node name for S&R":"ControlNetApplyAdvanced"},"widgets_values":[1,0,1]},{"id":11,"type":"ControlNetApply","pos":{"0":1570,"1":500},"size":{"0":317.4000244140625,"1":98},"flags":{},"order":12,"mode":0,"inputs":[{"name":"conditioning","type":"CONDITIONING","link":12},{"name":"control_net","type":"CONTROL_NET","link":10,"slot_index":1},{"name":"image","type":"IMAGE","link":18}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"ControlNetApply"},"widgets_values":[1]},{"id":1,"type":"KSampler","pos":{"0":1980,"1":310},"size":{"0":315,"1":262},"flags":{},"order":24,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":1,"slot_index":0},{"name":"positive","type":"CONDITIONING","link":21,"slot_index":1},{"name":"negative","type":"CONDITIONING","link":24,"slot_index":2},{"name":"latent_image","type":"LATENT","link":6,"slot_index":3}],"outputs":[{"name":"LATENT","type":"LATENT","links":[7],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"KSampler"},"widgets_values":[977127053243141,"randomize",20,8,"euler_ancestral","normal",1]},{"id":20,"type":"PreviewImage","pos":{"0":37.223262786865234,"1":1770.2393798828125},"size":{"0":299.2972412109375,"1":450.7660217285156},"flags":{},"order":25,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":25}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":23,"type":"PreviewImage","pos":{"0":377.2232666015625,"1":1770.2393798828125},"size":{"0":299.2972412109375,"1":450.7660217285156},"flags":{},"order":26,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":29}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":25,"type":"PreviewImage","pos":{"0":717.2232666015625,"1":1770.2393798828125},"size":{"0":299.2972412109375,"1":450.7660217285156},"flags":{},"order":27,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":31}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":27,"type":"PreviewImage","pos":{"0":1067.2232666015625,"1":1770.2393798828125},"size":{"0":299.2972412109375,"1":450.7660217285156},"flags":{},"order":28,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":33}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":29,"type":"PreviewImage","pos":{"0":1417.2232666015625,"1":1780.2393798828125},"size":{"0":299.2972412109375,"1":450.7660217285156},"flags":{},"order":29,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":35}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":31,"type":"PreviewImage","pos":{"0":1757.2232666015625,"1":1780.2393798828125},"size":{"0":299.2972412109375,"1":450.7660217285156},"flags":{},"order":30,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":37}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":33,"type":"PreviewImage","pos":{"0":2097.22314453125,"1":1780.2393798828125},"size":{"0":299.2972412109375,"1":450.7660217285156},"flags":{},"order":32,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":39}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":35,"type":"PreviewImage","pos":{"0":2447.22314453125,"1":1780.2393798828125},"size":{"0":299.2972412109375,"1":450.7660217285156},"flags":{},"order":31,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":41}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":22,"type":"AV_ControlNetPreprocessor","pos":{"0":367.2232666015625,"1":1550.2393798828125},"size":{"0":315,"1":150},"flags":{},"order":16,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":28,"slot_index":0}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[29],"slot_index":0,"shape":3},{"name":"CNET_NAME","type":"STRING","links":null,"shape":3}],"properties":{"Node name for S&R":"AV_ControlNetPreprocessor"},"widgets_values":["hed","sd15",512,"None"]},{"id":24,"type":"AV_ControlNetPreprocessor","pos":{"0":707.2232666015625,"1":1550.2393798828125},"size":{"0":315,"1":150},"flags":{},"order":17,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":30,"slot_index":0}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[31],"slot_index":0,"shape":3},{"name":"CNET_NAME","type":"STRING","links":null,"shape":3}],"properties":{"Node name for S&R":"AV_ControlNetPreprocessor"},"widgets_values":["openpose","sd15",512,"None"]},{"id":26,"type":"AV_ControlNetPreprocessor","pos":{"0":1057.2232666015625,"1":1560.2393798828125},"size":{"0":315,"1":150},"flags":{},"order":18,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":32,"slot_index":0}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[33],"slot_index":0,"shape":3},{"name":"CNET_NAME","type":"STRING","links":null,"shape":3}],"properties":{"Node name for S&R":"AV_ControlNetPreprocessor"},"widgets_values":["dwpose","sd15",512,"None"]},{"id":28,"type":"AV_ControlNetPreprocessor","pos":{"0":1407.2232666015625,"1":1560.2393798828125},"size":{"0":315,"1":150},"flags":{},"order":19,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":34,"slot_index":0}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[35],"slot_index":0,"shape":3},{"name":"CNET_NAME","type":"STRING","links":null,"shape":3}],"properties":{"Node name for S&R":"AV_ControlNetPreprocessor"},"widgets_values":["normalmap_midas","sd15",512,"None"]},{"id":30,"type":"AV_ControlNetPreprocessor","pos":{"0":1747.2232666015625,"1":1560.2393798828125},"size":{"0":315,"1":150},"flags":{},"order":20,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":36,"slot_index":0}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[37],"slot_index":0,"shape":3},{"name":"CNET_NAME","type":"STRING","links":null,"shape":3}],"properties":{"Node name for S&R":"AV_ControlNetPreprocessor"},"widgets_values":["normalmap_bae","sd15",512,"None"]},{"id":32,"type":"AV_ControlNetPreprocessor","pos":{"0":2087.22314453125,"1":1560.2393798828125},"size":{"0":315,"1":150},"flags":{},"order":22,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":44,"slot_index":0}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[39],"slot_index":0,"shape":3},{"name":"CNET_NAME","type":"STRING","links":null,"shape":3}],"properties":{"Node name for S&R":"AV_ControlNetPreprocessor"},"widgets_values":["seg_ofcoco","sd15",512,"None"]},{"id":34,"type":"AV_ControlNetPreprocessor","pos":{"0":2437.22314453125,"1":1560.2393798828125},"size":{"0":315,"1":150},"flags":{},"order":21,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":40,"slot_index":0}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[41],"slot_index":0,"shape":3},{"name":"CNET_NAME","type":"STRING","links":null,"shape":3}],"properties":{"Node name for S&R":"AV_ControlNetPreprocessor"},"widgets_values":["scribble_hed","sd15",512,"None"]},{"id":18,"type":"PreviewImage","pos":{"0":1570,"1":880},"size":{"0":299.2972412109375,"1":450.7660217285156},"flags":{},"order":13,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":19}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":40,"type":"PreviewImage","pos":{"0":1900,"1":880},"size":{"0":299.2972412109375,"1":450.7660217285156},"flags":{},"order":23,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":48}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":5,"type":"CLIPTextEncode","pos":{"0":410,"1":360},"size":{"0":400,"1":200},"flags":{},"order":8,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":5,"slot_index":0}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[23],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["ugly, deformed"]},{"id":7,"type":"VAEDecode","pos":{"0":2100,"1":750},"size":{"0":210,"1":46},"flags":{},"order":33,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":7},{"name":"vae","type":"VAE","link":9,"slot_index":1}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[49],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":41,"type":"SaveImage","pos":{"0":2230,"1":880},"size":{"0":304.7989501953125,"1":451.1331481933594},"flags":{},"order":34,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":49}],"outputs":[],"properties":{},"widgets_values":["ComfyUI"]},{"id":4,"type":"CLIPTextEncode","pos":{"0":410,"1":100},"size":{"0":400,"1":200},"flags":{},"order":7,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":3,"slot_index":0}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[12,20],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["female warrior, digital painting, standing in a medieval village, highly detailed, masterpiece"]},{"id":21,"type":"Reroute","pos":{"0":-82.77674102783203,"1":1543.2393798828125},"size":[75,26],"flags":{},"order":10,"mode":0,"inputs":[{"name":"","type":"","link":27,"slot_index":0}],"outputs":[{"name":"","type":"IMAGE","links":[26,28,30,32,34,36,40,44],"slot_index":0}],"properties":{"showOutputText":false,"horizontal":false}},{"id":42,"type":"Note","pos":{"0":-2,"1":539},"size":{"0":376.611572265625,"1":183.35040283203125},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[],"properties":{"text":""},"widgets_values":["Watch Tutorial Video for this Workflow: https://youtu.be/zdiFAgdgtjg\n\nTo enabloe or bypass a blue group, right click inside the blue area and select either \"Bypass Group Nodes\" or Set Group Nodes to Always\""],"color":"#432","bgcolor":"#653"},{"id":10,"type":"LoadImage","pos":{"0":420,"1":770},"size":{"0":315,"1":314},"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[15],"slot_index":0,"shape":3},{"name":"MASK","type":"MASK","links":null,"shape":3}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["example.png","image"]},{"id":38,"type":"CannyEdgePreprocessor","pos":{"0":1180,"1":1100},"size":{"0":315,"1":106},"flags":{},"order":11,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":46}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[48],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"CannyEdgePreprocessor"},"widgets_values":[100,200,512]},{"id":3,"type":"CheckpointLoaderSimple","pos":{"0":20,"1":300},"size":{"0":315,"1":98},"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[1],"shape":3},{"name":"CLIP","type":"CLIP","links":[3,5],"shape":3},{"name":"VAE","type":"VAE","links":null,"shape":3}],"properties":{"Node name for S&R":"CheckpointLoaderSimple"},"widgets_values":["sd_xl_base_1.0.safetensors"]},{"id":13,"type":"ControlNetLoader","pos":{"0":930,"1":660},"size":{"0":378.6818542480469,"1":58},"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[{"name":"CONTROL_NET","type":"CONTROL_NET","links":[10,11],"shape":3}],"properties":{"Node name for S&R":"ControlNetLoader"},"widgets_values":["canny.safetensors"]},{"id":14,"type":"Image Resize","pos":{"0":790,"1":800},"size":{"0":315,"1":178},"flags":{},"order":6,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":15}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[17,27,46],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"Image Resize"},"widgets_values":["resize","true","lanczos",2,512,768]},{"id":9,"type":"VAELoader","pos":{"0":1960,"1":620},"size":{"0":315,"1":58},"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[{"name":"VAE","type":"VAE","links":[9],"shape":3}],"properties":{"Node name for S&R":"VAELoader"},"widgets_values":["taesdxl"]},{"id":19,"type":"AV_ControlNetPreprocessor","pos":{"0":37.223262786865234,"1":1550.2393798828125},"size":{"0":315,"1":150},"flags":{},"order":15,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":26,"slot_index":0}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[25],"slot_index":0,"shape":3},{"name":"CNET_NAME","type":"STRING","links":null,"shape":3}],"properties":{"Node name for S&R":"AV_ControlNetPreprocessor"},"widgets_values":["canny","sd15",512,"None"]},{"id":17,"type":"AV_ControlNetPreprocessor","pos":{"0":1180,"1":821},"size":{"0":315,"1":150},"flags":{},"order":9,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":17}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[18,19,22],"slot_index":0,"shape":3},{"name":"CNET_NAME","type":"STRING","links":null,"shape":3}],"properties":{"Node name for S&R":"AV_ControlNetPreprocessor"},"widgets_values":["canny","sd15",512,"None"]}],"links":[[1,3,0,1,0,"MODEL"],[3,3,1,4,0,"CLIP"],[5,3,1,5,0,"CLIP"],[6,6,0,1,3,"LATENT"],[7,1,0,7,0,"LATENT"],[9,9,0,7,1,"VAE"],[10,13,0,11,1,"CONTROL_NET"],[11,13,0,12,2,"CONTROL_NET"],[12,4,0,11,0,"CONDITIONING"],[15,10,0,14,0,"IMAGE"],[17,14,0,17,0,"IMAGE"],[18,17,0,11,2,"IMAGE"],[19,17,0,18,0,"IMAGE"],[20,4,0,12,0,"CONDITIONING"],[21,12,0,1,1,"CONDITIONING"],[22,17,0,12,3,"IMAGE"],[23,5,0,12,1,"CONDITIONING"],[24,12,1,1,2,"CONDITIONING"],[25,19,0,20,0,"IMAGE"],[26,21,0,19,0,"IMAGE"],[27,14,0,21,0,""],[28,21,0,22,0,"IMAGE"],[29,22,0,23,0,"IMAGE"],[30,21,0,24,0,"IMAGE"],[31,24,0,25,0,"IMAGE"],[32,21,0,26,0,"IMAGE"],[33,26,0,27,0,"IMAGE"],[34,21,0,28,0,"IMAGE"],[35,28,0,29,0,"IMAGE"],[36,21,0,30,0,"IMAGE"],[37,30,0,31,0,"IMAGE"],[39,32,0,33,0,"IMAGE"],[40,21,0,34,0,"IMAGE"],[41,34,0,35,0,"IMAGE"],[44,21,0,32,0,"IMAGE"],[46,14,0,38,0,"IMAGE"],[48,38,0,40,0,"IMAGE"],[49,7,0,41,0,"IMAGE"]],"groups":[{"title":"Various Controlnet Previews","bounding":[-107,1398,2900,909],"color":"#3f789e","font_size":24,"flags":{}}],"config":{},"extra":{"ds":{"scale":1.3310000000000004,"offset":[-275.1234788087229,-457.49254599193875]}},"version":0.4}



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

### Other

_No response_
edwardstlee commented 4 hours ago

image the error will not come out after bypass it, it seems it is in the effort in trying a different custom node preview, and these rely on a hosted file being trying to push via https://huggingface.co/docs/huggingface_hub/main/en/guides/download#download-files-to-local-folder and some instruction changes, but the script is either out dated or something needed to update, not sure, but canny and other few preprocessor works, so, i can continue the tutorial, without any issue