Skip to content

“NoneType”对象不可下标 #183

Description

@myivi

ComfyUI 错误报告

错误详情

  • 节点 ID: 14
  • 节点类型: Joy_caption_two
  • 异常类型: TypeError
  • 异常消息:“NoneType”对象不可下标

堆栈跟踪

  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\execution.py”,第 499 行,在 execute 函数中
    output_data,output_ui,has_subgraph,has_pending_tasks = 等待 get_output_data(prompt_id,unique_id,obj,input_data_all,execution_block_cb = excution_block_cb,pre_execute_cb = pre_execute_cb,hidden_​​inputs = hidden_​​inputs)
                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\execution.py”,第 316 行,在 get_output_data 中
    return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_​​inputs=hidden_​​inputs)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\execution.py”,第 290 行,在 _async_map_node_over_list 中
    await process_inputs(input_dict, i)

  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\execution.py”,第 278 行,在 process_inputs 中
    result = f(**inputs)
             ^^^^^^^^^^^

  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_SLK_joy_caption_two-main\joy_caption_two_node.py”,第 342 行,在 generate 函数中
    嵌入图像 = joy_two_pipeline.image_adapter.嵌入图像(vision_outputs.hidden_​​states)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_SLK_joy_caption_two-main\joy_caption_two_node.py”,第 144 行,在 embedded_image 中
    embedded_images = self.image_adapter(hidden_​​states)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  文件“E:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py”,第 1751 行,在 _wrapped_call_impl 中
    返回 self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  文件“E:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py”,第 1762 行,在 _call_impl 中
    返回 forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_SLK_joy_caption_two-main\joy_caption_two_node.py”,第 101 行,在 forward 中
    x = vision_outputs[-2]
        ~~~~~~~~~~~~~~^^^^

系统信息

  • ComfyUI 版本: 0.3.67
  • 参数: ComfyUI\main.py --windows-standalone-build --fast fp16_accumulation
  • **操作系统:**nt
  • Python 版本: 3.12.10 (tags/v3.12.10:0cc8128, 2025 年 4 月 8 日 12:21:36) [MSC v.1943 64 位 (AMD64)]
  • 嵌入式 Python:
  • PyTorch 版本: 2.7.1+cu128

设备

  • 名称: cuda:0 NVIDIA GeForce RTX 4060 Ti:cudaMallocAsync
    • 类型: CUDA
    • 显存总量: 17175150592
    • 可用显存: 15012520120
    • Torch 显存总量: 939524096
    • Torch 显存释放: 31514808

日志

