chflame163 / ComfyUI_LayerStyle

A set of nodes for ComfyUI that can composite layer and mask to achieve Photoshop like functionality.
MIT License
1.49k stars 86 forks source link

LayerMask: LoadFlorence2Model local variable 'model' referenced before assignment #296

Closed WhiteCrowLX closed 1 month ago

WhiteCrowLX commented 1 month ago

我在使用base-PromptGen-v1.5时,没有问题,正常出现了提示词反推,但是使用large-PromptGen-v1.5时 就出现了这个报错,请问大佬这是什么问题?

ComfyUI Error Report

Error Details

## System Information
- **ComfyUI Version:** v0.2.2-45-g0849c80
- **Arguments:** main.py --windows-standalone-build --listen --preview-method auto
- **OS:** nt
- **Python Version:** 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
- **Embedded Python:** false
- **PyTorch Version:** 2.4.1+cu124
## Devices

- **Name:** cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync
  - **Type:** cuda
  - **VRAM Total:** 25769279488
  - **VRAM Free:** 23251521180
  - **Torch VRAM Total:** 1174405120
  - **Torch VRAM Free:** 57020060

## Logs

2024-09-18 10:12:14,155 - root - INFO - Total VRAM 24576 MB, total RAM 65404 MB 2024-09-18 10:12:14,155 - root - INFO - pytorch version: 2.4.1+cu124 2024-09-18 10:12:15,074 - root - INFO - xformers version: 0.0.27.post2 2024-09-18 10:12:15,075 - root - INFO - Set vram state to: NORMAL_VRAM 2024-09-18 10:12:15,075 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync 2024-09-18 10:12:15,269 - root - INFO - Using xformers cross attention 2024-09-18 10:12:16,092 - root - INFO - [Prompt Server] web root: D:\ComfyUI\web 2024-09-18 10:12:16,094 - root - INFO - Adding extra search path checkpoints D:\stable-diffusion-webui\models/Stable-diffusion 2024-09-18 10:12:16,094 - root - INFO - Adding extra search path configs D:\stable-diffusion-webui\models/Stable-diffusion 2024-09-18 10:12:16,094 - root - INFO - Adding extra search path vae D:\stable-diffusion-webui\models/VAE 2024-09-18 10:12:16,094 - root - INFO - Adding extra search path loras D:\stable-diffusion-webui\models/Lora 2024-09-18 10:12:16,094 - root - INFO - Adding extra search path loras D:\stable-diffusion-webui\models/LyCORIS 2024-09-18 10:12:16,094 - root - INFO - Adding extra search path upscale_models D:\stable-diffusion-webui\models/ESRGAN 2024-09-18 10:12:16,094 - root - INFO - Adding extra search path upscale_models D:\stable-diffusion-webui\models/RealESRGAN 2024-09-18 10:12:16,094 - root - INFO - Adding extra search path upscale_models D:\stable-diffusion-webui\models/SwinIR 2024-09-18 10:12:16,094 - root - INFO - Adding extra search path embeddings D:\stable-diffusion-webui\embeddings 2024-09-18 10:12:16,094 - root - INFO - Adding extra search path hypernetworks D:\stable-diffusion-webui\models/hypernetworks 2024-09-18 10:12:16,095 - root - INFO - Adding extra search path controlnet D:\stable-diffusion-webui\models/ControlNet 2024-09-18 10:12:21,353 - root - INFO - Total VRAM 24576 MB, total RAM 65404 MB 2024-09-18 10:12:21,354 - root - INFO - pytorch version: 2.4.1+cu124 2024-09-18 10:12:21,354 - root - INFO - xformers version: 0.0.27.post2 2024-09-18 10:12:21,355 - root - INFO - Set vram state to: NORMAL_VRAM 2024-09-18 10:12:21,355 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync 2024-09-18 10:12:24,794 - albumentations.check_version - INFO - A new version of Albumentations is available: 1.4.15 (you have 1.4.11). Upgrade using: pip install --upgrade albumentations 2024-09-18 10:12:26,802 - root - INFO - -------------- 2024-09-18 10:12:26,802 - root - INFO -  ### Mixlab Nodes: Loaded 2024-09-18 10:12:26,803 - root - INFO - ChatGPT.available True 2024-09-18 10:12:26,803 - root - INFO - editmask.available True 2024-09-18 10:12:26,808 - root - INFO - LaMaInpainting.available True 2024-09-18 10:12:26,905 - root - INFO - ClipInterrogator.available True 2024-09-18 10:12:26,944 - root - INFO - PromptGenerate.available True 2024-09-18 10:12:26,945 - root - INFO - ChinesePrompt.available True 2024-09-18 10:12:26,945 - root - INFO - RembgNode.available True 2024-09-18 10:12:27,201 - root - INFO - TripoSR.available 2024-09-18 10:12:27,202 - root - INFO - MiniCPMNode.available 2024-09-18 10:12:27,204 - root - INFO - Scenedetect.available False 2024-09-18 10:12:27,267 - root - INFO - FishSpeech.available False 2024-09-18 10:12:27,268 - root - INFO -  --------------  2024-09-18 10:12:33,706 - root - INFO - new registry table has been added: preprocessor_classes 2024-09-18 10:12:34,302 - root - INFO - new registry table has been added: adaptor_classes 2024-09-18 10:12:34,639 - root - INFO - new registry table has been added: lid_predictor_classes 2024-09-18 10:12:38,235 - root - INFO - Import times for custom nodes: 2024-09-18 10:12:38,235 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\websocket_image_save.py 2024-09-18 10:12:38,235 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\AIGODLIKE-ComfyUI-Translation 2024-09-18 10:12:38,235 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\sdxl_prompt_styler 2024-09-18 10:12:38,236 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\ComfyUI_TGate 2024-09-18 10:12:38,236 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\ComfyUI_ADV_CLIP_emb 2024-09-18 10:12:38,236 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\comfyui-tooling-nodes 2024-09-18 10:12:38,236 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\cg-use-everywhere 2024-09-18 10:12:38,237 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\ComfyUI_TiledKSampler 2024-09-18 10:12:38,237 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\Comfyui_CXH_joy_caption 2024-09-18 10:12:38,237 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\ComfyUI_InstantID 2024-09-18 10:12:38,237 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\ComfyUI_experiments 2024-09-18 10:12:38,238 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\ComfyUI-AutomaticCFG 2024-09-18 10:12:38,238 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger 2024-09-18 10:12:38,238 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus 2024-09-18 10:12:38,238 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\ComfyUI_omost 2024-09-18 10:12:38,238 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\ComfyUI-Custom-Scripts 2024-09-18 10:12:38,239 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\ComfyUI-layerdiffuse 2024-09-18 10:12:38,240 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\comfyui-moondream 2024-09-18 10:12:38,240 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\ComfyUI_essentials 2024-09-18 10:12:38,241 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\OneButtonPrompt 2024-09-18 10:12:38,241 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale 2024-09-18 10:12:38,241 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\ComfyUI-GGUF 2024-09-18 10:12:38,241 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\ComfyUI-Advanced-ControlNet 2024-09-18 10:12:38,242 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\ComfyUI-KJNodes 2024-09-18 10:12:38,242 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\ComfyUI-segment-anything-2 2024-09-18 10:12:38,242 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\Derfuu_ComfyUI_ModdedNodes 2024-09-18 10:12:38,242 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\rgthree-comfy 2024-09-18 10:12:38,243 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\comfyui-prompt-reader-node 2024-09-18 10:12:38,243 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\ComfyUI_ExtraModels 2024-09-18 10:12:38,243 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\ComfyUI-Kolors-MZ 2024-09-18 10:12:38,243 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\efficiency-nodes-comfyui 2024-09-18 10:12:38,244 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\ComfyUI-IC-Light 2024-09-18 10:12:38,246 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\ComfyUI_Comfyroll_CustomNodes 2024-09-18 10:12:38,246 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\comfyui_controlnet_aux 2024-09-18 10:12:38,246 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\comfyui-sixgod_prompt 2024-09-18 10:12:38,246 - root - INFO - 0.0 seconds: D:\ComfyUI\custom_nodes\ComfyUI-Inspire-Pack 2024-09-18 10:12:38,247 - root - INFO - 0.1 seconds: D:\ComfyUI\custom_nodes\comfyui-reactor-node 2024-09-18 10:12:38,247 - root - INFO - 0.1 seconds: D:\ComfyUI\custom_nodes\comfyui_segment_anything 2024-09-18 10:12:38,247 - root - INFO - 0.1 seconds: D:\ComfyUI\custom_nodes\comfyui-liveportrait 2024-09-18 10:12:38,248 - root - INFO - 0.1 seconds: D:\ComfyUI\custom_nodes\ComfyUI-Long-CLIP 2024-09-18 10:12:38,248 - root - INFO - 0.1 seconds: D:\ComfyUI\custom_nodes\ComfyUI-UltraPixel 2024-09-18 10:12:38,248 - root - INFO - 0.1 seconds: D:\ComfyUI\custom_nodes\ComfyUI_LayerStyle 2024-09-18 10:12:38,248 - root - INFO - 0.1 seconds: D:\ComfyUI\custom_nodes\ComfyUI-BrushNet 2024-09-18 10:12:38,249 - root - INFO - 0.1 seconds: D:\ComfyUI\custom_nodes\ComfyUI_BaiduTranslate 2024-09-18 10:12:38,249 - root - INFO - 0.2 seconds: D:\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite 2024-09-18 10:12:38,250 - root - INFO - 0.2 seconds: D:\ComfyUI\custom_nodes\ComfyUI_FizzNodes 2024-09-18 10:12:38,250 - root - INFO - 0.3 seconds: D:\ComfyUI\custom_nodes\clipseg.py 2024-09-18 10:12:38,250 - root - INFO - 0.4 seconds: D:\ComfyUI\custom_nodes\ComfyUI-Easy-Use 2024-09-18 10:12:38,250 - root - INFO - 0.4 seconds: D:\ComfyUI\custom_nodes\ComfyUI-Gemini 2024-09-18 10:12:38,251 - root - INFO - 0.4 seconds: D:\ComfyUI\custom_nodes\ComfyUI-IF_AI_tools 2024-09-18 10:12:38,251 - root - INFO - 0.4 seconds: D:\ComfyUI\custom_nodes\DZ-FaceDetailer 2024-09-18 10:12:38,251 - root - INFO - 0.5 seconds: D:\ComfyUI\custom_nodes\ComfyUI-Manager 2024-09-18 10:12:38,251 - root - INFO - 1.0 seconds: D:\ComfyUI\custom_nodes\ComfyUI-Impact-Pack 2024-09-18 10:12:38,252 - root - INFO - 1.1 seconds: D:\ComfyUI\custom_nodes\comfyui-mixlab-nodes 2024-09-18 10:12:38,252 - root - INFO - 1.5 seconds: D:\ComfyUI\custom_nodes\ComfyUI-SUPIR 2024-09-18 10:12:38,252 - root - INFO - 1.6 seconds: D:\ComfyUI\custom_nodes\ComfyUI_Custom_Nodes_AlekPet 2024-09-18 10:12:38,252 - root - INFO - 1.8 seconds: D:\ComfyUI\custom_nodes\comfyui-ollama 2024-09-18 10:12:38,252 - root - INFO - 2.0 seconds: D:\ComfyUI\custom_nodes\SenseVoice-ComfyUI 2024-09-18 10:12:38,253 - root - INFO - 2.7 seconds: D:\ComfyUI\custom_nodes\was-node-suite-comfyui 2024-09-18 10:12:38,253 - root - INFO - 2.7 seconds: D:\ComfyUI\custom_nodes\ComfyUI-Inspyrenet-Rembg 2024-09-18 10:12:38,253 - root - INFO - 3.2 seconds: D:\ComfyUI\custom_nodes\ComfyUI-Crystools 2024-09-18 10:12:38,253 - root - INFO - 2024-09-18 10:12:38,269 - root - INFO -

2024-09-18 10:12:38,270 - root - INFO -

Starting server 2024-09-18 10:12:38,270 - root - INFO - To see the GUI go to: http://192.168.0.127:8188 or http://127.0.0.1:8188 2024-09-18 10:12:38,271 - root - INFO - To see the GUI go to: https://192.168.0.127:8189 or https://127.0.0.1:8189 2024-09-18 10:13:03,768 - root - INFO - got prompt 2024-09-18 10:13:23,925 - root - ERROR - !!! Exception during processing !!! local variable 'model' referenced before assignment 2024-09-18 10:13:23,926 - root - ERROR - Traceback (most recent call last): File "D:\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 "D:\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 "D:\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "D:\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\florence2_ultra.py", line 402, in load self.model, self.processor = load_model(version) File "D:\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\florence2_ultra.py", line 63, in load_model return (model.to(device), processor) UnboundLocalError: local variable 'model' referenced before assignment

2024-09-18 10:13:23,927 - root - INFO - Prompt executed in 20.12 seconds 2024-09-18 10:13:34,089 - root - INFO - got prompt 2024-09-18 10:14:07,658 - root - INFO - Prompt executed in 33.53 seconds 2024-09-18 10:14:16,227 - root - INFO - got prompt 2024-09-18 10:14:18,227 - root - INFO - Prompt executed in 1.96 seconds 2024-09-18 10:15:24,920 - root - INFO - got prompt 2024-09-18 10:15:27,707 - root - INFO - Prompt executed in 2.75 seconds 2024-09-18 10:15:35,255 - root - INFO - got prompt 2024-09-18 10:15:55,338 - root - ERROR - !!! Exception during processing !!! local variable 'model' referenced before assignment 2024-09-18 10:15:55,340 - root - ERROR - Traceback (most recent call last): File "D:\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 "D:\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 "D:\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "D:\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\florence2_ultra.py", line 402, in load self.model, self.processor = load_model(version) File "D:\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\florence2_ultra.py", line 63, in load_model return (model.to(device), processor) UnboundLocalError: local variable 'model' referenced before assignment

2024-09-18 10:15:55,344 - root - INFO - Prompt executed in 20.05 seconds 2024-09-18 10:17:10,785 - root - INFO - got prompt 2024-09-18 10:17:30,878 - root - ERROR - !!! Exception during processing !!! local variable 'model' referenced before assignment 2024-09-18 10:17:30,878 - root - ERROR - Traceback (most recent call last): File "D:\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 "D:\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 "D:\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "D:\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\florence2_ultra.py", line 402, in load self.model, self.processor = load_model(version) File "D:\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\florence2_ultra.py", line 63, in load_model return (model.to(device), processor) UnboundLocalError: local variable 'model' referenced before assignment

2024-09-18 10:17:30,880 - root - INFO - Prompt executed in 20.06 seconds 2024-09-18 10:23:21,788 - root - INFO - got prompt 2024-09-18 10:24:07,196 - root - ERROR - !!! Exception during processing !!! local variable 'model' referenced before assignment 2024-09-18 10:24:07,197 - root - ERROR - Traceback (most recent call last): File "D:\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 "D:\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 "D:\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "D:\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\florence2_ultra.py", line 402, in load self.model, self.processor = load_model(version) File "D:\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\florence2_ultra.py", line 63, in load_model return (model.to(device), processor) UnboundLocalError: local variable 'model' referenced before assignment

