chflame163 / ComfyUI_LayerStyle

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

LayerUtility: Florence2Image2Prompt 'NoneType' object is not callable #399

Open busididi opened 1 week ago

busididi commented 1 week ago

ComfyUI Error Report

Error Details

## System Information
- **ComfyUI Version:** v0.2.7
- **Arguments:** F:\ComfyUI\ComfyUI-aki-v1.3\main.py --auto-launch --preview-method auto --disable-cuda-malloc
- **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.5.1+cu124
## Devices

- **Name:** cuda:0 NVIDIA GeForce RTX 4070 Ti SUPER : cudaMallocAsync
  - **Type:** cuda
  - **VRAM Total:** 17170956288
  - **VRAM Free:** 13711444208
  - **Torch VRAM Total:** 2147483648
  - **Torch VRAM Free:** 110364912

## Logs

2024-11-11 11:23:14,752 - root - INFO - Total VRAM 16376 MB, total RAM 32581 MB 2024-11-11 11:23:14,752 - root - INFO - pytorch version: 2.5.1+cu124 2024-11-11 11:23:19,724 - root - INFO - xformers version: 0.0.28.post3 2024-11-11 11:23:19,724 - root - INFO - Set vram state to: NORMAL_VRAM 2024-11-11 11:23:19,724 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4070 Ti SUPER : cudaMallocAsync 2024-11-11 11:23:21,685 - root - INFO - Using xformers cross attention 2024-11-11 11:23:26,995 - root - INFO - [Prompt Server] web root: F:\ComfyUI\ComfyUI-aki-v1.3\web 2024-11-11 11:23:27,021 - root - INFO - Adding extra search path checkpoints F:\sd-webui-aki-v4.8\models\Stable-diffusion 2024-11-11 11:23:27,021 - root - INFO - Adding extra search path configs F:\sd-webui-aki-v4.8\configs 2024-11-11 11:23:27,021 - root - INFO - Adding extra search path vae F:\sd-webui-aki-v4.8\models\VAE 2024-11-11 11:23:27,021 - root - INFO - Adding extra search path loras F:\sd-webui-aki-v4.8\models/Lora 2024-11-11 11:23:27,021 - root - INFO - Adding extra search path loras F:\sd-webui-aki-v4.8\models/LyCORIS 2024-11-11 11:23:27,021 - root - INFO - Adding extra search path upscale_models F:\sd-webui-aki-v4.8\models/ESRGAN 2024-11-11 11:23:27,021 - root - INFO - Adding extra search path upscale_models F:\sd-webui-aki-v4.8\models/RealESRGAN 2024-11-11 11:23:27,021 - root - INFO - Adding extra search path upscale_models F:\sd-webui-aki-v4.8\models/SwinIR 2024-11-11 11:23:27,021 - root - INFO - Adding extra search path embeddings F:\sd-webui-aki-v4.8\embeddings 2024-11-11 11:23:27,021 - root - INFO - Adding extra search path hypernetworks F:\sd-webui-aki-v4.8\models/hypernetworks 2024-11-11 11:23:27,021 - root - INFO - Adding extra search path controlnet F:\sd-webui-aki-v4.8\models/ControlNet 2024-11-11 11:23:31,998 - bizyair.nodes_base - WARNING - Display name '☁️BizyAir SetUnionControlNetType' might differ from the native display name. 2024-11-11 11:23:31,998 - bizyair.nodes_base - WARNING - Display name '☁️BizyAir ControlNetInpaintingAliMamaApply' might differ from the native display name. 2024-11-11 11:23:32,003 - bizyair.nodes_base - WARNING - Display name '☁️BizyAir CFGGuider' might differ from the native display name. 2024-11-11 11:23:32,009 - bizyair.nodes_base - WARNING - Display name '☁️BizyAir CLIPTextEncodeFlux' might differ from the native display name. 2024-11-11 11:23:32,009 - bizyair.nodes_base - WARNING - Display name '☁️BizyAir FluxGuidance' might differ from the native display name. 2024-11-11 11:23:32,029 - bizyair.nodes_base - WARNING - Display name '☁️BizyAir IPAdapterModelLoader' might differ from the native display name. 2024-11-11 11:23:32,029 - bizyair.nodes_base - WARNING - Display name '☁️BizyAir IPAdapterAdvanced' might differ from the native display name. 2024-11-11 11:23:32,029 - bizyair.nodes_base - WARNING - Display name '☁️BizyAir IPAdapterStyleComposition' might differ from the native display name. 2024-11-11 11:23:32,050 - bizyair.nodes_base - WARNING - Display name '☁️BizyAir ModelSamplingSD3' might differ from the native display name. 2024-11-11 11:23:32,050 - bizyair.nodes_base - WARNING - Display name '☁️BizyAir ModelSamplingFlux' might differ from the native display name. 2024-11-11 11:23:32,056 - bizyair.nodes_base - WARNING - Display name '☁️BizyAir TripleCLIPLoader' might differ from the native display name. 2024-11-11 11:23:32,070 - bizyair.nodes_base - WARNING - Display name '☁️BizyAir UltimateSDUpscale' might differ from the native display name. 2024-11-11 11:23:32,127 - bizyair.nodes_base - WARNING - Display name '☁️BizyAir MinusZoneChatGLM3TextEncode' might differ from the native display name. 2024-11-11 11:23:32,140 - bizyair.nodes_base - WARNING - Display name '☁️BizyAir SamplerCustomAdvanced' might differ from the native display name. 2024-11-11 11:23:32,140 - bizyair.nodes_base - WARNING - Display name '☁️BizyAir BasicGuider' might differ from the native display name. 2024-11-11 11:23:32,140 - bizyair.nodes_base - WARNING - Display name '☁️BizyAir BasicScheduler' might differ from the native display name. 2024-11-11 11:23:32,140 - bizyair.nodes_base - WARNING - Display name '☁️BizyAir DualCLIPLoader' might differ from the native display name. 2024-11-11 11:23:32,140 - bizyair.nodes_base - WARNING - Display name '☁️BizyAir KSamplerSelect' might differ from the native display name. 2024-11-11 11:23:32,140 - bizyair.nodes_base - WARNING - Display name '☁️BizyAir RandomNoise' might differ from the native display name. 2024-11-11 11:23:32,140 - bizyair.nodes_base - WARNING - Display name '☁️BizyAir InpaintModelConditioning' might differ from the native display name. 2024-11-11 11:23:32,141 - bizyair.nodes_base - WARNING - Display name '☁️BizyAir ConditioningZeroOut' might differ from the native display name. 2024-11-11 11:23:32,141 - bizyair.nodes_base - WARNING - Display name '☁️BizyAir ConditioningSetTimestepRange' might differ from the native display name. 2024-11-11 11:23:44,782 - root - INFO - Total VRAM 16376 MB, total RAM 32581 MB 2024-11-11 11:23:44,782 - root - INFO - pytorch version: 2.5.1+cu124 2024-11-11 11:23:44,782 - root - INFO - xformers version: 0.0.28.post3 2024-11-11 11:23:44,782 - root - INFO - Set vram state to: NORMAL_VRAM 2024-11-11 11:23:44,782 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4070 Ti SUPER : cudaMallocAsync 2024-11-11 11:23:50,923 - root - INFO - -------------- 2024-11-11 11:23:50,923 - root - INFO -  ### Mixlab Nodes: Loaded 2024-11-11 11:23:50,926 - root - INFO - ChatGPT.available False 2024-11-11 11:23:50,926 - root - INFO - editmask.available True 2024-11-11 11:23:54,921 - root - INFO - ClipInterrogator.available True 2024-11-11 11:23:56,180 - root - INFO - PromptGenerate.available True 2024-11-11 11:23:56,180 - root - INFO - ChinesePrompt.available True 2024-11-11 11:23:56,180 - root - INFO - RembgNode.available True 2024-11-11 11:23:58,627 - root - INFO - TripoSR.available 2024-11-11 11:23:58,628 - root - INFO - MiniCPMNode.available 2024-11-11 11:23:58,827 - root - INFO - Scenedetect.available 2024-11-11 11:23:59,273 - root - INFO - FishSpeech.available 2024-11-11 11:23:59,349 - root - INFO - SenseVoice.available 2024-11-11 11:23:59,593 - root - INFO - Whisper.available False 2024-11-11 11:23:59,687 - root - INFO - FalVideo.available 2024-11-11 11:23:59,687 - root - INFO -  --------------  2024-11-11 11:23:59,937 - root - WARNING - Traceback (most recent call last): File "F:\ComfyUI\ComfyUI-aki-v1.3\nodes.py", line 2012, in load_custom_node module_spec.loader.exec_module(module) File "", line 879, in exec_module File "", line 1016, in get_code File "", line 1073, in get_data FileNotFoundError: [Errno 2] No such file or directory: 'F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Snap_Processing\init.py'