2025-10-30T23:08:26.902930 - 添加额外搜索路径 clip_vision E:\AI\ComfyUI-aki-v1.7\ComfyUI\models\clip_vision
2025-10-30T23:08:26.902930 - 添加额外的搜索路径配置 E:\AI\ComfyUI-aki-v1.7\ComfyUI\models\configs
2025-10-30T23:08:26.902930 - 添加额外搜索路径 controlnet E:\AI\ComfyUI-aki-v1.7\ComfyUI\models\controlnet
2025-10-30T23:08:26.902930 - 添加额外搜索路径 diffusion_models E:\AI\ComfyUI-aki-v1.7\ComfyUI\models\diffusion_models
2025-10-30T23:08:26.902930 - 添加额外搜索路径 diffusion_models E:\AI\ComfyUI-aki-v1.7\ComfyUI\models\unet
2025-10-30T23:08:26.902930 - 添加额外的搜索路径嵌入 E:\AI\ComfyUI-aki-v1.7\ComfyUI\models\embeddings
2025-10-30T23:08:26.902930 - 添加额外搜索路径 loras E:\AI\ComfyUI-aki-v1.7\ComfyUI\models\loras
2025-10-30T23:08:26.902930 - 添加额外搜索路径 upscale_models E:\AI\ComfyUI-aki-v1.7\ComfyUI\models\upscale_models
2025-10-30T23:08:26.902930 - 添加额外的搜索路径 vae E:\AI\ComfyUI-aki-v1.7\ComfyUI\models\vae
2025-10-30T23:08:27.416994 - [开始] 安全扫描2025-10-30T23:08:27.416994 -
2025-10-30T23:08:28.238064 - [完成] 安全扫描2025-10-30T23:08:28.238064 -
2025-10-30T23:08:28.344960 - ## ComfyUI-Manager:依赖项安装完成。2025-10-30T23:08:28.344960 -
2025-10-30T23:08:28.344960 - ** ComfyUI 启动时间:2025-10-30T23:08:28.344960 - 2025-10-30T23:08:28.344960 - 2025-10-30 23:08:28.3442025-10-30T23:08:28.344960 -
2025-10-30T23:08:28.344960 - ** 平台:2025-10-30T23:08:28.344960 - 2025-10-30T23:08:28.344960 - Windows2025-10-30T23:08:28.346472 -
2025-10-30T23:08:28.346472 - ** Python 版本:2025-10-30T23:08:28.346472 - 2025-10-30T23:08:28.346472 - 3.12.10 (tags/v3.12.10:0cc8128, 2025年4月8日 12:21:36) [MSC v.1943 64 位 (AMD64)]2025-10-30T23:08:28.346472 -
2025-10-30T23:08:28.346472 - ** Python 可执行文件:2025-10-30T23:08:28.346472 - 2025-10-30T23:08:28.346472 - E:\AI\ComfyUI_windows_portable\python_embeded\python.exe2025-10-30T23:08:28.346472 -
2025-10-30T23:08:28.346472 - ** ComfyUI 路径:2025-10-30T23:08:28.346472 - 2025-10-30T23:08:28.346472 - E:\AI\ComfyUI_windows_portable\ComfyUI2025-10-30T23:08:28.346472 -
2025-10-30T23:08:28.346472 - ** ComfyUI 基本文件夹路径:2025-10-30T23:08:28.346472 - 2025-10-30T23:08:28.346472 - E:\AI\ComfyUI_windows_portable\ComfyUI2025-10-30T23:08:28.346472 -
2025-10-30T23:08:28.346472 - ** 用户目录:2025-10-30T23:08:28.346472 - 2025-10-30T23:08:28.346472 - E:\AI\ComfyUI_windows_portable\ComfyUI\user2025-10-30T23:08:28.346472 -
2025-10-30T23:08:28.346472 - ** ComfyUI-Manager 配置路径:2025-10-30T23:08:28.346472 - 2025-10-30T23:08:28.346472 - E:\AI\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\config.ini2025-10-30T23:08:28.346472 -
2025-10-30T23:08:28.346472 - ** 日志路径:2025-10-30T23:08:28.346472 - 2025-10-30T23:08:28.346472 - E:\AI\ComfyUI_windows_portable\ComfyUI\user\comfyui.log2025-10-30T23:08:28.346472 -
2025-10-30T23:08:29.545069 -
自定义节点的预启动时间:
2025-10-30T23:08:29.545069 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy
2025-10-30T23:08:29.546582 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-easy-use
2025-10-30T23:08:29.546582 - 2.6 秒:E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
2025-10-30T23:08:29.546582 -
2025-10-30T23:08:31.047102 - 检查点文件将始终安全加载。
2025-10-30T23:08:31.135528 - 显存总计 16380 MB,内存总计 32604 MB
2025-10-30T23:08:31.137057 - PyTorch 版本:2.7.1+cu128
2025-10-30T23:08:31.138591 - 启用 fp16 累积。
2025-10-30T23:08:31.138591 - 将显存状态设置为:NORMAL_VRAM
2025-10-30T23:08:31.138591 - 设备:cuda:0 NVIDIA GeForce RTX 4060 Ti:cudaMallocAsync
2025-10-30T23:08:32.563306 - 使用 PyTorch 注意力机制
2025-10-30T23:08:34.311898 - Python 版本:3.12.10 (tags/v3.12.10:0cc8128, 2025 年 4 月 8 日 12:21:36) [MSC v.1943 64 位 (AMD64)]
2025-10-30T23:08:34.311898 - ComfyUI 版本:0.3.67
2025-10-30T23:08:34.348456 - ComfyUI 前端版本:1.28.8
2025-10-30T23:08:34.349966 - [提示服务器] Web 根目录:E:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\comfyui_frontend_package\static
2025-10-30T23:08:35.635315 - [Crystools [0;32mINFO [0m] Crystools 版本:1.25.2
2025-10-30T23:08:35.667357 - [Crystools [0;32mINFO [0m] 平台版本:11
2025-10-30T23:08:35.667357 - [Crystools [0;32mINFO [0m] JETSON: 未检测到。
2025-10-30T23:08:35.667357 - [Crystools [0;32mINFO [0m] CPU: Intel(R) Core(TM) i5-14400F - Arch: AMD64 - OS: Windows 11
2025-10-30T23:08:35.678109 - [Crystools [0;32mINFO [0m] pynvml (NVIDIA) 已初始化。
2025-10-30T23:08:35.679631 - [Crystools [0;32mINFO [0m] GPU/s:
2025-10-30T23:08:35.700157 - [Crystools [0;32mINFO [0m] 0) NVIDIA GeForce RTX 4060 Ti
2025-10-30T23:08:35.701895 - [Crystools [0;32mINFO [0m] NVIDIA 驱动程序:576.80
2025-10-30T23:08:37.601237 - [34m[ComfyUI-Easy-Use] 服务器:[0mv1.3.1 [92m已加载 [0m2025-10-30T23:08:37.602759 -
2025-10-30T23:08:37.602759 - [34m[ComfyUI-Easy-Use] web 根目录:[0mE:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-easy-use\web_version/v2 [92m已加载 [0m2025-10-30T23:08:37.602759 -
2025-10-30T23:08:37.607377 - ComfyUI-GGUF:仅部分编译了 PyTorch,请考虑更新 PyTorch。
2025-10-30T23:08:37.809038 - ### 正在加载:ComfyUI-Impact-Pack (V8.22.2)
2025-10-30T23:08:37.830505 -
----------------------------------------------------------------------------
[Impact Pack] 由于未安装“facebook/sam2”依赖项,因此 SAM2 功能不可用。

安装命令:
E:\AI\ComfyUI_windows_portable\python_embeded\python.exe -m pip install git+https://github.com/facebookresearch/sam2 
----------------------------------------------------------------------------

2025-10-30T23:08:37.842758 -
----------------------------------------------------------------------------
[Impact Pack] 由于未安装“facebook/sam2”依赖项,因此 SAM2 功能不可用。

安装命令:
E:\AI\ComfyUI_windows_portable\python_embeded\python.exe -m pip install git+https://github.com/facebookresearch/sam2 
----------------------------------------------------------------------------

2025-10-30T23:08:37.854917 - [Impact Pack] 通配符加载完成。
2025-10-30T23:08:37.874867 - ### 正在加载:ComfyUI-Manager (V3.33.8)
2025-10-30T23:08:37.876386 - [ComfyUI-Manager] network_mode: public
2025-10-30T23:08:38.029389 - ### ComfyUI 版本:v0.3.67-17-g163b629c | 发布日期:2025-10-29
2025-10-30T23:08:38.322311 - ======================================== ComfyUI-nunchaku 初始化 ========================================
2025-10-30T23:08:38.328497 - Nunchaku 版本:1.0.1
2025-10-30T23:08:38.329073 - ComfyUI 双节棍版本:1.0.1
2025-10-30T23:08:38.329586 - ComfyUI-nunchaku 1.0.1 与 nunchaku 1.0.1 不兼容。请将 nunchaku 更新到 ['v1.0.0'] 中受支持的版本。
2025-10-30T23:08:39.949470 - [ComfyUI-Manager] 默认缓存已更新:https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json 
2025-10-30T23:08:40.251242 - [ComfyUI-Manager] 默认缓存已更新:https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json 
2025-10-30T23:08:41.241133 - E:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\timm\models\layers\__init__.py:48: FutureWarning: 从 timm.models.layers 导入已弃用,请通过 timm.layers 导入
  warnings.warn(f“从 {__name__} 导入已被弃用,请通过 timm.layers 导入”,FutureWarning)
2025-10-30T23:08:41.253293 - 未找到“nunchaku_versions.json”文件。节点将以最小模式启动。2025-10-30T23:08:41.254821 -
2025-10-30T23:08:41.254821 - =================================================================================================================
2025-10-30T23:08:41.268664 - 📊 初始显存状态:可用 14.87GB / 总计 16.00GB
2025-10-30T23:08:41.688051 - [ComfyUI-Manager] 默认缓存已更新:https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json 
2025-10-30T23:08:41.928538 - 没有模块“xformers”。正在处理,不使用该模块……2025-10-30T23:08:41.928538 -
2025-10-30T23:08:41.928538 - 没有模块“xformers”。正在处理,不使用该模块……2025-10-30T23:08:41.928538 -
2025-10-30T23:08:42.717155 - E:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ctranslate2\__init__.py:8: UserWarning: pkg_resources 已弃用。请参阅 https://setuptools.pypa.io/en/latest/pkg_resources.html 。pkg_resources 包计划最早于 2025-11-30 移除。请勿使用此包或将 Setuptools 版本锁定在 81 以下。
  导入 pkg_resources
2025-10-30T23:08:43.031840 - [ComfyUI-Manager] 默认缓存已更新:https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json 
2025-10-30T23:08:43.071567 - [ComfyUI-Manager] 默认缓存已更新:https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json 
2025-10-30T23:08:43.514284 - [1;35m
### [开始] ComfyUI AlekPet 节点 [1;34mv1.0.73 [0m [1;35m ### [0m2025-10-30T23:08:43.514284 -
2025-10-30T23:08:43.514284 - [92mNode -> ArgosTranslateNode: [93mArgosTranslateCLIPTextEncodeNode, ArgosTranslateTextNode [0m [92m [92m[加载中] [0m [0m2025-10-30T23:08:43.514284 -
2025-10-30T23:08:43.514284 - [92mNode -> ChatGLMNode [92m [92m[加载中] [0m [0m2025-10-30T23:08:43.514284 -
2025-10-30T23:08:43.514284 - [92mNode -> DeepLXTranslateNode [92m [33m[警告] [0m [0m2025-10-30T23:08:43.515795 -
2025-10-30T23:08:43.515795 - [92mNode -> DeepTranslatorNode: [93mDeepTranslatorCLIPTextEncodeNode, DeepTranslatorTextNode [0m [92m [92m[加载中] [0m [0m2025-10-30T23:08:43.515795 -
2025-10-30T23:08:43.515795 - [92mNode -> ExtrasNode: [93mPreviewTextNode, HexToHueNode, ColorsCorrectNode [0m [92m [92m[加载中] [0m [0m2025-10-30T23:08:43.515795 -
2025-10-30T23:08:43.515795 - [92mNode -> GoogleTranslateNode: [93mGoogleTranslateCLIPTextEncodeNode, GoogleTranslateTextNode [0m [92m [92m[加载中] [0m [0m2025-10-30T23:08:43.515795 -
2025-10-30T23:08:43.515795 - [92mNode -> IDENode: [93mIDENode [0m [92m [92m[加载中] [0m [0m2025-10-30T23:08:43.515795 -
2025-10-30T23:08:43.515795 - [92mNode -> PainterNode: [93mPainterNode [0m [92m [92m[加载中] [0m [0m2025-10-30T23:08:43.515795 -
2025-10-30T23:08:43.515795 - [92mNode -> PoseNode: [93mPoseNode [0m [92m [92m[加载中] [0m [0m2025-10-30T23:08:43.515795 -
2025-10-30T23:08:43.515795 - [92m
[1;31;40m* 由于错误或特殊原因,节点已被暂时禁用 * [0m
[93mDeepLXTranslateNode -> [33mDeepLX 节点默认禁用,请阅读 README:https://github.com/AlekPet/ComfyUI_Custom_Nodes_AlekPet/tree/master/DeepLXTranslateNode#note  [0m
[0m2025-10-30T23:08:43.515795 -
2025-10-30T23:08:43.515795 - [1;35m### [结束] ComfyUI AlekPet 节点 ### [0m2025-10-30T23:08:43.515795 -
2025-10-30T23:08:43.940682 -
[32m初始化 ControlAltAI 节点 [0m2025-10-30T23:08:43.940682 -
2025-10-30T23:08:43.965056 - ======================================== ComfyUI-nunchaku 初始化 ========================================
2025-10-30T23:08:43.966576 - Nunchaku 版本:1.0.1
2025-10-30T23:08:43.966576 - ComfyUI 双节棍版本:0.3.3
2025-10-30T23:08:43.966576 - ComfyUI-nunchaku 0.3.3 与 nunchaku 1.0.1 不兼容。请将 nunchaku 更新到 ['v0.3.1'] 中受支持的版本。
2025-10-30T23:08:43.971131 - 节点 `NunchakuFluxDiTLoader` 导入失败:
回溯(最近一次调用):
  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\nunchaku_nodes\__init__.py”,第 31 行,在 <module> 中
    from .nodes.models.flux import NunchakuFluxDiTLoader
  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\nunchaku_nodes\nodes\models\flux.py”,第 17 行,在 <module> 中
    from ...wrappers.flux import ComfyFluxWrapper
  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\nunchaku_nodes\wrappers\flux.py”,第 9 行,在 <module> 中
    from nunchaku.caching.utils import cache_context, create_cache_context
ImportError: 无法从 'nunchaku.caching.utils' 导入名称 'cache_context' (E:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\nunchaku\caching\utils.py)
2025-10-30T23:08:43.972654 - 节点 `NunchakuFluxLoraLoader` 导入失败:
回溯(最近一次调用):
  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\nunchaku_nodes\__init__.py”,第 38 行,在 <module> 中
    从 .nodes.lora.flux 导入 NunchakuFluxLoraLoader
  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\nunchaku_nodes\nodes\lora\flux.py”,第 8 行,在 <module> 中
    from ...wrappers.flux import ComfyFluxWrapper
  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\nunchaku_nodes\wrappers\flux.py”,第 9 行,在 <module> 中
    from nunchaku.caching.utils import cache_context, create_cache_context
ImportError: 无法从 'nunchaku.caching.utils' 导入名称 'cache_context' (E:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\nunchaku\caching\utils.py)
2025-10-30T23:08:43.974171 - 节点 `NunchakuPulidApply`、`NunchakuPulidLoader`、`NunchakuPuLIDLoaderV2` 和 `NunchakuFluxPuLIDApplyV2` 导入失败:
回溯(最近一次调用):
  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\nunchaku_nodes\__init__.py”,第 61 行,在 <module> 中
    从 .nodes.models.pulid 导入 (
  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\nunchaku_nodes\nodes\models\pulid.py”,第 19 行,在 <module> 中
    from ...wrappers.flux import ComfyFluxWrapper
  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\nunchaku_nodes\wrappers\flux.py”,第 9 行,在 <module> 中
    from nunchaku.caching.utils import cache_context, create_cache_context
ImportError: 无法从 'nunchaku.caching.utils' 导入名称 'cache_context' (E:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\nunchaku\caching\utils.py)
2025-10-30T23:08:43.975683 - =================================================================================================================
2025-10-30T23:08:44.794656 -
2025-10-30T23:08:44.794656 - [92m[rgthree-comfy] 已加载 47 个非凡节点。🎉 [0m2025-10-30T23:08:44.794656 -
2025-10-30T23:08:44.794656 -
2025-10-30T23:08:44.797723 -
自定义节点的导入时间:
2025-10-30T23:08:44.797723 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\closerAI_visual_cues_node
2025-10-30T23:08:44.797723 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
2025-10-30T23:08:44.797723 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\CloserAI_Loop_Assistant
2025-10-30T23:08:44.797723 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-FluxExt-MZ
2025-10-30T23:08:44.797723 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-ZeroShot-MTrans
2025-10-30T23:08:44.797723 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_ttp_toolset
2025-10-30T23:08:44.797723 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\joycaption_comfyui-main
2025-10-30T23:08:44.797723 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\image-size-tools
2025-10-30T23:08:44.799248 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_SLK_joy_caption_two-main
2025-10-30T23:08:44.799248 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_slk_joy_caption_two
2025-10-30T23:08:44.799248 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-GGUF
2025-10-30T23:08:44.799248 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-various
2025-10-30T23:08:44.799248 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_essentials
2025-10-30T23:08:44.799248 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale
2025-10-30T23:08:44.799248 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\controlaltai-nodes
2025-10-30T23:08:44.799248 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\gguf
2025-10-30T23:08:44.799248 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\nunchaku_nodes
2025-10-30T23:08:44.799248 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-kjnodes
2025-10-30T23:08:44.799248 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-custom-scripts
2025-10-30T23:08:44.799248 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-CloserAI-Kontext
2025-10-30T23:08:44.799248 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-videohelpersuite
2025-10-30T23:08:44.799248 - 0.0 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WanVideoWrapper
2025-10-30T23:08:44.799248 - 0.0 秒:E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-impact-pack
2025-10-30T23:08:44.799248 - 0.1 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-SeedVR2_VideoUpscaler
2025-10-30T23:08:44.799248 - 0.1 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_layerstyle
2025-10-30T23:08:44.800768 - 0.2 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-GLM4
2025-10-30T23:08:44.800768 - 0.3 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_LayerStyle_Advance
2025-10-30T23:08:44.800768 - 0.3 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Crystools
2025-10-30T23:08:44.800768 - 0.5 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
2025-10-30T23:08:44.800768 - 0.6 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-supir
2025-10-30T23:08:44.800768 - 0.8 秒: E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy
2025-10-30T23:08:44.800768 - 1.5 秒:E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_custom_nodes_alekpet
2025-10-30T23:08:44.800768 - 1.9 秒:E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-easy-use
2025-10-30T23:08:44.800768 - 2.9 秒:E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-nunchaku
2025-10-30T23:08:44.800768 -
2025-10-30T23:08:45.071230 - 上下文实现 SQLiteImpl。
2025-10-30T23:08:45.071230 - 将假定为非事务性 DDL。
2025-10-30T23:08:45.072757 - 未找到目标版本。
2025-10-30T23:08:45.092559 - 服务器启动

2025-10-30T23:08:45.092559 - 要查看图形用户界面,请访问:http://127.0.0.1:8188 
2025-10-30T23:08:48.143769 - [弃用警告] 检测到导入了已弃用的旧版 API:/scripts/ui/components/buttonGroup.js。这可能是由于自定义 Node 扩展使用了过时的 API 导致的。请更新您的扩展程序或联系扩展程序作者获取更新版本。
2025-10-30T23:08:48.146829 - [弃用警告] 检测到导入了已弃用的旧版 API:/scripts/ui.js。这可能是由于自定义 Node 扩展使用了过时的 API 导致的。请更新您的扩展程序或联系扩展程序作者获取更新版本。
2025-10-30T23:08:48.166785 - [弃用警告] 检测到导入了已弃用的旧版 API:/extensions/core/clipspace.js。这可能是由于自定义 Node 扩展使用了过时的 API 导致的。请更新您的扩展程序或联系扩展程序作者获取更新版本。
2025-10-30T23:08:48.181097 - [弃用警告] 检测到导入了已弃用的旧版 API:/extensions/core/groupNode.js。这可能是由于自定义 Node 扩展使用了过时的 API 导致的。请更新您的扩展程序或联系扩展程序作者获取更新版本。
2025-10-30T23:08:48.192885 - [弃用警告] 检测到导入了已弃用的旧版 API:/extensions/core/widgetInputs.js。这可能是由于自定义 Node 扩展使用了过时的 API 导致的。请更新您的扩展程序或联系扩展程序作者获取更新版本。
2025-10-30T23:08:48.195780 - [弃用警告] 检测到导入了已弃用的旧版 API:/scripts/ui/components/button.js。这可能是由于自定义 Node 扩展使用了过时的 API 导致的。请更新您的扩展程序或联系扩展程序作者获取更新版本。
2025-10-30T23:08:48.215809 - [弃用警告] 检测到导入了已弃用的旧版 API:/scripts/ui/components/popup.js。这可能是由于自定义 Node 扩展使用了过时的 API 导致的。请更新您的扩展程序或联系扩展程序作者获取更新版本。
2025-10-30T23:08:48.561771 - [GLM_Nodes]信息:从 'text_prompts.txt' 加载提示成功词。2025-10-30T23:08:48.561771 -
2025-10-30T23:08:48.561771 - [GLM_Nodes]信息:从 'text_prompts.txt' 加载提示成功词。2025-10-30T23:08:48.563285 -
2025-10-30T23:08:48.563285 - [GLM_Nodes]信息:从 'image_prompts.txt' 加载提示成功词。2025-10-30T23:08:48.563285 -
2025-10-30T23:08:48.563285 - [GLM_Nodes]信息:从 'image_prompts.txt' 加载提示成功词。2025-10-30T23:08:48.563285 -
2025-10-30T23:08:50.549369 - 获取 ComfyRegistry 数据:5/1032025-10-30T23:08:50.549369 -
2025-10-30T23:08:59.427991 - FETCH ComfyRegistry 数据:10/1032025-10-30T23:08:59.429539 -
2025-10-30T23:09:08.636657 - FETCH ComfyRegistry 数据:15/1032025-10-30T23:09:08.636657 -
2025-10-30T23:09:19.878234 - FETCH ComfyRegistry 数据:20/1032025-10-30T23:09:19.879819 -
2025-10-30T23:09:28.106099 - FETCH ComfyRegistry 数据:25/1032025-10-30T23:09:28.106099 -
2025-10-30T23:09:28.248570 - 收到提示
2025-10-30T23:09:28.527462 - E:\AI\ComfyUI_windows_portable\ComfyUI\models\clip\siglip-so400m-patch14-3842025-10-30T23:09:28.530684 -
2025-10-30T23:09:28.560620 - `torch_dtype` 已弃用!请改用 `dtype`!
2025-10-30T23:09:36.375053 - FETCH ComfyRegistry 数据:30/1032025-10-30T23:09:36.375053 -
2025-10-30T23:09:44.622982 - FETCH ComfyRegistry 数据:35/1032025-10-30T23:09:44.623496 -
2025-10-30T23:09:52.664871 - FETCH ComfyRegistry 数据:40/1032025-10-30T23:09:52.665405 -
2025-10-30T23:10:01.094626 - FETCH ComfyRegistry 数据:45/1032025-10-30T23:10:01.094626 -
2025-10-30T23:10:06.323791 - 正在加载 VLM 的自定义视觉模型
2025-10-30T23:10:10.024831 - FETCH ComfyRegistry 数据:50/1032025-10-30T23:10:10.025647 -
2025-10-30T23:10:16.949572 - 请求加载 SiglipVisionTransformer
2025-10-30T23:10:17.183800 - 已完全加载;可用空间 95367431640625005117571072.00 MB,已加载 809.17 MB,完全加载:是
2025-10-30T23:10:17.653294 - FETCH ComfyRegistry 数据:55/1032025-10-30T23:10:17.653912 -
2025-10-30T23:10:22.076291 - 请求加载 ImageAdapter
2025-10-30T23:10:22.108757 - 已完全加载;可用空间 95367431640625005117571072.00 MB,已加载 41.04 MB,完全加载:是
2025-10-30T23:10:22.406562 - !!! 处理过程中发生异常 !!! “NoneType”对象不可下标
2025-10-30T23:10:22.493854 - 回溯(最近一次调用):
  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\execution.py”,第 499 行,在 execute 函数中
    output_data,output_ui,has_subgraph,has_pending_tasks = 等待 get_output_data(prompt_id,unique_id,obj,input_data_all,execution_block_cb = excution_block_cb,pre_execute_cb = pre_execute_cb,hidden_​​inputs = hidden_​​inputs)
                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\execution.py”,第 316 行,在 get_output_data 中
    return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_​​inputs=hidden_​​inputs)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\execution.py”,第 290 行,在 _async_map_node_over_list 中
    await process_inputs(input_dict, i)
  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\execution.py”,第 278 行,在 process_inputs 中
    result = f(**inputs)
             ^^^^^^^^^^^
  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_SLK_joy_caption_two-main\joy_caption_two_node.py”,第 342 行,在 generate 函数中
    嵌入图像 = joy_two_pipeline.image_adapter.嵌入图像(vision_outputs.hidden_​​states)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_SLK_joy_caption_two-main\joy_caption_two_node.py”,第 144 行,在 embedded_image 中
    embedded_images = self.image_adapter(hidden_​​states)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  文件“E:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py”,第 1751 行,在 _wrapped_call_impl 中
    返回 self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  文件“E:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py”,第 1762 行,在 _call_impl 中
    返回 forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_SLK_joy_caption_two-main\joy_caption_two_node.py”,第 101 行,在 forward 中
    x = vision_outputs[-2]
        ~~~~~~~~~~~~~~^^^^
类型错误:“NoneType”对象不可下标

2025-10-30T23:10:22.496907 - 提示符执行耗时 54.24 秒
2025-10-30T23:10:25.774971 - FETCH ComfyRegistry 数据:60/1032025-10-30T23:10:25.775478 -
2025-10-30T23:10:34.187873 - 获取 ComfyRegistry 数据:65/1032025-10-30T23:10:34.188395 -
2025-10-30T23:10:42.637547 - FETCH ComfyRegistry 数据:70/1032025-10-30T23:10:42.638146 -
2025-10-30T23:10:54.092451 - 获取 ComfyRegistry 数据:75/1032025-10-30T23:10:54.092451 -
2025-10-30T23:11:02.646775 - 获取 ComfyRegistry 数据:80/1032025-10-30T23:11:02.646775 -
2025-10-30T23:11:11.328193 - FETCH ComfyRegistry 数据:85/1032025-10-30T23:11:11.328193 -
2025-10-30T23:11:19.856092 - FETCH ComfyRegistry 数据:90/1032025-10-30T23:11:19.856092 -
2025-10-30T23:11:28.288045 - FETCH ComfyRegistry 数据:95/1032025-10-30T23:11:28.288747 -
2025-10-30T23:11:37.234040 - FETCH ComfyRegistry 数据:100/1032025-10-30T23:11:37.234040 -
2025-10-30T23:11:42.367707 - 获取 ComfyRegistry 数据 [完成] 2025-10-30T23:11:42.368225 -
2025-10-30T23:11:42.522484 - [ComfyUI-Manager] 默认缓存已更新:https://api.comfy.org/nodes 
2025-10-30T23:11:42.549694 - 从以下位置获取数据:https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json  2025-10-30T23:11:42.549694 - 2025-10-30T23:11:44.515149 - [完成] 2025-10-30T23:11:44.515149 -
2025-10-30T23:11:44.580443 - [ComfyUI-Manager] 所有启动任务已完成。
2025-10-30T23:18:12.282290 - [GLM_Nodes]信息:从 'text_prompts.txt' 加载提示成功词。2025-10-30T23:18:12.282290 -
2025-10-30T23:18:12.282290 - [GLM_Nodes]信息:从 'text_prompts.txt' 加载提示成功词。2025-10-30T23:18:12.282290 -
2025-10-30T23:18:12.283795 - [GLM_Nodes]信息:从 'image_prompts.txt' 加载提示成功词。2025-10-30T23:18:12.283795 -
2025-10-30T23:18:12.283795 - [GLM_Nodes]信息:从 'image_prompts.txt' 加载提示成功词。2025-10-30T23:18:12.283795 -
2025-10-30T23:18:31.231867 - 收到提示
2025-10-30T23:18:31.240973 - # 😺dzNodes: LayerStyle -> [1;33m加载 JoyCaptionBetaOne 模型:已加载模型 fancyfeast/llama-joycaption-beta-one-hf-llava,nf4 [m2025-10-30T23:18:31.240973 -
2025-10-30T23:18:31.346821 - 由于未设置 `use_fast`,且该模型保存时使用了慢速图像处理器,因此使用了慢速图像处理器。在 v4.52 版本中,即使模型保存时使用了慢速处理器,`use_fast=True` 也将成为默认行为。这会导致输出结果略有差异。您仍然可以通过将 `use_fast=False` 设置为 `False` 来使用慢速处理器。
2025-10-30T23:18:32.611833 - `torch_dtype` 已弃用!请改用 `dtype`!
2025-10-30T23:18:32.995316 - 我们将使用设备 0 上 90% 的内存来存储模型,剩余 10% 用于缓冲区以避免内存溢出 (OOM)。您可以将 `max_memory` 设置为更高的值以使用更多内存(风险自负)。
2025-10-30T23:19:57.282439 - 正在加载检查点分片:100%|███████████████████████████████████████████████████████████| 4/4 [01:24<00:00, 19.15s/it]2025-10-30T23:19:57.282439 - 正在加载检查点分片:100%|███████████████████████████████████████████████████████████| 4/4 [01:24<00:00, 21.05s/it]2025-10-30T23:19:57.282439 -
2025-10-30T23:19:57.464728 - 正在处理图像:0%| | 0/1 [00:00<?, ?it/s]2025-10-30T23:19:57.615249 - 将 `pad_token_id` 设置为 `eos_token_id`:128001 以生成开放式令牌。
2025-10-30T23:20:15.707076 - # 😺dzNodes: LayerStyle -> [1;33mJoyCaptionBetaOne: caption=这张照片描绘了一位女士站在一组白色水泥台阶上,背景是一面白色灰泥墙,远处隐约可见一扇古朴的木窗。她身穿一条高腰及膝黑色碎花裙,裙上密布着黄色和白色的小花。她还穿着一件白色无袖修身上衣。她的肤色略带小麦色,右手叉腰,左臂自然垂于身侧。她身材苗条,脚穿白色系带高跟凉鞋,鞋带一直系到脚踝。她的脚趾甲涂着浅色指甲油。灰泥墙的纹理粗糙,略显风化,与她光滑的衣物形成鲜明对比。木窗呈现出自然的岁月痕迹,纹理清晰可见,透着岁月的痕迹。照片整体风格现代简约,着重展现女士服饰的简洁优雅以及背景元素的对比质感。自然光从左侧照射过来,突显了花卉图案的细节和墙面的纹理。[m2025-10-30T23:20:15.707076 -
2025-10-30T23:20:15.707076 - 正在处理图像:100%|█████████████████████████████████████████████████████████████████████| 1/1 [00:18<00:00, 18.24s/it]2025-10-30T23:20:15.708592 - 正在处理图像:100%|█████████████████████████████████████████████████████████████████████| 1/1 [00:18<00:00, 18.24s/it]2025-10-30T23:20:15.708592 -
2025-10-30T23:20:15.713210 - 提示符执行耗时 104.48 秒
2025-10-30T23:20:32.369571 - 移动 'E:\AI\ComfyUI_windows_portable\ComfyUI\user\default\workflows\ 提示词反推20251030.json' -> 'E:\AI\ComfyUI_windows_portable\ComfyUI\user\default\workflows\ 提示词反推20251030++++.json'
2025-10-30T23:21:24.740315 - 收到提示
2025-10-30T23:21:24.764652 - E:\AI\ComfyUI_windows_portable\ComfyUI\models\clip\siglip-so400m-patch14-3842025-10-30T23:21:24.764652 -
2025-10-30T23:22:00.941291 - 正在加载 VLM 的自定义视觉模型 2025-10-30T23:22:00.941291 -
2025-10-30T23:22:10.904313 - 请求加载 SiglipVisionTransformer
2025-10-30T23:22:11.124295 - 已完全加载;可用空间 95367431640625005117571072.00 MB,已加载 809.17 MB,完全加载:是
2025-10-30T23:22:11.144136 - 请求加载 ImageAdapter
2025-10-30T23:22:11.159334 - 已完全加载;可用空间 95367431640625005117571072.00 MB,已加载 41.04 MB,完全加载:是
2025-10-30T23:22:11.160864 - !!! 处理过程中发生异常 !!! “NoneType”对象不可下标
2025-10-30T23:22:11.162373 - 回溯(最近一次调用):
  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\execution.py”,第 499 行,在 execute 函数中
    output_data,output_ui,has_subgraph,has_pending_tasks = 等待 get_output_data(prompt_id,unique_id,obj,input_data_all,execution_block_cb = excution_block_cb,pre_execute_cb = pre_execute_cb,hidden_​​inputs = hidden_​​inputs)
                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\execution.py”,第 316 行,在 get_output_data 中
    return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_​​inputs=hidden_​​inputs)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\execution.py”,第 290 行,在 _async_map_node_over_list 中
    await process_inputs(input_dict, i)
  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\execution.py”,第 278 行,在 process_inputs 中
    result = f(**inputs)
             ^^^^^^^^^^^
  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_SLK_joy_caption_two-main\joy_caption_two_node.py”,第 342 行,在 generate 函数中
    嵌入图像 = joy_two_pipeline.image_adapter.嵌入图像(vision_outputs.hidden_​​states)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_SLK_joy_caption_two-main\joy_caption_two_node.py”,第 144 行,在 embedded_image 中
    embedded_images = self.image_adapter(hidden_​​states)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  文件“E:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py”,第 1751 行,在 _wrapped_call_impl 中
    返回 self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  文件“E:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py”,第 1762 行,在 _call_impl 中
    返回 forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  文件“E:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_SLK_joy_caption_two-main\joy_caption_two_node.py”,第 101 行,在 forward 中
    x = vision_outputs[-2]
        ~~~~~~~~~~~~~~^^^^
类型错误:“NoneType”对象不可下标

2025-10-30T23:22:11.163887 - 提示符执行耗时 46.42 秒

附加工作流程

请确保工作流程中不包含任何敏感信息,例如 API 密钥或密码。

{"id":"ab41cfd4-7dc4-4c7e-89c0-995f041bda1b","re​​vision":0,"last_node_id":24,"last_link_id":25,"nodes":[{"id":11,"type":"LoadImage","pos":[-266.25118869875143,-58.593704619743164],"size":[371.6601867675781,521.6343383789062],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"图像","name":"image","type":"COMBO","widget":{"name":"image"},"link":n ull},{"localized_name":"选择文件上传","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"label":"图片","localized_name":"图片","name":"IMAGE","ty pe":"IMAGE","slot_index":0,"links":[14]},{"label":"遮罩","localized_name":"遮罩","name":"MASK","type":"MASK","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.3.65","Node的名字S&R":"加载图像"},"widgets_values":["YY01514.jpg","图像"],"颜色"":"#232","背景颜色"":"#353"},{"id":14,"type":"Joy_caption_two","pos":[230.17664382404882,-0.1145368616522977],"size":[315,126],"flags":{},"order":2,"mode":0,"inp uts":[{"label":"joy_two_pipeline","localized_name":"joy_two_pipeline","name":"joy_two_pipeline","type":"JoyTwoPipeline","link":13},{"label":"image","localized_name":"image","name":"image","type":"IMAGE","link":14},{"localize d_name":"caption_type","name":"caption_type","type":"COMBO","widget":{"name":"caption_type"},"link":null},{"localized_name":"caption_length","name":"caption_length","type":"COMBO","widget":{"name":"caption_length"},"link":null},{"localized_name":"low_vram","name":"low_vram","type":"BOOLEAN","widget":{"name":"low_vram"},"link":null}],"outputs":[{"label":"STRING","localized_name":"字符串","name":"STRING","type":"STRING","slot_index":0,"links":[17]}],"properties":{"S&R 的节点名称":"Joy_caption_two","cnr_id":"comfyui_slk_joy_caption_two","ver":"0.0.8"},"widgets_values":["Descriptive","140",false]},{"id":12,"type":"easy" showAnything","pos":[646.1211296384331,-29.345340841084177],"size":[681.795654296875,339.76904296875],"flags":{},"order":3mode":0inputs":[{"label":"输入任意","localized_name":"输入任意","name":"anything","shape":7,"type":"*","link":17}]outputs":[{"localized_name":"输出","name":"输出","type":"*","links":null}]properties":{"cnr_id":"comfyui-easy-use","ver":"1.3.1","S&R 的节点名称":"easy showAnything"}widgets_values":["在这张照片中,一个一位肤色白皙、黑发的亚洲女子坐在郁郁葱葱的草地上,手持白色阳伞和装满白色鲜花的柳条篮。她身着白色露肩长裙,精致的蕾丝细节衬托出她纤细的身材和适中的胸部。晴朗的天空和远处树木营造出一幅宁静祥和的田园风光。 background."]},{"id":15,"type":"Joy_caption_two_load","pos":[-93.77753310467295,-234.76282521366002],"size":[317.9697035909227,88.10031309568248],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"COMBO","widget":{"name":"model"},"link":null}],"outputs":[{"label":"JoyTwoPipeline","localized_name":"JoyTwoPipeline","name":"JoyTwoPipeline","type":"JoyTwoPipeline","links":[13]}],"properties":{"节点名称为S&R":"Joy_caption_two_load","cnr_id":"comfyui_slk_joy_caption_two","ver":"0.0.8"},"widgets_values":["unsloth/Meta-Llama-3.1-8B-Instruct-bnb-4bit"]}],"links":[[13,15,0,14,0,"JoyTwoPipeline"],[1 4,11,0,14,1,"IMAGE"],[17,14,0,12,0,"*"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.1671841070450026,"offset":[848.4793596100286,469.3640630646674]},"0246.VERSION":[0,0,4]},"version":0.4}{"id":12,"type":"easy showAnything","pos":[646.1211296384331,-29.345340841084177],"size":[681.795654296875,339.76904296875],"flags":{},"order":3,"mode":0,"inputs":[{"label":"输入任意","localized_name":"输入任意","name":"anything","shape":7,"type":"*","link":17}],"outputs":[{"localized_name":"输出","name":"output","type":"*","links":null}],"properties":{"cnr_id":"comfyui-easy-use","ver":"1.3.1","S&R 的节点名称":"easy" showAnything"},"widgets_values":["在这张照片中,一位肤色白皙、黑发的亚洲女性坐在郁郁葱葱的田野上,手持一把白色阳伞和一个装满白色鲜花的柳条篮。她身穿一件白色露肩长裙,裙摆饰有精致的蕾丝,展现了她纤细的身材和中等大小的胸部。晴朗的天空和远处的树木营造出一种宁静的田园风光。 background."]},{"id":15,"type":"Joy_caption_two_load","pos":[-93.77753310467295,-234.76282521366002],"size":[317.9697035909227,88.10031309568248],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"COMBO","widget":{"name":"model"},"link":null}],"outputs":[{"label":"JoyTwoPipeline","localized_name":"JoyTwoPipeline","name":"JoyTwoPipeline","type":"JoyTwoPipeline","links":[13]}],"properties":{"节点名称为S&R":"Joy_caption_two_load","cnr_id":"comfyui_slk_joy_caption_two","ver":"0.0.8"},"widgets_values":["unsloth/Meta-Llama-3.1-8B-Instruct-bnb-4bit"]}],"links":[[13,15,0,14,0,"JoyTwoPipeline"],[1 4,11,0,14,1,"IMAGE"],[17,14,0,12,0,"*"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.1671841070450026,"offset":[848.4793596100286,469.3640630646674]},"0246.VERSION":[0,0,4]},"version":0.4}{"id":12,"type":"easy showAnything","pos":[646.1211296384331,-29.345340841084177],"size":[681.795654296875,339.76904296875],"flags":{},"order":3,"mode":0,"inputs":[{"label":"输入任意","localized_name":"输入任意","name":"anything","shape":7,"type":"*","link":17}],"outputs":[{"localized_name":"输出","name":"output","type":"*","links":null}],"properties":{"cnr_id":"comfyui-easy-use","ver":"1.3.1","S&R 的节点名称":"easy" showAnything"},"widgets_values":["在这张照片中,一位肤色白皙、黑发的亚洲女性坐在郁郁葱葱的田野上,手持一把白色阳伞和一个装满白色鲜花的柳条篮。她身穿一件白色露肩长裙,裙摆饰有精致的蕾丝,展现了她纤细的身材和中等大小的胸部。晴朗的天空和远处的树木营造出一种宁静的田园风光。 background."]},{"id":15,"type":"Joy_caption_two_load","pos":[-93.77753310467295,-234.76282521366002],"size":[317.9697035909227,88.10031309568248],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"COMBO","widget":{"name":"model"},"link":null}],"outputs":[{"label":"JoyTwoPipeline","localized_name":"JoyTwoPipeline","name":"JoyTwoPipeline","type":"JoyTwoPipeline","links":[13]}],"properties":{"节点名称为S&R":"Joy_caption_two_load","cnr_id":"comfyui_slk_joy_caption_two","ver":"0.0.8"},"widgets_values":["unsloth/Meta-Llama-3.1-8B-Instruct-bnb-4bit"]}],"links":[[13,15,0,14,0,"JoyTwoPipeline"],[1 4,11,0,14,1,"IMAGE"],[17,14,0,12,0,"*"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.1671841070450026,"offset":[848.4793596100286,469.3640630646674]},"0246.VERSION":[0,0,4]},"version":0.4}"输出","name":"output","type":"*","links":null}],"properties":{"cnr_id":"comfyui-easy-use","ver":"1.3.1","S&R 的节点名称":"easy showAnything"},"widgets_values":["在这张照片中,一位皮肤白皙、黑发的亚洲女性坐在郁郁葱葱的田野上,手持一把白色阳伞和一个装满白色鲜花的柳条篮。她身穿一件白色露肩长裙,裙摆饰有精致的蕾丝,展现了她苗条的身材和中等大小的胸部。晴朗的天空和远处的树木营造出一种宁静的田园风光。" background."]},{"id":15,"type":"Joy_caption_two_load","pos":[-93.77753310467295,-234.76282521366002],"size":[317.9697035909227,88.10031309568248],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"COMBO","widget":{"name":"model"},"link":null}],"outputs":[{"label":"JoyTwoPipeline","localized_name":"JoyTwoPipeline","name":"JoyTwoPipeline","type":"JoyTwoPipeline","links":[13]}],"properties":{"节点名称为S&R":"Joy_caption_two_load","cnr_id":"comfyui_slk_joy_caption_two","ver":"0.0.8"},"widgets_values":["unsloth/Meta-Llama-3.1-8B-Instruct-bnb-4bit"]}],"links":[[13,15,0,14,0,"JoyTwoPipeline"],[1 4,11,0,14,1,"IMAGE"],[17,14,0,12,0,"*"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.1671841070450026,"offset":[848.4793596100286,469.3640630646674]},"0246.VERSION":[0,0,4]},"version":0.4}"输出","name":"output","type":"*","links":null}],"properties":{"cnr_id":"comfyui-easy-use","ver":"1.3.1","S&R 的节点名称":"easy showAnything"},"widgets_values":["在这张照片中,一位皮肤白皙、黑发的亚洲女性坐在郁郁葱葱的田野上,手持一把白色阳伞和一个装满白色鲜花的柳条篮。她身穿一件白色露肩长裙,裙摆饰有精致的蕾丝,展现了她苗条的身材和中等大小的胸部。晴朗的天空和远处的树木营造出一种宁静的田园风光。" background."]},{"id":15,"type":"Joy_caption_two_load","pos":[-93.77753310467295,-234.76282521366002],"size":[317.9697035909227,88.10031309568248],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"COMBO","widget":{"name":"model"},"link":null}],"outputs":[{"label":"JoyTwoPipeline","localized_name":"JoyTwoPipeline","name":"JoyTwoPipeline","type":"JoyTwoPipeline","links":[13]}],"properties":{"节点名称为S&R":"Joy_caption_two_load","cnr_id":"comfyui_slk_joy_caption_two","ver":"0.0.8"},"widgets_values":["unsloth/Meta-Llama-3.1-8B-Instruct-bnb-4bit"]}],"links":[[13,15,0,14,0,"JoyTwoPipeline"],[1 4,11,0,14,1,"IMAGE"],[17,14,0,12,0,"*"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.1671841070450026,"offset":[848.4793596100286,469.3640630646674]},"0246.VERSION":[0,0,4]},"version":0.4}"name":"model","type":"COMBO","widget":{"name":"model"},"link":null}],"outputs":[{"label":"JoyTwoPipeline","localized_name":"JoyTwoPipeline","name":"JoyTwoPipeline","type":"JoyTwoPipeline","links":[13]}],"properties":{"S&R 节点名称":"Joy_caption_two_load","cnr_id":"comfyui_slk_joy_caption_two","ver":"0.0.8"},"widgets_values":["unsloth/Meta-Llama-3.1-8B-Instruct-bnb-4bit"]}],"links":[[13,15,0,14,0,"JoyTwoPipeline"],[1 4,11,0,14,1,"IMAGE"],[17,14,0,12,0,"*"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.1671841070450026,"offset":[848.4793596100286,469.3640630646674]},"0246.VERSION":[0,0,4]},"version":0.4}"name":"model","type":"COMBO","widget":{"name":"model"},"link":null}],"outputs":[{"label":"JoyTwoPipeline","localized_name":"JoyTwoPipeline","name":"JoyTwoPipeline","type":"JoyTwoPipeline","links":[13]}],"properties":{"S&R 节点名称":"Joy_caption_two_load","cnr_id":"comfyui_slk_joy_caption_two","ver":"0.0.8"},"widgets_values":["unsloth/Meta-Llama-3.1-8B-Instruct-bnb-4bit"]}],"links":[[13,15,0,14,0,"JoyTwoPipeline"],[1 4,11,0,14,1,"IMAGE"],[17,14,0,12,0,"*"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.1671841070450026,"offset":[848.4793596100286,469.3640630646674]},"0246.VERSION":[0,0,4]},"version":0.4}

补充说明

(请在此处添加任何其他相关信息或重现错误的步骤)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions