节点Florence2lmage2Prompt不可用
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
2# ComfyUI Error Report
## Error Details
- **Node ID:** 74
- **Node Type:** LayerUtility: Florence2Image2Prompt
- **Exception Type:** TypeError
- **Exception Message:** 'NoneType' object is not callable
## Stack Trace
```
File "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\execution.py", line 349, 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 "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\execution.py", line 224, 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 "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\execution.py", line 196, in _map_node_over_list
process_inputs(input_dict, i)
File "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\execution.py", line 185, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\ComfyUI_LayerStyle_Advance\py\florence2_ultra.py", line 589, in florence2_image2prompt
results, output_image = process_image(model, processor, img, task, max_new_tokens, num_beams,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\ComfyUI_LayerStyle_Advance\py\florence2_ultra.py", line 243, in process_image
result = run_example(model, processor, task_prompt, image, max_new_tokens, num_beams, do_sample)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\ComfyUI_LayerStyle_Advance\py\florence2_ultra.py", line 214, in run_example
inputs = processor(text=prompt, images=image, return_tensors="pt").to(device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```
## System Information
- **ComfyUI Version:** 0.3.34
- **Arguments:** E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\main.py --auto-launch --preview-method auto --disable-cuda-malloc
- **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:** false
- **PyTorch Version:** 2.7.0+cu128
## Devices
- **Name:** cuda:0 NVIDIA GeForce RTX 2080 Ti : native
- **Type:** cuda
- **VRAM Total:** 11810701312
- **VRAM Free:** 10551689216
- **Torch VRAM Total:** 20971520
- **Torch VRAM Free:** 12451840
## Logs
```
2025-09-09T13:41:40.747708 - 0.1 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\teacache
2025-09-09T13:41:40.747708 - 0.1 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui-layerdiffuse
2025-09-09T13:41:40.747708 - 0.1 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui_UltimateSDUpscale
2025-09-09T13:41:40.747708 - 0.1 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\ComfyUI-Custom-Scripts-main
2025-09-09T13:41:40.747708 - 0.1 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui-frame-interpolation
2025-09-09T13:41:40.747708 - 0.1 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui-custom-scripts
2025-09-09T13:41:40.748707 - 0.2 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui-VideoHelperSuite
2025-09-09T13:41:40.748707 - 0.2 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\efficiency-nodes-comfyui
2025-09-09T13:41:40.748707 - 0.2 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui-KJNodes
2025-09-09T13:41:40.748707 - 0.3 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui-Inspire-Pack
2025-09-09T13:41:40.748707 - 0.4 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui_controlnet_aux
2025-09-09T13:41:40.748707 - 0.4 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui-advanced-controlnet
2025-09-09T13:41:40.748707 - 0.4 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\ComfyUI_LayerStyle_Advance
2025-09-09T13:41:40.748707 - 0.5 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui-animatediff-evolved
2025-09-09T13:41:40.748707 - 0.5 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\rgthree-comfy
2025-09-09T13:41:40.749708 - 0.6 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui_essentials
2025-09-09T13:41:40.749708 - 0.6 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui-HunyuanVideoWrapper
2025-09-09T13:41:40.749708 - 0.7 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui-Impact-Pack
2025-09-09T13:41:40.749708 - 1.0 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui-manager
2025-09-09T13:41:40.749708 - 2.0 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui-rmbg
2025-09-09T13:41:40.749708 - 2.0 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui-logicutils
2025-09-09T13:41:40.749708 - 4.2 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui-crystools
2025-09-09T13:41:40.749708 - 8.7 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui-easy-use
2025-09-09T13:41:40.749708 - 9.9 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\pr-was-node-suite-comfyui-47064894
2025-09-09T13:41:40.749708 - 12.1 seconds (IMPORT FAILED): E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\ComfyUI_Custom_Nodes_AlekPet-master
2025-09-09T13:41:40.750708 - 14.2 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui_custom_nodes_alekpet
2025-09-09T13:41:40.750708 - 14.5 seconds: E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui-mixlab-nodes
2025-09-09T13:41:40.750708 -
2025-09-09T13:41:40.849259 - Starting server
2025-09-09T13:41:40.850258 - To see the GUI go to: http://127.0.0.1:8188
2025-09-09T13:41:41.336067 - Use Proxy:2025-09-09T13:41:41.336067 - 2025-09-09T13:41:41.336067 - http://127.0.0.1:78902025-09-09T13:41:41.336067 -
2025-09-09T13:41:41.922106 - FETCH ComfyRegistry Data: 55/972025-09-09T13:41:41.922106 -
2025-09-09T13:41:42.422941 - Use Proxy:2025-09-09T13:41:42.422941 - 2025-09-09T13:41:42.422941 - http://127.0.0.1:78902025-09-09T13:41:42.422941 -
2025-09-09T13:41:43.418144 - Use Proxy:2025-09-09T13:41:43.418144 - 2025-09-09T13:41:43.418144 - http://127.0.0.1:78902025-09-09T13:41:43.418144 -
2025-09-09T13:41:44.382236 - Use Proxy:2025-09-09T13:41:44.382236 - 2025-09-09T13:41:44.382236 - http://127.0.0.1:78902025-09-09T13:41:44.382236 -
2025-09-09T13:41:44.698797 - E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/photoswipe-lightbox.esm.min.js2025-09-09T13:41:44.698797 -
2025-09-09T13:41:44.809646 - E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/photoswipe.min.css2025-09-09T13:41:44.810650 -
2025-09-09T13:41:44.893703 - E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/pickr.min.js2025-09-09T13:41:44.893703 -
2025-09-09T13:41:45.336208 - Use Proxy:2025-09-09T13:41:45.336208 - 2025-09-09T13:41:45.336208 - http://127.0.0.1:78902025-09-09T13:41:45.336208 -
2025-09-09T13:41:46.431159 - Use Proxy:2025-09-09T13:41:46.431159 - 2025-09-09T13:41:46.432142 - http://127.0.0.1:78902025-09-09T13:41:46.432142 -
2025-09-09T13:41:46.925145 - FETCH ComfyRegistry Data: 60/972025-09-09T13:41:46.925145 -
2025-09-09T13:41:47.426459 - Use Proxy:2025-09-09T13:41:47.426459 - 2025-09-09T13:41:47.426459 - http://127.0.0.1:78902025-09-09T13:41:47.426459 -
2025-09-09T13:41:48.176396 - E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/classic.min.css2025-09-09T13:41:48.176396 -
2025-09-09T13:41:48.193393 - E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/model-viewer.min.js2025-09-09T13:41:48.193393 -
2025-09-09T13:41:48.248394 - E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/juxtapose.css2025-09-09T13:41:48.248394 -
2025-09-09T13:41:48.269642 - E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/juxtapose.min.js2025-09-09T13:41:48.269642 -
2025-09-09T13:41:48.374981 - Use Proxy:2025-09-09T13:41:48.374981 - 2025-09-09T13:41:48.374981 - http://127.0.0.1:78902025-09-09T13:41:48.374981 -
2025-09-09T13:41:49.318922 - Use Proxy:2025-09-09T13:41:49.318922 - 2025-09-09T13:41:49.318922 - http://127.0.0.1:78902025-09-09T13:41:49.318922 -
2025-09-09T13:41:50.432326 - Use Proxy:2025-09-09T13:41:50.432326 - 2025-09-09T13:41:50.432326 - http://127.0.0.1:78902025-09-09T13:41:50.432326 -
2025-09-09T13:41:51.557309 - Use Proxy:2025-09-09T13:41:51.557309 - 2025-09-09T13:41:51.557309 - http://127.0.0.1:78902025-09-09T13:41:51.557309 -
2025-09-09T13:41:52.071119 - FETCH ComfyRegistry Data: 65/972025-09-09T13:41:52.071119 -
2025-09-09T13:41:52.572291 - Use Proxy:2025-09-09T13:41:52.572291 - 2025-09-09T13:41:52.572291 - http://127.0.0.1:78902025-09-09T13:41:52.572291 -
2025-09-09T13:41:53.551774 - Use Proxy:2025-09-09T13:41:53.551774 - 2025-09-09T13:41:53.551774 - http://127.0.0.1:78902025-09-09T13:41:53.551774 -
2025-09-09T13:41:54.529713 - Use Proxy:2025-09-09T13:41:54.529713 - 2025-09-09T13:41:54.529713 - http://127.0.0.1:78902025-09-09T13:41:54.529713 -
2025-09-09T13:41:55.467957 - Use Proxy:2025-09-09T13:41:55.467957 - 2025-09-09T13:41:55.467957 - http://127.0.0.1:78902025-09-09T13:41:55.467957 -
2025-09-09T13:41:55.589517 - got prompt
2025-09-09T13:41:56.509118 - Use Proxy:2025-09-09T13:41:56.557227 - 2025-09-09T13:41:56.589204 - http://127.0.0.1:78902025-09-09T13:41:56.621226 -
2025-09-09T13:41:57.399375 - FETCH ComfyRegistry Data: 70/972025-09-09T13:41:57.399375 -
2025-09-09T13:41:57.918460 - Use Proxy:2025-09-09T13:41:57.919462 - 2025-09-09T13:41:57.919462 - http://127.0.0.1:78902025-09-09T13:41:57.920462 -
2025-09-09T13:41:59.787862 - Use Proxy:2025-09-09T13:41:59.787862 - 2025-09-09T13:41:59.787862 - http://127.0.0.1:78902025-09-09T13:41:59.787862 -
2025-09-09T13:42:00.759377 - Use Proxy:2025-09-09T13:42:00.759377 - 2025-09-09T13:42:00.759377 - http://127.0.0.1:78902025-09-09T13:42:00.759377 -
2025-09-09T13:42:01.894985 - Use Proxy:2025-09-09T13:42:01.894985 - 2025-09-09T13:42:01.894985 - http://127.0.0.1:78902025-09-09T13:42:01.894985 -
2025-09-09T13:42:02.840354 - Use Proxy:2025-09-09T13:42:02.840354 - 2025-09-09T13:42:02.840354 - http://127.0.0.1:78902025-09-09T13:42:02.840354 -
2025-09-09T13:42:03.363141 - FETCH ComfyRegistry Data: 75/972025-09-09T13:42:03.363141 -
2025-09-09T13:42:03.864105 - Use Proxy:2025-09-09T13:42:03.864105 - 2025-09-09T13:42:03.864105 - http://127.0.0.1:78902025-09-09T13:42:03.864105 -
2025-09-09T13:42:04.954504 - Use Proxy:2025-09-09T13:42:04.954504 - 2025-09-09T13:42:04.954504 - http://127.0.0.1:78902025-09-09T13:42:04.954504 -
2025-09-09T13:42:06.045834 - Use Proxy:2025-09-09T13:42:06.045834 - 2025-09-09T13:42:06.046581 - http://127.0.0.1:78902025-09-09T13:42:06.046581 -
2025-09-09T13:42:06.331079 - Device set to use cuda
2025-09-09T13:42:07.166053 - Use Proxy:2025-09-09T13:42:07.166053 - 2025-09-09T13:42:07.166053 - http://127.0.0.1:78902025-09-09T13:42:07.166053 -
2025-09-09T13:42:08.136432 - Use Proxy:2025-09-09T13:42:08.136432 - 2025-09-09T13:42:08.136432 - http://127.0.0.1:78902025-09-09T13:42:08.136432 -
2025-09-09T13:42:08.643327 - FETCH ComfyRegistry Data: 80/972025-09-09T13:42:08.643327 -
2025-09-09T13:42:09.143947 - Use Proxy:2025-09-09T13:42:09.143947 - 2025-09-09T13:42:09.143947 - http://127.0.0.1:78902025-09-09T13:42:09.143947 -
2025-09-09T13:42:10.107373 - Use Proxy:2025-09-09T13:42:10.107373 - 2025-09-09T13:42:10.107373 - http://127.0.0.1:78902025-09-09T13:42:10.107373 -
2025-09-09T13:42:11.287843 - Use Proxy:2025-09-09T13:42:11.287843 - 2025-09-09T13:42:11.287843 - http://127.0.0.1:78902025-09-09T13:42:11.287843 -
2025-09-09T13:42:11.636902 - test en_text2025-09-09T13:42:11.636902 - 2025-09-09T13:42:11.636902 - ['Hotel, Room']2025-09-09T13:42:11.636902 -
2025-09-09T13:42:12.160052 - prompt_result2025-09-09T13:42:12.160052 - 2025-09-09T13:42:12.160052 - ['Hotel, Room']2025-09-09T13:42:12.160052 -
2025-09-09T13:42:12.372685 - model_path is E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts\lllyasviel\Annotators\mlsd_large_512_fp32.pth2025-09-09T13:42:12.372685 -
2025-09-09T13:42:12.397301 - Use Proxy:2025-09-09T13:42:12.397301 - 2025-09-09T13:42:12.397301 - http://127.0.0.1:78902025-09-09T13:42:12.397301 -
2025-09-09T13:42:14.058631 - Use Proxy:2025-09-09T13:42:14.058631 - 2025-09-09T13:42:14.058631 - http://127.0.0.1:78902025-09-09T13:42:14.058631 -
2025-09-09T13:42:14.678611 - FETCH ComfyRegistry Data: 85/972025-09-09T13:42:14.678611 -
2025-09-09T13:42:15.182207 - Use Proxy:2025-09-09T13:42:15.183129 - 2025-09-09T13:42:15.183129 - http://127.0.0.1:78902025-09-09T13:42:15.183129 -
2025-09-09T13:42:16.029802 - Using a slow image processor as `use_fast` is unset and a slow processor was saved with this model. `use_fast=True` will be the default behavior in v4.50, even if the model was saved with a slow processor. This will result in minor differences in outputs. You'll still be able to use a slow processor with `use_fast=False`.
2025-09-09T13:42:16.043804 - Device set to use cuda:0
2025-09-09T13:42:16.348449 - Use Proxy:2025-09-09T13:42:16.348449 - 2025-09-09T13:42:16.348449 - http://127.0.0.1:78902025-09-09T13:42:16.348449 -
2025-09-09T13:42:17.453484 - Use Proxy:2025-09-09T13:42:17.453484 - 2025-09-09T13:42:17.453484 - http://127.0.0.1:78902025-09-09T13:42:17.453484 -
2025-09-09T13:42:18.402967 - Use Proxy:2025-09-09T13:42:18.402967 - 2025-09-09T13:42:18.402967 - http://127.0.0.1:78902025-09-09T13:42:18.402967 -
2025-09-09T13:42:19.370916 - Use Proxy:2025-09-09T13:42:19.370916 - 2025-09-09T13:42:19.370916 - http://127.0.0.1:78902025-09-09T13:42:19.370916 -
2025-09-09T13:42:19.988474 - FETCH ComfyRegistry Data: 90/972025-09-09T13:42:19.988474 -
2025-09-09T13:42:20.489377 - Use Proxy:2025-09-09T13:42:20.489377 - 2025-09-09T13:42:20.489377 - http://127.0.0.1:78902025-09-09T13:42:20.489377 -
2025-09-09T13:42:21.460344 - Use Proxy:2025-09-09T13:42:21.460344 - 2025-09-09T13:42:21.460344 - http://127.0.0.1:78902025-09-09T13:42:21.460344 -
2025-09-09T13:42:22.427490 - Use Proxy:2025-09-09T13:42:22.427490 - 2025-09-09T13:42:22.427490 - http://127.0.0.1:78902025-09-09T13:42:22.427490 -
2025-09-09T13:42:23.391650 - Use Proxy:2025-09-09T13:42:23.391650 - 2025-09-09T13:42:23.391650 - http://127.0.0.1:78902025-09-09T13:42:23.391650 -
2025-09-09T13:42:24.347444 - Use Proxy:2025-09-09T13:42:24.353441 - 2025-09-09T13:42:24.353441 - http://127.0.0.1:78902025-09-09T13:42:24.353441 -
2025-09-09T13:42:24.795892 - FETCH ComfyRegistry Data: 95/972025-09-09T13:42:24.795892 -
2025-09-09T13:42:25.300449 - Use Proxy:2025-09-09T13:42:25.304446 - 2025-09-09T13:42:25.304446 - http://127.0.0.1:78902025-09-09T13:42:25.304446 -
2025-09-09T13:42:25.538509 - Using xformers attention in VAE
2025-09-09T13:42:25.541509 - Using xformers attention in VAE
2025-09-09T13:42:26.327842 - Use Proxy:2025-09-09T13:42:26.327842 - 2025-09-09T13:42:26.327842 - http://127.0.0.1:78902025-09-09T13:42:26.327842 -
2025-09-09T13:42:27.196357 - FETCH ComfyRegistry Data [DONE]2025-09-09T13:42:27.196357 -
2025-09-09T13:42:27.472943 - [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
2025-09-09T13:42:27.530943 - FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json2025-09-09T13:42:27.530943 - 2025-09-09T13:42:27.530943 - Use Proxy:2025-09-09T13:42:27.530943 - 2025-09-09T13:42:27.530943 - http://127.0.0.1:78902025-09-09T13:42:27.530943 -
2025-09-09T13:42:27.903959 - [DONE]2025-09-09T13:42:27.903959 -
2025-09-09T13:42:28.025912 - [ComfyUI-Manager] All startup tasks have been completed.
2025-09-09T13:42:35.585145 - VAE load device: cuda:0, offload device: cpu, dtype: torch.float32
2025-09-09T13:42:38.160663 - model weight dtype torch.float16, manual cast: None
2025-09-09T13:42:38.294261 - model_type EPS
2025-09-09T13:43:11.054220 - Using xformers attention in VAE
2025-09-09T13:43:11.057220 - Using xformers attention in VAE
2025-09-09T13:43:21.803864 - VAE load device: cuda:0, offload device: cpu, dtype: torch.float32
2025-09-09T13:43:21.999083 - CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16
2025-09-09T13:43:28.140338 - # 😺dzNodes: LayerStyle -> [1;41mError loading model or tokenizer: Unrecognized configuration class for this kind of AutoModel: AutoModelForCausalLM.
Model type should be one of AriaTextConfig, BambaConfig, BartConfig, BertConfig, BertGenerationConfig, BigBirdConfig, BigBirdPegasusConfig, BioGptConfig, BlenderbotConfig, BlenderbotSmallConfig, BloomConfig, CamembertConfig, LlamaConfig, CodeGenConfig, CohereConfig, Cohere2Config, CpmAntConfig, CTRLConfig, Data2VecTextConfig, DbrxConfig, DiffLlamaConfig, ElectraConfig, Emu3Config, ErnieConfig, FalconConfig, FalconMambaConfig, FuyuConfig, GemmaConfig, Gemma2Config, Gemma3Config, Gemma3TextConfig, GitConfig, GlmConfig, GotOcr2Config, GPT2Config, GPT2Config, GPTBigCodeConfig, GPTNeoConfig, GPTNeoXConfig, GPTNeoXJapaneseConfig, GPTJConfig, GraniteConfig, GraniteMoeConfig, GraniteMoeSharedConfig, HeliumConfig, JambaConfig, JetMoeConfig, LlamaConfig, MambaConfig, Mamba2Config, MarianConfig, MBartConfig, MegaConfig, MegatronBertConfig, MistralConfig, MixtralConfig, MllamaConfig, MoshiConfig, MptConfig, MusicgenConfig, MusicgenMelodyConfig, MvpConfig, NemotronConfig, OlmoConfig, Olmo2Config, OlmoeConfig, OpenLlamaConfig, OpenAIGPTConfig, OPTConfig, PegasusConfig, PersimmonConfig, PhiConfig, Phi3Config, PhimoeConfig, PLBartConfig, ProphetNetConfig, QDQBertConfig, Qwen2Config, Qwen2MoeConfig, RecurrentGemmaConfig, ReformerConfig, RemBertConfig, RobertaConfig, RobertaPreLayerNormConfig, RoCBertConfig, RoFormerConfig, RwkvConfig, Speech2Text2Config, StableLmConfig, Starcoder2Config, TransfoXLConfig, TrOCRConfig, WhisperConfig, XGLMConfig, XLMConfig, XLMProphetNetConfig, XLMRobertaConfig, XLMRobertaXLConfig, XLNetConfig, XmodConfig, ZambaConfig, Zamba2Config.[m2025-09-09T13:43:28.140338 -
2025-09-09T13:43:28.321180 - !!! Exception during processing !!! 'NoneType' object is not callable
2025-09-09T13:43:28.337180 - Traceback (most recent call last):
File "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\execution.py", line 349, 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 "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\execution.py", line 224, 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 "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\execution.py", line 196, in _map_node_over_list
process_inputs(input_dict, i)
File "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\execution.py", line 185, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\ComfyUI_LayerStyle_Advance\py\florence2_ultra.py", line 589, in florence2_image2prompt
results, output_image = process_image(model, processor, img, task, max_new_tokens, num_beams,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\ComfyUI_LayerStyle_Advance\py\florence2_ultra.py", line 243, in process_image
result = run_example(model, processor, task_prompt, image, max_new_tokens, num_beams, do_sample)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\ComfyUI_LayerStyle_Advance\py\florence2_ultra.py", line 214, in run_example
inputs = processor(text=prompt, images=image, return_tensors="pt").to(device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not callable
2025-09-09T13:43:28.338179 - Prompt executed in 92.74 seconds
2025-09-09T13:57:44.303736 - got prompt
2025-09-09T13:57:46.060032 - Device set to use cuda
2025-09-09T13:57:47.170180 - test en_text2025-09-09T13:57:47.170180 - 2025-09-09T13:57:47.170180 - ['Hotel, Room']2025-09-09T13:57:47.170180 -
2025-09-09T13:57:47.353813 - prompt_result2025-09-09T13:57:47.353813 - 2025-09-09T13:57:47.353813 - ['Hotel, Room']2025-09-09T13:57:47.353813 -
2025-09-09T13:57:47.385835 - !!! Exception during processing !!! 'NoneType' object is not callable
2025-09-09T13:57:47.386808 - Traceback (most recent call last):
File "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\execution.py", line 349, 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 "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\execution.py", line 224, 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 "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\execution.py", line 196, in _map_node_over_list
process_inputs(input_dict, i)
File "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\execution.py", line 185, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\ComfyUI_LayerStyle_Advance\py\florence2_ultra.py", line 589, in florence2_image2prompt
results, output_image = process_image(model, processor, img, task, max_new_tokens, num_beams,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\ComfyUI_LayerStyle_Advance\py\florence2_ultra.py", line 243, in process_image
result = run_example(model, processor, task_prompt, image, max_new_tokens, num_beams, do_sample)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\ComfyUI_LayerStyle_Advance\py\florence2_ultra.py", line 214, in run_example
inputs = processor(text=prompt, images=image, return_tensors="pt").to(device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not callable
2025-09-09T13:57:47.387810 - Prompt executed in 3.07 seconds
2025-09-09T13:57:55.669858 - got prompt
2025-09-09T13:57:56.911628 - Device set to use cuda
2025-09-09T13:57:58.018826 - test en_text2025-09-09T13:57:58.018826 - 2025-09-09T13:57:58.018826 - ['Hotel, Room']2025-09-09T13:57:58.018826 -
2025-09-09T13:57:58.116831 - prompt_result2025-09-09T13:57:58.116831 - 2025-09-09T13:57:58.116831 - ['Hotel, Room']2025-09-09T13:57:58.116831 -
2025-09-09T13:57:58.150808 - !!! Exception during processing !!! 'NoneType' object is not callable
2025-09-09T13:57:58.151808 - Traceback (most recent call last):
File "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\execution.py", line 349, 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 "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\execution.py", line 224, 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 "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\execution.py", line 196, in _map_node_over_list
process_inputs(input_dict, i)
File "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\execution.py", line 185, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\ComfyUI_LayerStyle_Advance\py\florence2_ultra.py", line 589, in florence2_image2prompt
results, output_image = process_image(model, processor, img, task, max_new_tokens, num_beams,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\ComfyUI_LayerStyle_Advance\py\florence2_ultra.py", line 243, in process_image
result = run_example(model, processor, task_prompt, image, max_new_tokens, num_beams, do_sample)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-aki-v1.7\ComfyUI-aki-v1.7\ComfyUI\custom_nodes\ComfyUI_LayerStyle_Advance\py\florence2_ultra.py", line 214, in run_example
inputs = processor(text=prompt, images=image, return_tensors="pt").to(device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not callable
2025-09-09T13:57:58.152808 - Prompt executed in 2.47 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)
Contributor guide
Assessment
This issue has not been assessed yet.