2024-11-11 11:23:59,937 - root - WARNING - Cannot import F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Snap_Processing module for custom nodes: [Errno 2] No such file or directory: 'F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Snap_Processing\init.py' 2024-11-11 11:24:13,738 - root - WARNING - Traceback (most recent call last): File "F:\ComfyUI\ComfyUI-aki-v1.3\nodes.py", line 2012, in load_custom_node module_spec.loader.exec_module(module) File "", line 879, in exec_module File "", line 1016, in get_code File "", line 1073, in get_data FileNotFoundError: [Errno 2] No such file or directory: 'F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\efficiency-nodes-comfyui-main\init.py'

2024-11-11 11:24:13,738 - root - WARNING - Cannot import F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\efficiency-nodes-comfyui-main module for custom nodes: [Errno 2] No such file or directory: 'F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\efficiency-nodes-comfyui-main\init.py' 2024-11-11 11:24:13,865 - root - WARNING - Traceback (most recent call last): File "F:\ComfyUI\ComfyUI-aki-v1.3\nodes.py", line 2012, in load_custom_node module_spec.loader.exec_module(module) File "", line 879, in exec_module File "", line 1016, in get_code File "", line 1073, in get_data FileNotFoundError: [Errno 2] No such file or directory: 'F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\SenseVoice-python-main\init.py'