2024-09-18 10:24:07,198 - root - INFO - Prompt executed in 20.06 seconds

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

{"last_node_id":112,"last_link_id":217,"nodes":[{"id":11,"type":"DualCLIPLoader","pos":{"0":-1265,"1":-692},"size":{"0":313.87420654296875,"1":107.86436462402344},"flags":{},"order":0,"mode":4,"inputs":[],"outputs":[{"name":"CLIP","type":"CLIP","links":[187],"slot_index":0,"shape":3,"label":"CLIP"}],"properties":{"Node name for S&R":"DualCLIPLoader"},"widgets_values":["t5xxl_fp8_e4m3fn.safetensors","clip_l.safetensors","flux"]},{"id":10,"type":"VAELoader","pos":{"0":-248,"1":-258},"size":{"0":210,"1":58},"flags":{},"order":1,"mode":4,"inputs":[],"outputs":[{"name":"VAE","type":"VAE","links":[12,110],"slot_index":0,"shape":3,"label":"VAE"}],"properties":{"Node name for S&R":"VAELoader"},"widgets_values":["ae.sft"]},{"id":28,"type":"ModelSamplingFlux","pos":{"0":536,"1":10},"size":{"0":210,"1":122},"flags":{},"order":10,"mode":4,"inputs":[{"name":"model","type":"MODEL","link":85,"label":"model"},{"name":"width","type":"INT","link":98,"widget":{"name":"width"},"label":"width"},{"name":"height","type":"INT","link":99,"widget":{"name":"height"},"label":"height"}],"outputs":[{"name":"MODEL","type":"MODEL","links":[170],"slot_index":0,"shape":3,"label":"MODEL"}],"properties":{"Node name for S&R":"ModelSamplingFlux"},"widgets_values":[1.1500000000000001,0.5,1024,1024]},{"id":22,"type":"BasicGuider","pos":{"0":1315,"1":-398},"size":{"0":161.1999969482422,"1":46},"flags":{},"order":22,"mode":4,"inputs":[{"name":"model","type":"MODEL","link":171,"slot_index":0,"label":"model"},{"name":"conditioning","type":"CONDITIONING","link":43,"slot_index":1,"label":"conditioning"}],"outputs":[{"name":"GUIDER","type":"GUIDER","links":[30],"slot_index":0,"shape":3,"label":"GUIDER"}],"properties":{"Node name for S&R":"BasicGuider"}},{"id":17,"type":"BasicScheduler","pos":{"0":1294,"1":-20},"size":{"0":210,"1":106},"flags":{},"order":18,"mode":4,"inputs":[{"name":"model","type":"MODEL","link":172,"slot_index":0,"label":"model"}],"outputs":[{"name":"SIGMAS","type":"SIGMAS","links":[83],"slot_index":0,"shape":3,"label":"SIGMAS"}],"properties":{"Node name for S&R":"BasicScheduler"},"widgets_values":["simple",8,1]},{"id":13,"type":"SamplerCustomAdvanced","pos":{"0":1674,"1":-328},"size":{"0":236.8000030517578,"1":326},"flags":{},"order":23,"mode":4,"inputs":[{"name":"noise","type":"NOISE","link":37,"slot_index":0,"label":"noise"},{"name":"guider","type":"GUIDER","link":30,"slot_index":1,"label":"guider"},{"name":"sampler","type":"SAMPLER","link":19,"slot_index":2,"label":"sampler"},{"name":"sigmas","type":"SIGMAS","link":83,"slot_index":3,"label":"sigmas"},{"name":"latent_image","type":"LATENT","link":113,"slot_index":4,"label":"latent_image"}],"outputs":[{"name":"output","type":"LATENT","links":[],"slot_index":0,"shape":3,"label":"output"},{"name":"denoised_output","type":"LATENT","links":[102],"slot_index":1,"shape":3,"label":"denoised_output"}],"properties":{"Node name for S&R":"SamplerCustomAdvanced"}},{"id":12,"type":"UNETLoader","pos":{"0":-391,"1":23},"size":{"0":338.5738220214844,"1":114.84530639648438},"flags":{},"order":2,"mode":4,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[85],"slot_index":0,"shape":3,"label":"MODEL"}],"properties":{"Node name for S&R":"UNETLoader"},"widgets_values":["flux1-dev.sft","fp8_e4m3fn"]},{"id":48,"type":"SDXLEmptyLatentSizePicker+","pos":{"0":-1266,"1":-405},"size":{"0":268.79998779296875,"1":170},"flags":{},"order":3,"mode":4,"inputs":[],"outputs":[{"name":"LATENT","type":"LATENT","links":[113],"slot_index":0,"shape":3,"label":"LATENT"},{"name":"width","type":"INT","links":[98,151],"slot_index":1,"shape":3,"label":"width"},{"name":"height","type":"INT","links":[99,152],"slot_index":2,"shape":3,"label":"height"}],"properties":{"Node name for S&R":"SDXLEmptyLatentSizePicker+"},"widgets_values":["832x1152 (0.72)",1,0,0]},{"id":53,"type":"SetUnionControlNetType","pos":{"0":-356,"1":-532},"size":{"0":315,"1":58},"flags":{},"order":11,"mode":4,"inputs":[{"name":"control_net","type":"CONTROL_NET","link":109,"label":"control_net"}],"outputs":[{"name":"CONTROL_NET","type":"CONTROL_NET","links":[116],"slot_index":0,"shape":3,"label":"CONTROL_NET"}],"properties":{"Node name for S&R":"SetUnionControlNetType"},"widgets_values":["depth"]},{"id":100,"type":"ConditioningZeroOut","pos":{"0":-357,"1":-410},"size":{"0":317.4000244140625,"1":26},"flags":{},"order":14,"mode":4,"inputs":[{"name":"conditioning","type":"CONDITIONING","link":196,"label":"conditioning"}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[191],"slot_index":0,"shape":3,"label":"CONDITIONING"}],"properties":{"Node name for S&R":"ConditioningZeroOut"}},{"id":99,"type":"CLIPTextEncode","pos":{"0":-892,"1":-695},"size":{"0":400,"1":200},"flags":{},"order":9,"mode":4,"inputs":[{"name":"clip","type":"CLIP","link":187,"label":"clip"}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[195,196],"slot_index":0,"shape":3,"label":"CONDITIONING"}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["Mushroom Man,Red hat, green clothes, gold shoes, 3D rendering,"]},{"id":8,"type":"VAEDecode","pos":{"0":2039,"1":-283},"size":{"0":140,"1":46},"flags":{},"order":24,"mode":4,"inputs":[{"name":"samples","type":"LATENT","link":102,"label":"samples"},{"name":"vae","type":"VAE","link":12,"label":"vae"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[201],"slot_index":0,"label":"IMAGE"}],"properties":{"Node name for S&R":"VAEDecode"}},{"id":102,"type":"Image Comparer (rgthree)","pos":{"0":2276,"1":-442},"size":{"0":1218.4027099609375,"1":1367.45849609375},"flags":{},"order":25,"mode":4,"inputs":[{"name":"image_a","type":"IMAGE","link":203,"label":"image_a","dir":3},{"name":"image_b","type":"IMAGE","link":201,"label":"image_b","dir":3}],"outputs":[],"properties":{"comparer_mode":"Slide"},"widgets_values":[[{"name":"A","selected":true,"url":"/api/view?filename=rgthree.compare._temp_lybgz00003.png&type=temp&subfolder=&rand=0.6433742359588579"},{"name":"B","selected":true,"url":"/api/view?filename=rgthree.compare._temp_lybgz00004.png&type=temp&subfolder=&rand=0.2680615083825464"}]]},{"id":80,"type":"ImageScale","pos":{"0":-942,"1":-1031},"size":{"0":315,"1":130},"flags":{},"order":12,"mode":4,"inputs":[{"name":"image","type":"IMAGE","link":150,"label":"image"},{"name":"width","type":"INT","link":151,"widget":{"name":"width"},"label":"width"},{"name":"height","type":"INT","link":152,"widget":{"name":"height"},"label":"height"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[153,203],"slot_index":0,"shape":3,"label":"IMAGE"}],"properties":{"Node name for S&R":"ImageScale"},"widgets_values":["nearest-exact",512,512,"center"]},{"id":50,"type":"ControlNetApplySD3","pos":{"0":239,"1":-611},"size":{"0":428.4000244140625,"1":186},"flags":{},"order":19,"mode":4,"inputs":[{"name":"positive","type":"CONDITIONING","link":195,"label":"positive"},{"name":"negative","type":"CONDITIONING","link":191,"label":"negative"},{"name":"control_net","type":"CONTROL_NET","link":116,"label":"control_net"},{"name":"vae","type":"VAE","link":110,"label":"vae"},{"name":"image","type":"IMAGE","link":111,"label":"image"}],"outputs":[{"name":"positive","type":"CONDITIONING","links":[198],"slot_index":0,"shape":3,"label":"positive"},{"name":"negative","type":"CONDITIONING","links":[],"slot_index":1,"shape":3,"label":"negative"}],"properties":{"Node name for S&R":"ControlNetApplySD3"},"widgets_values":[0.8,0,1]},{"id":29,"type":"FluxGuidance","pos":{"0":814,"1":-554},"size":{"0":355.52764892578125,"1":63.45281219482422},"flags":{},"order":21,"mode":4,"inputs":[{"name":"conditioning","type":"CONDITIONING","link":198,"label":"conditioning"}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[43],"slot_index":0,"shape":3,"label":"CONDITIONING"}],"properties":{"Node name for S&R":"FluxGuidance"},"widgets_values":[3.5]},{"id":74,"type":"PreviewImage","pos":{"0":-63,"1":-877},"size":{"0":210,"1":246},"flags":{},"order":20,"mode":4,"inputs":[{"name":"images","type":"IMAGE","link":174,"label":"images"}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"}},{"id":54,"type":"ControlNetLoader","pos":{"0":-586,"1":-1049},"size":{"0":464.4426574707031,"1":85.33900451660156},"flags":{},"order":4,"mode":4,"inputs":[],"outputs":[{"name":"CONTROL_NET","type":"CONTROL_NET","links":[109],"slot_index":0,"shape":3,"label":"CONTROL_NET"}],"properties":{"Node name for S&R":"ControlNetLoader"},"widgets_values":["FLUX.1-dev-ControlNet-Union-Pro.safetensors"]},{"id":16,"type":"KSamplerSelect","pos":{"0":1289,"1":-129},"size":{"0":219.2825164794922,"1":58},"flags":{},"order":5,"mode":4,"inputs":[],"outputs":[{"name":"SAMPLER","type":"SAMPLER","links":[19],"shape":3,"label":"SAMPLER"}],"properties":{"Node name for S&R":"KSamplerSelect"},"widgets_values":["euler"]},{"id":25,"type":"RandomNoise","pos":{"0":866,"1":-177},"size":{"0":264.670654296875,"1":85.38040924072266},"flags":{},"order":6,"mode":4,"inputs":[],"outputs":[{"name":"NOISE","type":"NOISE","links":[37],"shape":3,"label":"NOISE"}],"properties":{"Node name for S&R":"RandomNoise"},"widgets_values":[712826470122085,"randomize"]},{"id":87,"type":"LoraLoaderModelOnly","pos":{"0":832,"1":3},"size":{"0":315,"1":82},"flags":{},"order":15,"mode":4,"inputs":[{"name":"model","type":"MODEL","link":170,"label":"model"}],"outputs":[{"name":"MODEL","type":"MODEL","links":[171,172],"slot_index":0,"shape":3,"label":"MODEL"}],"properties":{"Node name for S&R":"LoraLoaderModelOnly"},"widgets_values":["Hyper-SD\Hyper-FLUX.1-dev-8steps-lora.safetensors",0.13]},{"id":55,"type":"AIO_Preprocessor","pos":{"0":-454,"1":-881},"size":{"0":315,"1":82},"flags":{},"order":16,"mode":4,"inputs":[{"name":"image","type":"IMAGE","link":153,"label":"image"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[111,174],"slot_index":0,"shape":3,"label":"IMAGE"}],"properties":{"Node name for S&R":"AIO_Preprocessor"},"widgets_values":["DepthAnythingV2Preprocessor",1024]},{"id":56,"type":"LoadImage","pos":{"0":-1548,"1":-1882},"size":{"0":315,"1":314},"flags":{},"order":7,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[150,216],"slot_index":0,"shape":3,"label":"IMAGE"},{"name":"MASK","type":"MASK","links":null,"shape":3,"label":"MASK"}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["QQ图片20231117101041.png","image"]},{"id":105,"type":"ShowText|pysssss","pos":{"0":-592,"1":-1998},"size":{"0":491.85003662109375,"1":425.4220886230469},"flags":{},"order":17,"mode":0,"inputs":[{"name":"text","type":"STRING","link":217,"widget":{"name":"text"},"label":"text"}],"outputs":[{"name":"STRING","type":"STRING","links":null,"shape":6,"label":"STRING"}],"properties":{"Node name for S&R":"ShowText|pysssss"},"widgets_values":["","a highly detailed digital illustration in a fantasy art style, depicting a young woman with a voluptuous figure and fair skin, she has long, wavy blonde hair cascading over her shoulders and a delicate, almost ethereal appearance, her facial features are delicate, with large, expressive eyes, full lips, and a serene, almost dreamy expression, she is dressed in a flowing, white gown with intricate gold detailing, including a high neckline and a plunging neckline that accentuates her ample breasts, the gown is made of a soft, flowing fabric that clings to her curves, emphasizing her slender yet curvaceous physique, the background features an ornate, gothic-style ceiling with intricate carvings and a warm, golden light emanating from a tall, ornate lamp on the right side, casting a soft glow over the scene, the woman is holding a golden staff with intricate designs, adding a regal touch to the otherwise luxurious setting, the overall mood is one of elegance and mystery, with a blend of fantasy and elegance\n\n \(1girl, solo, long hair, breasts, looking at viewer, blonde hair, large breasts, dress, bare shoulders, jewelry, medium breasts, standing, collarbone, full body, ass, short sleeves, parted lips, sleeveless, choker, artist name, indoors, necklace, white dress, bracelet, lips, see-through, covered navel, no panties, side slit"]},{"id":111,"type":"LayerUtility: Florence2Image2Prompt","pos":{"0":-1109,"1":-2010},"size":{"0":453.5999755859375,"1":198},"flags":{},"order":13,"mode":0,"inputs":[{"name":"florence2_model","type":"FLORENCE2","link":214,"label":"florence2_model"},{"name":"image","type":"IMAGE","link":216,"label":"image"}],"outputs":[{"name":"text","type":"STRING","links":[217],"slot_index":0,"shape":3,"label":"text"},{"name":"preview_image","type":"IMAGE","links":null,"slot_index":1,"shape":3,"label":"preview_image"}],"properties":{"Node name for S&R":"LayerUtility: Florence2Image2Prompt"},"widgets_values":["generate tags(PromptGen 1.5)","",1024,3,false,false],"color":"rgba(38, 73, 116, 0.7)"},{"id":109,"type":"LayerMask: LoadFlorence2Model","pos":{"0":-1605,"1":-2132},"size":{"0":390.5999755859375,"1":58},"flags":{},"order":8,"mode":0,"inputs":[],"outputs":[{"name":"florence2_model","type":"FLORENCE2","links":[214],"slot_index":0,"shape":3,"label":"florence2_model"}],"properties":{"Node name for S&R":"LayerMask: LoadFlorence2Model"},"widgets_values":["large-PromptGen-v1.5"],"color":"rgba(27, 80, 119, 0.7)"}],"links":[[12,10,0,8,1,"VAE"],[19,16,0,13,2,"SAMPLER"],[30,22,0,13,1,"GUIDER"],[37,25,0,13,0,"NOISE"],[43,29,0,22,1,"CONDITIONING"],[83,17,0,13,3,"SIGMAS"],[85,12,0,28,0,"MODEL"],[98,48,1,28,1,"INT"],[99,48,2,28,2,"INT"],[102,13,1,8,0,"LATENT"],[109,54,0,53,0,"CONTROL_NET"],[110,10,0,50,3,"VAE"],[111,55,0,50,4,"IMAGE"],[113,48,0,13,4,"LATENT"],[116,53,0,50,2,"CONTROL_NET"],[150,56,0,80,0,"IMAGE"],[151,48,1,80,1,"INT"],[152,48,2,80,2,"INT"],[153,80,0,55,0,"IMAGE"],[170,28,0,87,0,"MODEL"],[171,87,0,22,0,"MODEL"],[172,87,0,17,0,"MODEL"],[174,55,0,74,0,"IMAGE"],[187,11,0,99,0,"CLIP"],[191,100,0,50,1,"CONDITIONING"],[195,99,0,50,0,"CONDITIONING"],[196,99,0,100,0,"CONDITIONING"],[198,50,0,29,0,"CONDITIONING"],[201,8,0,102,1,"IMAGE"],[203,80,0,102,0,"IMAGE"],[214,109,0,111,0,"FLORENCE2"],[216,56,0,111,1,"IMAGE"],[217,111,0,105,0,"STRING"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.061076460950001,"offset":[1857.2990897579916,2609.1130330405604]},"groupNodes":{}},"version":0.4}



## Additional Context
(Please add any additional context or steps to reproduce the error here)
chflame163 commented 1 month ago

Perhaps the model file download is incomplete?