2024-11-11 11:24:13,865 - root - WARNING - Cannot import F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\SenseVoice-python-main module for custom nodes: [Errno 2] No such file or directory: 'F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\SenseVoice-python-main\init.py' 2024-11-11 11:24:14,105 - root - WARNING - Traceback (most recent call last): File "F:\ComfyUI\ComfyUI-aki-v1.3\nodes.py", line 2012, in load_custom_node module_spec.loader.exec_module(module) File "", line 879, in exec_module File "", line 1016, in get_code File "", line 1073, in get_data FileNotFoundError: [Errno 2] No such file or directory: 'F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\Snaptag\init.py'

2024-11-11 11:24:14,105 - root - WARNING - Cannot import F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\Snaptag module for custom nodes: [Errno 2] No such file or directory: 'F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\Snaptag\init.py' 2024-11-11 11:24:18,458 - root - INFO - Import times for custom nodes: 2024-11-11 11:24:18,458 - root - INFO - 0.0 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_IPAdapter_plus 2024-11-11 11:24:18,458 - root - INFO - 0.0 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\efficiency-nodes-comfyui 2024-11-11 11:24:18,458 - root - INFO - 0.0 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\comfyui_controlnet_aux 2024-11-11 11:24:18,458 - root - INFO - 0.0 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_ADV_CLIP_emb 2024-11-11 11:24:18,458 - root - INFO - 0.0 seconds (IMPORT FAILED): F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\SenseVoice-python-main 2024-11-11 11:24:18,458 - root - INFO - 0.0 seconds (IMPORT FAILED): F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\Snaptag 2024-11-11 11:24:18,458 - root - INFO - 0.0 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Impact-Pack 2024-11-11 11:24:18,458 - root - INFO - 0.0 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\stability-ComfyUI-nodes 2024-11-11 11:24:18,458 - root - INFO - 0.0 seconds (IMPORT FAILED): F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\efficiency-nodes-comfyui-main 2024-11-11 11:24:18,458 - root - INFO - 0.0 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_experiments 2024-11-11 11:24:18,458 - root - INFO - 0.0 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\PowerNoiseSuite 2024-11-11 11:24:18,459 - root - INFO - 0.0 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\AIGODLIKE-ComfyUI-Translation 2024-11-11 11:24:18,459 - root - INFO - 0.0 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-WD14-Tagger 2024-11-11 11:24:18,459 - root - INFO - 0.0 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-CSV-Loader 2024-11-11 11:24:18,459 - root - INFO - 0.0 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ControlNet-LLLite-ComfyUI 2024-11-11 11:24:18,459 - root - INFO - 0.0 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\FreeU_Advanced 2024-11-11 11:24:18,459 - root - INFO - 0.0 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\cg-use-everywhere 2024-11-11 11:24:18,459 - root - INFO - 0.0 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\comfyui-string-converter 2024-11-11 11:24:18,459 - root - INFO - 0.0 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_UltimateSDUpscale 2024-11-11 11:24:18,459 - root - INFO - 0.0 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\comfyui-lama-remover 2024-11-11 11:24:18,459 - root - INFO - 0.0 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\images-grid-comfy-plugin 2024-11-11 11:24:18,459 - root - INFO - 0.0 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_TiledKSampler 2024-11-11 11:24:18,459 - root - INFO - 0.0 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Styles_CSV_Loader 2024-11-11 11:24:18,459 - root - INFO - 0.1 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\comfyui-inpaint-nodes 2024-11-11 11:24:18,459 - root - INFO - 0.1 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Video-Matting 2024-11-11 11:24:18,459 - root - INFO - 0.1 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyLiterals 2024-11-11 11:24:18,459 - root - INFO - 0.1 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\cg-image-picker 2024-11-11 11:24:18,459 - root - INFO - 0.1 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\comfy-image-saver 2024-11-11 11:24:18,459 - root - INFO - 0.1 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\rgthree-comfy 2024-11-11 11:24:18,459 - root - INFO - 0.1 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-IC-Light 2024-11-11 11:24:18,459 - root - INFO - 0.1 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\Derfuu_ComfyUI_ModdedNodes 2024-11-11 11:24:18,459 - root - INFO - 0.1 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\websocket_image_save.py 2024-11-11 11:24:18,459 - root - INFO - 0.1 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_Comfyroll_CustomNodes 2024-11-11 11:24:18,459 - root - INFO - 0.1 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Custom-Scripts 2024-11-11 11:24:18,459 - root - INFO - 0.1 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyMath 2024-11-11 11:24:18,459 - root - INFO - 0.1 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Marigold 2024-11-11 11:24:18,460 - root - INFO - 0.1 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Text_Image-Composite 2024-11-11 11:24:18,460 - root - INFO - 0.1 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-JDCN 2024-11-11 11:24:18,460 - root - INFO - 0.2 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-KJNodes 2024-11-11 11:24:18,460 - root - INFO - 0.2 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_essentials 2024-11-11 11:24:18,460 - root - INFO - 0.2 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\Snap-Processing 2024-11-11 11:24:18,460 - root - INFO - 0.2 seconds (IMPORT FAILED): F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Snap_Processing 2024-11-11 11:24:18,460 - root - INFO - 0.3 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-MingNodes 2024-11-11 11:24:18,460 - root - INFO - 0.3 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Crystools 2024-11-11 11:24:18,460 - root - INFO - 0.3 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\comfyui-workspace-manager 2024-11-11 11:24:18,460 - root - INFO - 0.3 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_MiniCPM-V-2_6-int4 2024-11-11 11:24:18,460 - root - INFO - 0.3 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Inspire-Pack 2024-11-11 11:24:18,460 - root - INFO - 0.4 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Advanced-ControlNet 2024-11-11 11:24:18,460 - root - INFO - 0.4 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Manager 2024-11-11 11:24:18,460 - root - INFO - 0.6 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-AnimateDiff-Evolved 2024-11-11 11:24:18,460 - root - INFO - 1.4 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\comfyui_segment_anything 2024-11-11 11:24:18,460 - root - INFO - 1.6 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\BizyAir 2024-11-11 11:24:18,460 - root - INFO - 1.6 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Gemini 2024-11-11 11:24:18,460 - root - INFO - 1.8 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Easy-Use 2024-11-11 11:24:18,460 - root - INFO - 2.0 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_LayerStyle 2024-11-11 11:24:18,460 - root - INFO - 2.1 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\comfyui-art-venture 2024-11-11 11:24:18,460 - root - INFO - 2.1 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_FizzNodes 2024-11-11 11:24:18,460 - root - INFO - 2.1 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-BrushNet 2024-11-11 11:24:18,460 - root - INFO - 2.1 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Anyline 2024-11-11 11:24:18,460 - root - INFO - 4.3 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\was-node-suite-comfyui 2024-11-11 11:24:18,460 - root - INFO - 7.0 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_Custom_Nodes_AlekPet 2024-11-11 11:24:18,460 - root - INFO - 13.3 seconds: F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\comfyui-mixlab-nodes 2024-11-11 11:24:18,460 - root - INFO - 2024-11-11 11:24:18,473 - root - INFO - Starting server

2024-11-11 11:24:18,474 - root - INFO - To see the GUI go to: http://127.0.0.1:8188 2024-11-11 13:39:50,507 - root - INFO - got prompt 2024-11-11 13:39:50,530 - root - WARNING - WARNING: [Errno 2] No such file or directory: 'F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Snap_Processing\save\output.png' 2024-11-11 13:40:00,870 - root - INFO - model weight dtype torch.float16, manual cast: None 2024-11-11 13:40:00,872 - root - INFO - model_type EPS 2024-11-11 13:41:21,336 - root - INFO - Using xformers attention in VAE 2024-11-11 13:41:21,337 - root - INFO - Using xformers attention in VAE 2024-11-11 13:41:24,729 - root - INFO - Requested to load SDXLClipModel 2024-11-11 13:41:24,730 - root - INFO - Loading 1 new model 2024-11-11 13:41:24,738 - root - INFO - loaded completely 0.0 1560.802734375 True 2024-11-11 13:41:41,580 - root - INFO - model weight dtype torch.float16, manual cast: None 2024-11-11 13:41:41,580 - root - INFO - model_type EPS 2024-11-11 13:42:10,583 - root - INFO - Using xformers attention in VAE 2024-11-11 13:42:10,585 - root - INFO - Using xformers attention in VAE 2024-11-11 13:43:12,824 - root - ERROR - !!! Exception during processing !!! 'NoneType' object is not callable 2024-11-11 13:43:12,868 - root - ERROR - Traceback (most recent call last): File "F:\ComfyUI\ComfyUI-aki-v1.3\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 "F:\ComfyUI\ComfyUI-aki-v1.3\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 "F:\ComfyUI\ComfyUI-aki-v1.3\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "F:\ComfyUI\ComfyUI-aki-v1.3\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_LayerStyle\py\florence2_ultra.py", line 585, in florence2_image2prompt results, output_image = process_image(model, processor, img, task, max_new_tokens, num_beams, File "F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_LayerStyle\py\florence2_ultra.py", line 235, in process_image result = run_example(model, processor, task_prompt, image, max_new_tokens, num_beams, do_sample) File "F:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_LayerStyle\py\florence2_ultra.py", line 210, in run_example inputs = processor(text=prompt, images=image, return_tensors="pt").to(device) TypeError: 'NoneType' object is not callable

2024-11-11 13:43:12,869 - root - INFO - Prompt executed in 202.34 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)
LiJT commented 1 week ago

Same issue as https://github.com/chflame163/ComfyUI_LayerStyle/issues/398

busididi commented 1 week ago

与#398相同的问题

Yes, this problem has been bothering me for a while.

busididi commented 1 day ago
1055ca37ae791b837e1ad7213a2c76d

我终于解决这个问题了,这个问题的原因的没有下载好对应的模型,只要把模型下载到对应的文件夹就可以了,https://huggingface.co/chflame163/ComfyUI_LayerStyle/tree/main/ComfyUI/models/florence2

LiJT commented 1 day ago

image 我只按需下载了这么几个模型,发现依然没用,错误依旧,唯独 large-PromptGen-v2.0 不支持

1055ca37ae791b837e1ad7213a2c76d 我终于解决这个问题了,这个问题的原因的没有下载好对应的模型,只要把模型下载到对应的文件夹就可以了,https://huggingface.co/chflame163/ComfyUI_LayerStyle/tree/main/ComfyUI/models/florence2

busididi commented 1 day ago

图像 我只读了这么几个模型,发现依然没用,错误依然,唯独大-PromptGen-v2.0 不支持

1055ca37ae791b837e1ad7213a2c76d我终于解决了这个问题了,这个问题的原因是没有下载好对应的模型,只要把模型下载到对应的文件夹就可以了,https://huggingface.co/chflame163/ComfyUI_LayerStyle/tree/main/ComfyUI/模型/佛罗伦萨2

那可能需要换一个模型来使用