1224 lines
165 KiB
Plaintext
1224 lines
165 KiB
Plaintext
[00:00] Crash dump logging enabled: /logs/SAM3-0804/dev/linux-gpu/crash_dump.log
|
|
[00:00]
|
|
[00:00] [1/5] SYNTAX
|
|
[00:00] ----------------------------------------
|
|
[00:00]
|
|
[DEBUG] server=None, server_url=None, api=None
|
|
[00:00] Found pyproject.toml (modern format)
|
|
[00:00] Found requirements.txt (legacy format)
|
|
[00:00] Unicode check: OK (all characters cp1252-safe)
|
|
[00:00] Forbidden patterns check: OK
|
|
[00:00] [SYNTAX] PASSED
|
|
[00:00]
|
|
[00:00] [2/5] INSTALL
|
|
[00:00] ----------------------------------------
|
|
[00:00]
|
|
[DEBUG] server=None, server_url=None, api=None
|
|
[00:00]
|
|
Setting up ComfyUI...
|
|
[00:00] Creating virtual environment...
|
|
[00:00] Running: uv venv /workspaces/SAM3-0804/.venv --python 3.13
|
|
[00:00] Cloning ComfyUI (latest)...
|
|
[00:00] Running: git clone --depth 1 https://github.com/comfyanonymous/ComfyUI.git /workspaces/SAM3-0804/ComfyUI
|
|
[00:02] Installing ComfyUI requirements...
|
|
[00:02] Running: uv pip install --python /workspaces/SAM3-0804/.venv/bin/python --index-url https://download.pytorch.org/whl/cu128 --extra-index-url https://pypi.org/simple --index-strategy unsafe-best-match -r /workspaces/SAM3-0804/ComfyUI/requirements.txt
|
|
[01:49]
|
|
Installing custom node...
|
|
[01:50] Copying ComfyUI-SAM3 to custom_nodes/...
|
|
[01:50] Installing node requirements...
|
|
[01:50] Running: uv pip install --python /workspaces/SAM3-0804/.venv/bin/python --index-url https://download.pytorch.org/whl/cu128 --extra-index-url https://pypi.org/simple --index-strategy unsafe-best-match -r /workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/requirements.txt
|
|
[01:52]
|
|
Running install.py...
|
|
[01:52] Running: /workspaces/SAM3-0804/.venv/bin/python /workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/install.py
|
|
[01:53]
|
|
[01:53] Installing 2 node dependencies...
|
|
[01:53] Cloning ComfyUI-VideoHelperSuite...
|
|
[01:53] Installing requirements for ComfyUI-VideoHelperSuite...
|
|
[01:55] Cloning ComfyUI-Multiband...
|
|
[01:56] Installing requirements for ComfyUI-Multiband...
|
|
[01:56]
|
|
[01:56] [requirements] Re-installing main package requirements...
|
|
[01:56] Installing requirements for ComfyUI-SAM3...
|
|
[01:59] [comfy-env] _discover: scanning /workspaces/SAM3-0804/ComfyUI/custom_nodes
|
|
[01:59] [comfy-env] _discover: ComfyUI-Multiband: no comfy-env.toml found
|
|
[01:59] [comfy-env] _discover: ComfyUI-SAM3 -> sam3-nodes (custom_nodes/ComfyUI-SAM3/nodes/comfy-env.toml)
|
|
[01:59] [comfy-env] _discover: ComfyUI-VideoHelperSuite: no comfy-env.toml found
|
|
[01:59] [comfy-env] Workspace: /root/.ce
|
|
[01:59] [comfy-env] ComfyUI: /workspaces/SAM3-0804/ComfyUI
|
|
[01:59] [comfy-env] Found 1 node config(s):
|
|
[01:59] - sam3-nodes <- custom_nodes/ComfyUI-SAM3/nodes/comfy-env.toml (python=host)
|
|
[01:59] [comfy-env] Bootstrap interpreter has python 3.13 + torch 2.11.0 (cu128). Looking for cuda-only wheels matching cu128/torch2.11/cp313.
|
|
[01:59] [comfy-env] GPU: Detection: smi
|
|
[01:59] Driver: 580.126.20
|
|
[01:59] CUDA: 13.0
|
|
[01:59] Recommended: CUDA 13.0
|
|
[01:59]
|
|
[01:59] GPU 0: NVIDIA GeForce RTX 3090 (sm_86) [Ampere] 24576MB
|
|
[01:59] [comfy-env] Comfyui feature -> torch 2.11.0 from https://download.pytorch.org/whl/cu128 (CUDA 12.8 via bootstrap torch)
|
|
[01:59] [comfy-env] cuda-wheels: 3 package(s) need a matched (cuda, torch, python) combo: ['cc_torch', 'torch_generic_nms', 'flash-attn']
|
|
[01:59] [comfy-env] cuda-wheels tier 1 (bootstrap): probing cu12.8/torch2.11/cp313
|
|
[01:59] [cuda-wheels] Looking up cc_torch: cu128 torch2.11 cp313 manylinux linux
|
|
[01:59] [cuda-wheels] GH Pages index unreachable, falling back to GitHub Releases API...
|
|
[02:03] [cuda-wheels] Found via API: cc_torch-0.2+cu128torch2.11-cp313-cp313-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
|
|
[02:03] [cuda-wheels] Looking up torch_generic_nms: cu128 torch2.11 cp313 manylinux linux
|
|
[02:03] [cuda-wheels] Found: torch_generic_nms-0.1+cu128torch2.11-cp313-cp313-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
|
|
[02:03] [cuda-wheels] Looking up flash-attn: cu128 torch2.11 cp313 manylinux linux
|
|
[02:03] [cuda-wheels] Found: flash_attn-2.8.3+cu128torch2.11-cp313-cp313-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
|
|
[02:03] [comfy-env] cuda-wheels combo: cu12.8/torch2.11 (bootstrap matches; per-node envs will pin to this)
|
|
[02:03] [comfy-env] Host glibc 2.35 -> system-requirements
|
|
[02:03] [cuda-wheels] Looking up cc_torch: cu128 torch2.11 cp313 manylinux linux
|
|
[02:03] [cuda-wheels] GH Pages index unreachable, falling back to GitHub Releases API...
|
|
[02:04] [cuda-wheels] Found via API: cc_torch-0.2+cu128torch2.11-cp313-cp313-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
|
|
[02:04] [cuda-wheels] Looking up torch_generic_nms: cu128 torch2.11 cp313 manylinux linux
|
|
[02:04] [cuda-wheels] Found: torch_generic_nms-0.1+cu128torch2.11-cp313-cp313-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
|
|
[02:04] [cuda-wheels] Looking up flash-attn: cu128 torch2.11 cp313 manylinux linux
|
|
[02:04] [cuda-wheels] Found: flash_attn-2.8.3+cu128torch2.11-cp313-cp313-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
|
|
[02:04] [comfy-env] sam3-nodes: cuda-wheels deferred for post-pixi install (cc_torch, torch_generic_nms, flash-attn)
|
|
[02:04] Generated /root/.ce/pixi.toml
|
|
[02:04] [comfy-env] Installing 1 environment(s):
|
|
[02:04] - sam3-nodes (python=host, 19 pypi deps, 3 cuda wheels)
|
|
[02:04] [comfy-env] Running `pixi install -e sam3-nodes`...
|
|
[02:10] WARN Skipped running the post-link scripts because `run-post-link-scripts` = `false`
|
|
[02:10] - bin/.librsvg-pre-unlink.sh
|
|
[02:10] To enable them, run:
|
|
[02:10] pixi config set --local run-post-link-scripts insecure
|
|
[02:10] More info:
|
|
[02:10] https://pixi.sh/latest/reference/pixi_configuration/#run-post-link-scripts
|
|
[03:23] The sam3-nodes environment has been installed.
|
|
[03:23] [comfy-env] sam3-nodes: installing cuda-wheels with --no-deps (cc_torch, torch_generic_nms, flash-attn)
|
|
[03:23] Using Python 3.13.13 environment at: .pixi/envs/sam3-nodes
|
|
[03:23] Resolved 3 packages in 670ms
|
|
[03:23] Downloading flash-attn (242.3MiB)
|
|
[03:32] Downloaded flash-attn
|
|
[03:32] Prepared 3 packages in 8.60s
|
|
[03:32] Installed 3 packages in 12ms
|
|
[03:32] + cc-torch==0.2+cu128torch2.11 (from https://github.com/PozzettiAndrea/cuda-wheels/releases/download/cc_torch-latest/cc_torch-0.2%2Bcu128torch2.11-cp313-cp313-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl)
|
|
[03:32] + flash-attn==2.8.3+cu128torch2.11 (from https://github.com/PozzettiAndrea/cuda-wheels/releases/download/flash_attn-latest/flash_attn-2.8.3%2Bcu128torch2.11-cp313-cp313-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl)
|
|
[03:32] + torch-generic-nms==0.1+cu128torch2.11 (from https://github.com/PozzettiAndrea/cuda-wheels/releases/download/torch_generic_nms-latest/torch_generic_nms-0.1%2Bcu128torch2.11-cp313-cp313-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl)
|
|
[03:32] [comfy-env] Recorded install hash e670dc2f7216 -> /root/.ce/install.hash
|
|
[03:32] [comfy-env] Install log: /root/.ce/install.log
|
|
[03:32]
|
|
[03:32] Installation complete!
|
|
[03:32] Installing 2 node dependency(ies)...
|
|
[03:32] ComfyUI-VideoHelperSuite from Kosinkadink/ComfyUI-VideoHelperSuite
|
|
[03:32] ComfyUI-VideoHelperSuite already exists, skipping...
|
|
[03:32] ComfyUI-Multiband from PozzettiAndrea/ComfyUI-Multiband
|
|
[03:32] ComfyUI-Multiband already exists, skipping...
|
|
[03:32] Installing validation endpoint...
|
|
[03:32] Cloning PozzettiAndrea/ComfyUI-validate-endpoint...
|
|
[03:32] Running: git clone --depth 1 https://github.com/PozzettiAndrea/ComfyUI-validate-endpoint.git /workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-validate-endpoint
|
|
[03:33] CUDA packages absent (will mock): cc_torch, torch_generic_nms, flash_attn
|
|
[03:33] [INSTALL] PASSED
|
|
[03:33]
|
|
[03:33] [3/5] REGISTRATION
|
|
[03:33] ----------------------------------------
|
|
[03:33]
|
|
[DEBUG] server=None, server_url=None, api=None
|
|
[03:33]
|
|
Starting ComfyUI server...
|
|
[03:33] Starting ComfyUI server on port 41897...
|
|
[03:33] CUDA mock packages: cc_torch, torch_generic_nms, flash_attn
|
|
[03:33] Starting ComfyUI server on port 41897...
|
|
[03:33] Waiting for server to be ready (timeout: 600s)...
|
|
[03:34] [ComfyUI] setup plugin alembic.autogenerate.schemas
|
|
[03:34] [ComfyUI] setup plugin alembic.autogenerate.tables
|
|
[03:34] [ComfyUI] setup plugin alembic.autogenerate.types
|
|
[03:34] [ComfyUI] setup plugin alembic.autogenerate.constraints
|
|
[03:34] [ComfyUI] setup plugin alembic.autogenerate.defaults
|
|
[03:34] [ComfyUI] setup plugin alembic.autogenerate.comments
|
|
[03:35] [ComfyUI] [comfy-env] ComfyUI-SAM3: 1 isolation env(s):
|
|
[03:35] [ComfyUI] [comfy-env] nodes -> /workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes
|
|
[03:35] [ComfyUI] [comfy-env] Workspace: /root/.ce
|
|
[03:35] [ComfyUI] [comfy-env] env: /root/.ce/.pixi/envs/sam3-nodes [OK]
|
|
[03:35] [ComfyUI] [comfy-env] prestartup complete
|
|
[03:35] [ComfyUI]
|
|
[03:35] [ComfyUI] Prestartup times for custom nodes:
|
|
[03:35] [ComfyUI] 0.2 seconds: /workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3
|
|
[03:35] [ComfyUI]
|
|
[03:42] [ComfyUI] WARNING: You need pytorch with cu130 or higher to use optimized CUDA operations.
|
|
[03:42] [ComfyUI] Found comfy_kitchen backend eager: {'available': True, 'disabled': False, 'unavailable_reason': None, 'capabilities': ['apply_rope', 'apply_rope1', 'dequantize_mxfp8', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'quantize_mxfp8', 'quantize_nvfp4', 'quantize_per_tensor_fp8', 'scaled_mm_mxfp8', 'scaled_mm_nvfp4']}
|
|
[03:42] [ComfyUI] Found comfy_kitchen backend cuda: {'available': True, 'disabled': True, 'unavailable_reason': None, 'capabilities': ['apply_rope', 'apply_rope1', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'quantize_mxfp8', 'quantize_nvfp4', 'quantize_per_tensor_fp8']}
|
|
[03:42] [ComfyUI] Found comfy_kitchen backend triton: {'available': True, 'disabled': True, 'unavailable_reason': None, 'capabilities': ['apply_rope', 'apply_rope1', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'quantize_mxfp8', 'quantize_nvfp4', 'quantize_per_tensor_fp8']}
|
|
[03:42] [ComfyUI] Checkpoint files will always be loaded safely.
|
|
[03:43] [ComfyUI] Total VRAM 24124 MB, total RAM 31924 MB
|
|
[03:43] [ComfyUI] pytorch version: 2.11.0+cu128
|
|
[03:43] [ComfyUI] Set vram state to: NORMAL_VRAM
|
|
[03:43] [ComfyUI] Device: cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync
|
|
[03:43] [ComfyUI] Using async weight offloading with 2 streams
|
|
[03:43] [ComfyUI] Enabled pinned memory 28731.0
|
|
[03:43] [ComfyUI] Using pytorch attention
|
|
[03:49] [ComfyUI] aimdo: /project/src-posix/cuda-funchooks.c:52:DEBUG:aimdo_setup_hooks: hooks successfully installed
|
|
[03:49] [ComfyUI] aimdo: /project/src/control.c:151:INFO:comfy-aimdo inited for GPU: NVIDIA GeForce RTX 3090 (VRAM: 24124 MB)
|
|
[03:49] [ComfyUI] DynamicVRAM support detected and enabled
|
|
[03:49] [ComfyUI] Python version: 3.13.13 (main, May 8 2026, 18:32:55) [Clang 22.1.3 ]
|
|
[03:49] [ComfyUI] ComfyUI version: 0.21.0
|
|
[03:49] [ComfyUI] comfy-aimdo version: 0.3.0
|
|
[03:49] [ComfyUI] comfy-kitchen version: 0.2.8
|
|
[03:49] [ComfyUI] ****** User settings have been changed to be stored on the server instead of browser storage. ******
|
|
[03:49] [ComfyUI] ****** For multi-user setups add the --multi-user CLI argument to enable multiple user profiles. ******
|
|
[03:49] [ComfyUI] ComfyUI frontend version: 1.43.18
|
|
[03:49] [ComfyUI] [Prompt Server] web root: /workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfyui_frontend_package/static
|
|
[03:49] [ComfyUI] Asset seeder disabled
|
|
[03:52] [ComfyUI] ComfyUI-Multiband loaded: 15 nodes registered
|
|
[03:52] [ComfyUI] [comfy-env] Version: 0.3.87
|
|
[03:53] [ComfyUI] [comfy-env] register_nodes: ComfyUI-SAM3
|
|
[03:53] [ComfyUI] [comfy-env] ComfyUI source dir: /workspaces/SAM3-0804/ComfyUI
|
|
[03:53] [ComfyUI] [comfy-env] Found 1 isolation env(s)
|
|
[03:53] [ComfyUI] [comfy-env] Scanning nodes metadata (isolation root)...
|
|
[03:53] [ComfyUI] [comfy-env] Metadata scan: /root/.pixi/bin/pixi run --as-is --manifest-path /root/.ce/pixi.toml -e sam3-nodes python /tmp/comfy_meta_vdzuwg__.py /workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3 nodes /tmp/comfy_meta_out_mqbir6ni.pkl
|
|
[03:53] [ComfyUI] [comfy-env] Scan env PATH for nodes:
|
|
[03:53] [ComfyUI] [comfy-env] [0] /root/.local/bin
|
|
[03:53] [ComfyUI] [comfy-env] [1] /usr/local/nvidia/bin
|
|
[03:53] [ComfyUI] [comfy-env] [2] /usr/local/cuda/bin
|
|
[03:53] [ComfyUI] [comfy-env] [3] /usr/local/sbin
|
|
[03:53] [ComfyUI] [comfy-env] [4] /usr/local/bin
|
|
[03:53] [ComfyUI] [comfy-env] [5] /usr/sbin
|
|
[03:53] [ComfyUI] [comfy-env] [6] /usr/bin
|
|
[03:53] [ComfyUI] [comfy-env] [7] /sbin
|
|
[03:53] [ComfyUI] [comfy-env] [8] /bin
|
|
[04:01] [ComfyUI] [comfy-env] Metadata scan stderr for nodes:
|
|
[04:01] [ComfyUI] [comfy-env] [meta-scan] importing nodes from /workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3
|
|
[04:01] [ComfyUI] [comfy-env] WARNING:root:WARNING: You need pytorch with cu130 or higher to use optimized CUDA operations.
|
|
[04:01] [ComfyUI] [comfy-env] [meta-scan] import OK
|
|
[04:01] [ComfyUI] [comfy-env] Scanned nodes: 15 nodes (8.6s)
|
|
[04:01] [ComfyUI] [comfy-env] Scanned nodes root: 15 nodes (8.6s)
|
|
[04:01] [ComfyUI] [comfy-env] Registered proxy route: POST /sam3/interactive_segment_one -> nodes.sam3_interactive._api_segment_one
|
|
[04:01] [ComfyUI] [comfy-env] Imported nodes root: 15 nodes (isolation)
|
|
[04:01] [ComfyUI] [comfy-env] Registered 15 total nodes
|
|
[04:01] [ComfyUI]
|
|
[04:01] [ComfyUI] Import times for custom nodes:
|
|
[04:01] [ComfyUI] 0.0 seconds: /workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-validate-endpoint
|
|
[04:01] [ComfyUI] 0.0 seconds: /workspaces/SAM3-0804/ComfyUI/custom_nodes/websocket_image_save.py
|
|
[04:01] [ComfyUI] 0.1 seconds: /workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-VideoHelperSuite
|
|
[04:01] [ComfyUI] 0.3 seconds: /workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-Multiband
|
|
[04:01] [ComfyUI] 8.7 seconds: /workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3
|
|
[04:01] [ComfyUI]
|
|
[04:01] [ComfyUI] Context impl SQLiteImpl.
|
|
[04:01] [ComfyUI] Will assume non-transactional DDL.
|
|
[04:01] [ComfyUI] Context impl SQLiteImpl.
|
|
[04:01] [ComfyUI] Will assume non-transactional DDL.
|
|
[04:01] [ComfyUI] Running upgrade -> 0001_assets, Initial assets schema
|
|
[04:01] [ComfyUI] Revision ID: 0001_assets
|
|
[04:01] [ComfyUI] Revises: None
|
|
[04:01] [ComfyUI] Create Date: 2025-12-10 00:00:00
|
|
[04:01] [ComfyUI] Running upgrade 0001_assets -> 0002_merge_to_asset_references, Merge AssetInfo and AssetCacheState into unified asset_references table.
|
|
[04:02] [ComfyUI] Running upgrade 0002_merge_to_asset_references -> 0003_add_metadata_job_id, Add system_metadata and job_id columns to asset_references.
|
|
[04:02] [ComfyUI] Change preview_id FK from assets.id to asset_references.id.
|
|
[04:02] [ComfyUI] Database upgraded from None to 0003_add_metadata_job_id
|
|
[04:02] [ComfyUI] Starting server
|
|
[04:02] [ComfyUI]
|
|
[04:02] [ComfyUI] To see the GUI go to: http://127.0.0.1:41897
|
|
[04:03] Server responding, waiting for nodes to load...
|
|
[04:23] Server is ready!
|
|
[04:23] Checking for import errors in server logs...
|
|
[04:23] No import errors detected
|
|
[04:23] Found 784 registered nodes
|
|
[04:23] [REGISTRATION] PASSED
|
|
[04:23]
|
|
[04:23] [4/5] INSTANTIATION
|
|
[04:23] ----------------------------------------
|
|
[04:23]
|
|
[DEBUG] server=<comfy_test.comfyui.server.ComfyUIServer object at 0x7e8615617ca0>, server_url=None, api=<comfy_test.comfyui.api.ComfyUIAPI object at 0x7e861517b6a0>
|
|
[04:23] Testing node constructors...
|
|
[04:29] All 15 node(s) instantiated successfully!
|
|
[04:29] [INSTANTIATION] PASSED
|
|
[04:29]
|
|
[04:29] [5/5] EXECUTION
|
|
[04:29] ----------------------------------------
|
|
[04:29]
|
|
[DEBUG] server=<comfy_test.comfyui.server.ComfyUIServer object at 0x7e8615617ca0>, server_url=None, api=<comfy_test.comfyui.api.ComfyUIAPI object at 0x7e861517b6a0>
|
|
[04:29] GPU runner - will execute 5 workflow(s)
|
|
[04:29] Running 5 workflow(s) (all with videos)...
|
|
[04:30] Installing screenshot dependencies (playwright, pillow)...
|
|
[04:32] Packages installed, downloading chromium browser...
|
|
[05:04] Screenshot dependencies installed successfully
|
|
[05:05] Starting headless browser...
|
|
[05:05] Installing Vulkan stack (apt)...
|
|
[05:05] Vulkan install error: [Errno 2] No such file or directory: 'sudo'
|
|
[05:05] GPU detected (no Vulkan) -- using ANGLE/OpenGL rendering
|
|
[05:05] Capturing execution frames: image_seg_point.json
|
|
[05:07] [ComfyUI] [DEPRECATION WARNING] Detected import of deprecated legacy API: /extensions/core/widgetInputs.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
|
|
[05:12] Frame 1 saved (frame_000.jpg, t=0.0s)
|
|
[05:12] Validating workflow...
|
|
[05:13] [ComfyUI] === /validate endpoint called ===
|
|
[05:13] [ComfyUI] Received JSON with keys: ['prompt']
|
|
[05:13] [ComfyUI] Prompt has 6 nodes
|
|
[05:13] [ComfyUI] Node 1: LoadImage
|
|
[05:13] Queuing workflow for execution...
|
|
[05:13] [ComfyUI] Inputs: {"image": "example_image.jpg"}
|
|
[05:13] [ComfyUI] Node 15: SAM3PointCollector
|
|
[05:13] [ComfyUI] Inputs: {"points_store": "{\"positive\":[{\"x\":426.27735719657574,\"y\":321.42611685978835},{\"x\":417.13743597288953,\"y\":407.3413796907987},{\"x\":431.76130993078743,\"y\":549.9241563039649}],\"negative\"
|
|
[05:13] [ComfyUI] Node 28: PreviewImage
|
|
[05:13] [ComfyUI] Inputs: {"images": ["31", 2]}
|
|
[05:13] [ComfyUI] Node 29: MaskPreview
|
|
[05:13] [ComfyUI] Inputs: {"mask": ["31", 0]}
|
|
[05:13] [ComfyUI] Node 30: LoadSAM3Model
|
|
[05:13] [ComfyUI] Inputs: {"precision": "auto", "compile": false}
|
|
[05:13] [ComfyUI] Node 31: SAM3Segmentation
|
|
[05:13] [ComfyUI] Inputs: {"refinement_iterations": 0, "use_multimask": true, "output_best_mask": true, "sam3_model_config": ["30", 0], "image": ["1", 0], "positive_points": ["15", 0], "negative_points": ["15", 1]}
|
|
[05:13] [ComfyUI] Generated prompt_id: 18b2b1e7-499d-482f-a21d-e90c33e46ed4
|
|
[05:13] [ComfyUI] Calling execution.validate_prompt()...
|
|
[05:13] [ComfyUI] Validation result: valid=True
|
|
[05:13] [ComfyUI] === Validation PASSED ===
|
|
[05:13] [ComfyUI] got prompt
|
|
[05:13] [ComfyUI] [comfy-env] Running SAM3PointCollector: points_store: '{"positive":[{"x":426.27735719657574,"y":321.42611685978..., coordinates: '[{"x":426.27735719657574,"y":321.42611685978835},{"x":41..., neg_coordinates: '[]', image: torch.float32 [1,720,1280,3] cpu
|
|
[05:13] [ComfyUI] [comfy-env] SubprocessWorker: /root/.ce/.pixi/envs/sam3-nodes/bin/python
|
|
[05:13] [ComfyUI] [VRAM] Before SAM3PointCollector: 15218 / 24124 MB
|
|
[05:13] [ComfyUI] [comfy-env] env_vars: {'PYTORCH_ENABLE_MPS_FALLBACK': '1', 'COMFYUI_BASE': '/workspaces/SAM3-0804/ComfyUI'}
|
|
[05:13] [ComfyUI] [SubprocessWorker] call_method: nodes.sam3_interactive.SAM3PointCollector.EXECUTE_NORMALIZED
|
|
[05:13] [ComfyUI] [ComfyUI-SAM3] python: /root/.ce/.pixi/envs/sam3-nodes/bin/python
|
|
[05:13] [ComfyUI] [SubprocessWorker] acquired lock, ensuring started...
|
|
[05:13] [ComfyUI] [ComfyUI-SAM3] sys_path sent to worker: ['/workspaces/SAM3-0804/ComfyUI', '/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3', '/root/.ce/.pixi/envs/sam3-nodes/lib/python3.13/site-packages', '/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3']
|
|
[05:13] [ComfyUI] [SubprocessWorker] is_pixi=True, python=/root/.ce/.pixi/envs/sam3-nodes/bin/python
|
|
[05:13] [ComfyUI] [SubprocessWorker] launching cmd=['/root/.pixi/bin/pixi', 'run', '--as-is', '--manifest-path', '/root/.ce/pixi.toml', '-e', 'sam3-nodes', 'python', '/tmp/comfyui_pvenv_hqdlgfff/persistent_worker.py', 'abstract://comfy_worker_ec7382646158']...
|
|
[05:13] [ComfyUI] [SubprocessWorker] socket_addr=abstract://comfy_worker_ec7382646158 (abstract, no filesystem path)
|
|
[05:15] Frame 2 saved (frame_001.jpg, t=2.5s)
|
|
[05:15] [capture-periodic] freeze=4ms shot=210ms unfreeze=4ms saved=True
|
|
[05:15] [ComfyUI] [worker:ComfyUI-SAM3] WARNING: WARNING: You need pytorch with cu130 or higher to use optimized CUDA operations.
|
|
[05:16] [ComfyUI] [SubprocessWorker] worker started/confirmed
|
|
[05:16] [ComfyUI] [comfy-env] PRE-SERIALIZE 'image' shape: torch.Size([1, 720, 1280, 3])
|
|
[05:16] [ComfyUI] [SubprocessWorker] serializing kwargs to shm...
|
|
[05:16] [ComfyUI] [SubprocessWorker] created 0 shm blocks
|
|
[05:16] [ComfyUI] [SubprocessWorker] sending request via socket...
|
|
[05:16] [ComfyUI] [SubprocessWorker] call_id=1 sending call_method
|
|
[05:16] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] _from_shm got dict with keys: ['__type__', 'strategy', 'parent_pid', 'fd', 'storage_size']
|
|
[05:16] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] DESERIALIZE TensorRef: tensor_size=[1, 720, 1280, 3]
|
|
[05:16] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] DESERIALIZED tensor shape: torch.Size([1, 720, 1280, 3])
|
|
[05:16] [ComfyUI] [SubprocessWorker] got response: ok
|
|
[05:16] [ComfyUI] [comfy-env] SAM3PointCollector done (3.62s): result: NodeOutput
|
|
[05:16] [ComfyUI] [VRAM] After SAM3PointCollector: 15479 / 24124 MB
|
|
[05:16] [ComfyUI] [comfy-env] Running LoadSAM3Model: precision: 'auto', compile: False
|
|
[05:16] [ComfyUI] [VRAM] Before LoadSAM3Model: 15479 / 24124 MB
|
|
[05:16] [ComfyUI] [SubprocessWorker] call_method: nodes.load_model.LoadSAM3Model.EXECUTE_NORMALIZED
|
|
[05:16] [ComfyUI] [SubprocessWorker] acquired lock, ensuring started...
|
|
[05:16] [ComfyUI] [ComfyUI-SAM3] Health check: ping (timeout=5.0s)...
|
|
[05:16] [ComfyUI] [ComfyUI-SAM3] Health check: ok
|
|
[05:16] [ComfyUI] [SubprocessWorker] worker started/confirmed
|
|
[05:16] [ComfyUI] [SubprocessWorker] serializing kwargs to shm...
|
|
[05:16] [ComfyUI] [SubprocessWorker] created 0 shm blocks
|
|
[05:16] [ComfyUI] [SubprocessWorker] sending request via socket...
|
|
[05:16] [ComfyUI] [SubprocessWorker] call_id=2 sending call_method
|
|
[05:16] [ComfyUI] [worker:ComfyUI-SAM3] [SAM3] Model not found at /workspaces/SAM3-0804/ComfyUI/models/sam3/sam3.safetensors, downloading from HuggingFace...
|
|
[05:16] Node executed (1 total), capturing...
|
|
[05:17] [ComfyUI] [worker:ComfyUI-SAM3] [SAM3] Downloading sam3.safetensors from apozz/sam3-safetensors...
|
|
[05:17] Frame 3 saved (frame_002.jpg, t=4.3s)
|
|
[05:17] [capture-node] freeze=4ms shot=223ms unfreeze=9ms saved=True
|
|
[05:17] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:17] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:18] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:18] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:18] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:19] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:19] [capture-loop] iter=50 t=6.6s state={'complete': False, 'error': None, 'executedCount': 1, 'wsState': 1} eval_ms=14 ram=19.9/31.2GB (64%) swap=1.8/32.0GB (6%) cpu=5% browser_rss=0.88GB
|
|
[05:19] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:19] Frame 4 saved (frame_003.jpg, t=6.7s)
|
|
[05:19] [capture-periodic] freeze=4ms shot=238ms unfreeze=10ms saved=True
|
|
[05:19] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:20] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:20] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:20] [ComfyUI] [worker:ComfyUI-SAM3] [SAM3] Download progress: 10%
|
|
[05:20] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:20] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:21] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:21] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:21] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:22] Frame 5 saved (frame_004.jpg, t=9.1s)
|
|
[05:22] [capture-periodic] freeze=4ms shot=239ms unfreeze=8ms saved=True
|
|
[05:22] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:22] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:22] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:23] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:23] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:23] [ComfyUI] [worker:ComfyUI-SAM3] [SAM3] Download progress: 20%
|
|
[05:23] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:23] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:24] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:24] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:24] Frame 6 saved (frame_005.jpg, t=11.5s)
|
|
[05:24] [capture-periodic] freeze=4ms shot=237ms unfreeze=10ms saved=True
|
|
[05:24] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:25] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:25] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:25] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:25] [capture-loop] iter=100 t=13.1s state={'complete': False, 'error': None, 'executedCount': 1, 'wsState': 1} eval_ms=19 ram=19.9/31.2GB (64%) swap=1.8/32.0GB (6%) cpu=8% browser_rss=0.90GB
|
|
[05:25] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:26] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:26] [ComfyUI] [worker:ComfyUI-SAM3] [SAM3] Download progress: 30%
|
|
[05:26] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:26] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:26] Frame 7 saved (frame_006.jpg, t=13.9s)
|
|
[05:26] [capture-periodic] freeze=4ms shot=245ms unfreeze=4ms saved=True
|
|
[05:27] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:27] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:27] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:28] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:28] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:28] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:29] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:29] Frame 8 saved (frame_007.jpg, t=16.3s)
|
|
[05:29] [capture-periodic] freeze=3ms shot=235ms unfreeze=3ms saved=True
|
|
[05:29] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:29] [ComfyUI] [worker:ComfyUI-SAM3] [SAM3] Download progress: 40%
|
|
[05:29] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:30] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:30] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:30] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:30] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:31] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:31] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:31] Frame 9 saved (frame_008.jpg, t=18.6s)
|
|
[05:31] [capture-periodic] freeze=10ms shot=250ms unfreeze=3ms saved=True
|
|
[05:31] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:32] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:32] [capture-loop] iter=150 t=19.7s state={'complete': False, 'error': None, 'executedCount': 1, 'wsState': 1} eval_ms=4 ram=20.1/31.2GB (64%) swap=1.8/32.0GB (6%) cpu=8% browser_rss=0.93GB
|
|
[05:32] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:32] [ComfyUI] [worker:ComfyUI-SAM3] [SAM3] Download progress: 50%
|
|
[05:32] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:33] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:33] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:33] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:33] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:34] Frame 10 saved (frame_009.jpg, t=21.1s)
|
|
[05:34] [capture-periodic] freeze=3ms shot=243ms unfreeze=6ms saved=True
|
|
[05:34] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:34] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:34] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:35] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:35] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:35] [ComfyUI] [worker:ComfyUI-SAM3] [SAM3] Download progress: 60%
|
|
[05:35] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:35] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:36] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:36] Frame 11 saved (frame_010.jpg, t=23.5s)
|
|
[05:36] [capture-periodic] freeze=3ms shot=235ms unfreeze=32ms saved=True
|
|
[05:36] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:36] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:37] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:37] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:38] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:38] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:38] [capture-loop] iter=200 t=25.8s state={'complete': False, 'error': None, 'executedCount': 1, 'wsState': 1} eval_ms=11 ram=20.1/31.2GB (64%) swap=1.8/32.0GB (6%) cpu=7% browser_rss=0.93GB
|
|
[05:38] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:38] [ComfyUI] [worker:ComfyUI-SAM3] [SAM3] Download progress: 70%
|
|
[05:38] Frame 12 saved (frame_011.jpg, t=25.9s)
|
|
[05:38] [capture-periodic] freeze=3ms shot=225ms unfreeze=3ms saved=True
|
|
[05:39] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:39] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:39] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:39] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:40] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:40] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:40] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:41] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:41] Frame 13 saved (frame_012.jpg, t=28.3s)
|
|
[05:41] [capture-periodic] freeze=9ms shot=239ms unfreeze=3ms saved=True
|
|
[05:41] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:41] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:41] [ComfyUI] [worker:ComfyUI-SAM3] [SAM3] Download progress: 80%
|
|
[05:42] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:42] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:42] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:42] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:43] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:43] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:43] Frame 14 saved (frame_013.jpg, t=30.7s)
|
|
[05:43] [capture-periodic] freeze=4ms shot=257ms unfreeze=6ms saved=True
|
|
[05:43] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:44] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:44] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:44] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:44] [ComfyUI] [worker:ComfyUI-SAM3] [SAM3] Download progress: 90%
|
|
[05:44] [capture-loop] iter=250 t=32.3s state={'complete': False, 'error': None, 'executedCount': 1, 'wsState': 1} eval_ms=4 ram=20.2/31.2GB (65%) swap=1.8/32.0GB (6%) cpu=8% browser_rss=0.93GB
|
|
[05:44] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:45] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:45] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:45] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:46] Frame 15 saved (frame_014.jpg, t=33.1s)
|
|
[05:46] [capture-periodic] freeze=3ms shot=244ms unfreeze=4ms saved=True
|
|
[05:46] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:46] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:46] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:47] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:47] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:47] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:47] [ComfyUI] [worker:ComfyUI-SAM3] [SAM3] Download progress: 100%
|
|
[05:47] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=2
|
|
[05:47] [ComfyUI] [worker:ComfyUI-SAM3] [SAM3] Downloaded sam3.safetensors
|
|
[05:47] [ComfyUI] [worker:ComfyUI-SAM3] [SAM3] Model downloaded successfully
|
|
[05:47] [ComfyUI] [SubprocessWorker] got response: ok
|
|
[05:47] [ComfyUI] [comfy-env] LoadSAM3Model done (30.97s): result: NodeOutput
|
|
[05:47] [ComfyUI] [VRAM] After LoadSAM3Model: 15479 / 24124 MB
|
|
[05:47] [ComfyUI] [comfy-env] Running SAM3Segmentation: refinement_iterations: 0, use_multimask: True, output_best_mask: True, sam3_model_config: dict, image: torch.float32 [1,720,1280,3] cpu, positive_points: dict, negative_points: dict
|
|
[05:47] [ComfyUI] [VRAM] Before SAM3Segmentation: 15479 / 24124 MB
|
|
[05:47] [ComfyUI] [SubprocessWorker] call_method: nodes.segmentation.SAM3Segmentation.EXECUTE_NORMALIZED
|
|
[05:47] [ComfyUI] [SubprocessWorker] acquired lock, ensuring started...
|
|
[05:47] [ComfyUI] [ComfyUI-SAM3] Health check: ping (timeout=5.0s)...
|
|
[05:47] [ComfyUI] [ComfyUI-SAM3] Health check: ok
|
|
[05:47] [ComfyUI] [SubprocessWorker] worker started/confirmed
|
|
[05:47] [ComfyUI] [comfy-env] PRE-SERIALIZE 'image' shape: torch.Size([1, 720, 1280, 3])
|
|
[05:47] [ComfyUI] [SubprocessWorker] serializing kwargs to shm...
|
|
[05:47] [ComfyUI] [SubprocessWorker] created 0 shm blocks
|
|
[05:47] [ComfyUI] [SubprocessWorker] sending request via socket...
|
|
[05:47] [ComfyUI] [SubprocessWorker] call_id=3 sending call_method
|
|
[05:47] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] _from_shm got dict with keys: ['__type__', 'strategy', 'parent_pid', 'fd', 'storage_size']
|
|
[05:47] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] DESERIALIZE TensorRef: tensor_size=[1, 720, 1280, 3]
|
|
[05:47] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] DESERIALIZED tensor shape: torch.Size([1, 720, 1280, 3])
|
|
[05:48] Frame 16 saved (frame_015.jpg, t=35.5s)
|
|
[05:48] [capture-periodic] freeze=2ms shot=165ms unfreeze=3ms saved=True
|
|
[05:49] [ComfyUI] [SubprocessWorker] got response: error
|
|
[05:49] [ComfyUI] !!! Exception during processing !!! No module named 'transformers'
|
|
[05:49] [ComfyUI]
|
|
[05:49] [ComfyUI] Worker traceback:
|
|
[05:49] [ComfyUI] Traceback (most recent call last):
|
|
[05:49] [ComfyUI] File "/tmp/comfyui_pvenv_hqdlgfff/persistent_worker.py", line 1762, in main
|
|
[05:49] [ComfyUI] result = method(**inputs)
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED
|
|
[05:49] [ComfyUI] to_return = cls.execute(*args, **kwargs)
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/segmentation.py", line 469, in execute
|
|
[05:49] [ComfyUI] sam3_model = get_or_build_model(sam3_model_config)
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/_model_cache.py", line 31, in get_or_build_model
|
|
[05:49] [ComfyUI] from .sam3_model_patcher import SAM3UnifiedModel
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_model_patcher.py", line 14, in <module>
|
|
[05:49] [ComfyUI] from comfy.model_patcher import ModelPatcher
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/model_patcher.py", line 32, in <module>
|
|
[05:49] [ComfyUI] import comfy.hooks
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/hooks.py", line 14, in <module>
|
|
[05:49] [ComfyUI] import comfy.lora
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/lora.py", line 23, in <module>
|
|
[05:49] [ComfyUI] import comfy.model_base
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/model_base.py", line 61, in <module>
|
|
[05:49] [ComfyUI] import comfy.ldm.hidream_o1.model
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/ldm/hidream_o1/model.py", line 20, in <module>
|
|
[05:49] [ComfyUI] from comfy.text_encoders.qwen35 import Qwen35VisionModel
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/text_encoders/qwen35.py", line 10, in <module>
|
|
[05:49] [ComfyUI] from comfy import sd1_clip
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/sd1_clip.py", line 3, in <module>
|
|
[05:49] [ComfyUI] from transformers import CLIPTokenizer
|
|
[05:49] [ComfyUI] ModuleNotFoundError: No module named 'transformers'
|
|
[05:49] [ComfyUI]
|
|
[05:49] [ComfyUI] Traceback (most recent call last):
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 535, in execute
|
|
[05:49] [ComfyUI] output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
|
|
[05:49] [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 335, in get_output_data
|
|
[05:49] [ComfyUI] 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, v3_data=v3_data)
|
|
[05:49] [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 309, in _async_map_node_over_list
|
|
[05:49] [ComfyUI] await process_inputs(input_dict, i)
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 297, in process_inputs
|
|
[05:49] [ComfyUI] result = f(**inputs)
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/metadata.py", line 556, in proxy
|
|
[05:49] [ComfyUI] result = worker.call_method(
|
|
[05:49] [ComfyUI] module_name=mod,
|
|
[05:49] [ComfyUI] ...<4 lines>...
|
|
[05:49] [ComfyUI] timeout=600.0,
|
|
[05:49] [ComfyUI] )
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/workers/subprocess.py", line 674, in call_method
|
|
[05:49] [ComfyUI] raise WorkerError(
|
|
[05:49] [ComfyUI] ...<2 lines>...
|
|
[05:49] [ComfyUI] )
|
|
[05:49] [ComfyUI] comfy_env.isolation.workers.base.WorkerError: No module named 'transformers'
|
|
[05:49] [ComfyUI]
|
|
[05:49] [ComfyUI] Worker traceback:
|
|
[05:49] [ComfyUI] Traceback (most recent call last):
|
|
[05:49] [ComfyUI] File "/tmp/comfyui_pvenv_hqdlgfff/persistent_worker.py", line 1762, in main
|
|
[05:49] [ComfyUI] result = method(**inputs)
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED
|
|
[05:49] [ComfyUI] to_return = cls.execute(*args, **kwargs)
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/segmentation.py", line 469, in execute
|
|
[05:49] [ComfyUI] sam3_model = get_or_build_model(sam3_model_config)
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/_model_cache.py", line 31, in get_or_build_model
|
|
[05:49] [ComfyUI] from .sam3_model_patcher import SAM3UnifiedModel
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_model_patcher.py", line 14, in <module>
|
|
[05:49] [ComfyUI] from comfy.model_patcher import ModelPatcher
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/model_patcher.py", line 32, in <module>
|
|
[05:49] [ComfyUI] import comfy.hooks
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/hooks.py", line 14, in <module>
|
|
[05:49] [ComfyUI] import comfy.lora
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/lora.py", line 23, in <module>
|
|
[05:49] [ComfyUI] import comfy.model_base
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/model_base.py", line 61, in <module>
|
|
[05:49] [ComfyUI] import comfy.ldm.hidream_o1.model
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/ldm/hidream_o1/model.py", line 20, in <module>
|
|
[05:49] [ComfyUI] from comfy.text_encoders.qwen35 import Qwen35VisionModel
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/text_encoders/qwen35.py", line 10, in <module>
|
|
[05:49] [ComfyUI] from comfy import sd1_clip
|
|
[05:49] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/sd1_clip.py", line 3, in <module>
|
|
[05:49] [ComfyUI] from transformers import CLIPTokenizer
|
|
[05:49] [ComfyUI] ModuleNotFoundError: No module named 'transformers'
|
|
[05:49] [ComfyUI]
|
|
[05:49] [ComfyUI]
|
|
[05:49] [ComfyUI] Prompt executed in 36.25 seconds
|
|
[05:49] Execution complete (t=37.0s)
|
|
[05:49] Execution error: {'prompt_id': 'f3f1cc6f-a71e-4cfc-8062-03ef03c610b9', 'node_id': '31', 'node_type': 'SAM3Segmentation', 'executed': ['1', '15', '30'], 'exception_message': 'No module named \'transformers\'\n\nWorker traceback:\nTraceback (most recent call last):\n File "/tmp/comfyui_pvenv_hqdlgfff/persistent_worker.py", line 1762, in main\n result = method(**inputs)\n File "/workspaces/SAM3-0804/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/segmentation.py", line 469, in execute\n sam3_model = get_or_build_model(sam3_model_config)\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/_model_cache.py", line 31, in get_or_build_model\n from .sam3_model_patcher import SAM3UnifiedModel\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_model_patcher.py", line 14, in <module>\n from comfy.model_patcher import ModelPatcher\n File "/workspaces/SAM3-0804/ComfyUI/comfy/model_patcher.py", line 32, in <module>\n import comfy.hooks\n File "/workspaces/SAM3-0804/ComfyUI/comfy/hooks.py", line 14, in <module>\n import comfy.lora\n File "/workspaces/SAM3-0804/ComfyUI/comfy/lora.py", line 23, in <module>\n import comfy.model_base\n File "/workspaces/SAM3-0804/ComfyUI/comfy/model_base.py", line 61, in <module>\n import comfy.ldm.hidream_o1.model\n File "/workspaces/SAM3-0804/ComfyUI/comfy/ldm/hidream_o1/model.py", line 20, in <module>\n from comfy.text_encoders.qwen35 import Qwen35VisionModel\n File "/workspaces/SAM3-0804/ComfyUI/comfy/text_encoders/qwen35.py", line 10, in <module>\n from comfy import sd1_clip\n File "/workspaces/SAM3-0804/ComfyUI/comfy/sd1_clip.py", line 3, in <module>\n from transformers import CLIPTokenizer\nModuleNotFoundError: No module named \'transformers\'\n\n', 'exception_type': 'comfy_env.isolation.workers.base.WorkerError', 'traceback': [' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 535, in execute\n output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 335, in get_output_data\n 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, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 297, in process_inputs\n result = f(**inputs)\n', ' File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/metadata.py", line 556, in proxy\n result = worker.call_method(\n module_name=mod,\n ...<4 lines>...\n timeout=600.0,\n )\n', ' File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/workers/subprocess.py", line 674, in call_method\n raise WorkerError(\n ...<2 lines>...\n )\n'], 'current_inputs': {'refinement_iterations': [0], 'use_multimask': [True], 'output_best_mask': [True], 'sam3_model_config': ["{'checkpoint_path': '/workspaces/SAM3-0804/ComfyUI/models/sam3/sam3.safetensors', 'bpe_path': '/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3/bpe_simple_vocab_16e6.txt.gz', 'precision': 'auto', 'dtype': 'bf16', 'compile': False}"], 'image': ['tensor([[[[0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n ...,\n [0.3176, 0.5765, 0.7176],\n [0.3333, 0.5961, 0.7451],\n [0.3529, 0.6157, 0.7647]],\n\n [[0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n ...,\n [0.3137, 0.5725, 0.7137],\n [0.3137, 0.5765, 0.7255],\n [0.3255, 0.5882, 0.7373]],\n\n [[0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n ...,\n [0.3882, 0.5294, 0.6235],\n [0.3922, 0.5216, 0.6196],\n [0.3961, 0.5255, 0.6235]],\n\n ...,\n\n [[0.4941, 0.4784, 0.4157],\n [0.4941, 0.4784, 0.4157],\n [0.4980, 0.4824, 0.4196],\n ...,\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020]],\n\n [[0.5098, 0.4941, 0.4314],\n [0.5098, 0.4941, 0.4314],\n [0.5137, 0.4980, 0.4353],\n ...,\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020]],\n\n [[0.5176, 0.5020, 0.4392],\n [0.5216, 0.5059, 0.4431],\n [0.5255, 0.5098, 0.4471],\n ...,\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020]]]])'], 'positive_points': ["{'points': [[0.3330291853098248, 0.4464251623052616], [0.32588862185381995, 0.5657519162372204], [0.3373135233834277, 0.7637835504221735]], 'labels': [1, 1, 1]}"], 'negative_points': ["{'points': [], 'labels': []}"]}, 'current_outputs': ['30', '28', '29', '31', '1', '15'], 'timestamp': 1778659825047}
|
|
[05:50] Capturing execution frames: image_seg_text.json
|
|
[05:56] Frame 1 saved (frame_000.jpg, t=0.0s)
|
|
[05:56] Validating workflow...
|
|
[05:56] [ComfyUI] === /validate endpoint called ===
|
|
[05:56] [ComfyUI] Received JSON with keys: ['prompt']
|
|
[05:56] Queuing workflow for execution...
|
|
[05:56] [ComfyUI] Prompt has 5 nodes
|
|
[05:56] [ComfyUI] Node 1: LoadImage
|
|
[05:56] [ComfyUI] Inputs: {"image": "example_image.jpg"}
|
|
[05:56] [ComfyUI] Node 3: PreviewImage
|
|
[05:56] [ComfyUI] Inputs: {"images": ["15", 1]}
|
|
[05:56] [ComfyUI] Node 4: MaskPreview
|
|
[05:56] [ComfyUI] Inputs: {"mask": ["15", 0]}
|
|
[05:56] [ComfyUI] Node 12: LoadSAM3Model
|
|
[05:56] [ComfyUI] Inputs: {"precision": "fp32", "compile": false}
|
|
[05:56] [ComfyUI] Node 15: SAM3Grounding
|
|
[05:56] [ComfyUI] Inputs: {"confidence_threshold": 0.2, "text_prompt": "child", "max_detections": -1, "sam3_model_config": ["12", 0], "image": ["1", 0]}
|
|
[05:56] [ComfyUI] Generated prompt_id: 3da5cbd6-1f51-42b6-bbeb-196f7f4cbb56
|
|
[05:56] [ComfyUI] Calling execution.validate_prompt()...
|
|
[05:56] [ComfyUI] Validation result: valid=True
|
|
[05:56] [ComfyUI] === Validation PASSED ===
|
|
[05:56] [ComfyUI] got prompt
|
|
[05:56] [ComfyUI] [comfy-env] Running LoadSAM3Model: precision: 'fp32', compile: False
|
|
[05:56] [ComfyUI] [VRAM] Before LoadSAM3Model: 15479 / 24124 MB
|
|
[05:56] [ComfyUI] [SubprocessWorker] call_method: nodes.load_model.LoadSAM3Model.EXECUTE_NORMALIZED
|
|
[05:56] [ComfyUI] [SubprocessWorker] acquired lock, ensuring started...
|
|
[05:56] [ComfyUI] [ComfyUI-SAM3] Health check: ping (timeout=5.0s)...
|
|
[05:56] [ComfyUI] [ComfyUI-SAM3] Health check: ok
|
|
[05:56] [ComfyUI] [SubprocessWorker] worker started/confirmed
|
|
[05:56] [ComfyUI] [SubprocessWorker] serializing kwargs to shm...
|
|
[05:56] [ComfyUI] [SubprocessWorker] created 0 shm blocks
|
|
[05:56] [ComfyUI] [SubprocessWorker] sending request via socket...
|
|
[05:56] [ComfyUI] [SubprocessWorker] call_id=4 sending call_method
|
|
[05:56] [ComfyUI] [SubprocessWorker] got response: ok
|
|
[05:56] [ComfyUI] [comfy-env] LoadSAM3Model done (0.07s): result: NodeOutput
|
|
[05:56] [ComfyUI] [VRAM] After LoadSAM3Model: 15479 / 24124 MB
|
|
[05:56] [ComfyUI] [comfy-env] Running SAM3Grounding: confidence_threshold: 0.2, text_prompt: 'child', max_detections: -1, sam3_model_config: dict, image: torch.float32 [1,720,1280,3] cpu
|
|
[05:56] [ComfyUI] [VRAM] Before SAM3Grounding: 15479 / 24124 MB
|
|
[05:56] [ComfyUI] [SubprocessWorker] call_method: nodes.segmentation.SAM3Grounding.EXECUTE_NORMALIZED
|
|
[05:56] [ComfyUI] [SubprocessWorker] acquired lock, ensuring started...
|
|
[05:56] [ComfyUI] [ComfyUI-SAM3] Health check: ping (timeout=5.0s)...
|
|
[05:56] [ComfyUI] [ComfyUI-SAM3] Health check: ok
|
|
[05:56] [ComfyUI] [SubprocessWorker] worker started/confirmed
|
|
[05:56] [ComfyUI] [comfy-env] PRE-SERIALIZE 'image' shape: torch.Size([1, 720, 1280, 3])
|
|
[05:56] [ComfyUI] [SubprocessWorker] serializing kwargs to shm...
|
|
[05:56] [ComfyUI] [SubprocessWorker] created 0 shm blocks
|
|
[05:56] [ComfyUI] [SubprocessWorker] sending request via socket...
|
|
[05:56] [ComfyUI] [SubprocessWorker] call_id=5 sending call_method
|
|
[05:56] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] _from_shm got dict with keys: ['__type__', 'strategy', 'parent_pid', 'fd', 'storage_size']
|
|
[05:56] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] DESERIALIZE TensorRef: tensor_size=[1, 720, 1280, 3]
|
|
[05:56] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] DESERIALIZED tensor shape: torch.Size([1, 720, 1280, 3])
|
|
[05:56] [ComfyUI] [SubprocessWorker] got response: error
|
|
[05:56] [ComfyUI] !!! Exception during processing !!! No module named 'transformers'
|
|
[05:56] [ComfyUI]
|
|
[05:56] [ComfyUI] Worker traceback:
|
|
[05:56] [ComfyUI] Traceback (most recent call last):
|
|
[05:56] [ComfyUI] File "/tmp/comfyui_pvenv_hqdlgfff/persistent_worker.py", line 1762, in main
|
|
[05:56] [ComfyUI] result = method(**inputs)
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED
|
|
[05:56] [ComfyUI] to_return = cls.execute(*args, **kwargs)
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/segmentation.py", line 86, in execute
|
|
[05:56] Execution complete (t=0.5s)
|
|
[05:56] [ComfyUI] sam3_model = get_or_build_model(sam3_model_config)
|
|
[05:56] Execution error: {'prompt_id': '7d83c1ba-194b-4c48-a7f9-fc2f47bc2277', 'node_id': '15', 'node_type': 'SAM3Grounding', 'executed': ['1', '12'], 'exception_message': 'No module named \'transformers\'\n\nWorker traceback:\nTraceback (most recent call last):\n File "/tmp/comfyui_pvenv_hqdlgfff/persistent_worker.py", line 1762, in main\n result = method(**inputs)\n File "/workspaces/SAM3-0804/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/segmentation.py", line 86, in execute\n sam3_model = get_or_build_model(sam3_model_config)\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/_model_cache.py", line 31, in get_or_build_model\n from .sam3_model_patcher import SAM3UnifiedModel\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_model_patcher.py", line 14, in <module>\n from comfy.model_patcher import ModelPatcher\n File "/workspaces/SAM3-0804/ComfyUI/comfy/model_patcher.py", line 32, in <module>\n import comfy.hooks\n File "/workspaces/SAM3-0804/ComfyUI/comfy/hooks.py", line 14, in <module>\n import comfy.lora\n File "/workspaces/SAM3-0804/ComfyUI/comfy/lora.py", line 23, in <module>\n import comfy.model_base\n File "/workspaces/SAM3-0804/ComfyUI/comfy/model_base.py", line 61, in <module>\n import comfy.ldm.hidream_o1.model\n File "/workspaces/SAM3-0804/ComfyUI/comfy/ldm/hidream_o1/model.py", line 20, in <module>\n from comfy.text_encoders.qwen35 import Qwen35VisionModel\n File "/workspaces/SAM3-0804/ComfyUI/comfy/text_encoders/qwen35.py", line 10, in <module>\n from comfy import sd1_clip\n File "/workspaces/SAM3-0804/ComfyUI/comfy/sd1_clip.py", line 3, in <module>\n from transformers import CLIPTokenizer\nModuleNotFoundError: No module named \'transformers\'\n\n', 'exception_type': 'comfy_env.isolation.workers.base.WorkerError', 'traceback': [' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 535, in execute\n output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 335, in get_output_data\n 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, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 297, in process_inputs\n result = f(**inputs)\n', ' File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/metadata.py", line 556, in proxy\n result = worker.call_method(\n module_name=mod,\n ...<4 lines>...\n timeout=600.0,\n )\n', ' File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/workers/subprocess.py", line 674, in call_method\n raise WorkerError(\n ...<2 lines>...\n )\n'], 'current_inputs': {'confidence_threshold': [0.2], 'text_prompt': ['child'], 'max_detections': [-1], 'sam3_model_config': ["{'checkpoint_path': '/workspaces/SAM3-0804/ComfyUI/models/sam3/sam3.safetensors', 'bpe_path': '/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3/bpe_simple_vocab_16e6.txt.gz', 'precision': 'fp32', 'dtype': 'fp32', 'compile': False}"], 'image': ['tensor([[[[0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n ...,\n [0.3176, 0.5765, 0.7176],\n [0.3333, 0.5961, 0.7451],\n [0.3529, 0.6157, 0.7647]],\n\n [[0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n ...,\n [0.3137, 0.5725, 0.7137],\n [0.3137, 0.5765, 0.7255],\n [0.3255, 0.5882, 0.7373]],\n\n [[0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n ...,\n [0.3882, 0.5294, 0.6235],\n [0.3922, 0.5216, 0.6196],\n [0.3961, 0.5255, 0.6235]],\n\n ...,\n\n [[0.4941, 0.4784, 0.4157],\n [0.4941, 0.4784, 0.4157],\n [0.4980, 0.4824, 0.4196],\n ...,\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020]],\n\n [[0.5098, 0.4941, 0.4314],\n [0.5098, 0.4941, 0.4314],\n [0.5137, 0.4980, 0.4353],\n ...,\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020]],\n\n [[0.5176, 0.5020, 0.4392],\n [0.5216, 0.5059, 0.4431],\n [0.5255, 0.5098, 0.4471],\n ...,\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020]]]])']}, 'current_outputs': ['3', '1', '12', '15', '4'], 'timestamp': 1778659832469}
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/_model_cache.py", line 31, in get_or_build_model
|
|
[05:56] [ComfyUI] from .sam3_model_patcher import SAM3UnifiedModel
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_model_patcher.py", line 14, in <module>
|
|
[05:56] [ComfyUI] from comfy.model_patcher import ModelPatcher
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/model_patcher.py", line 32, in <module>
|
|
[05:56] [ComfyUI] import comfy.hooks
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/hooks.py", line 14, in <module>
|
|
[05:56] [ComfyUI] import comfy.lora
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/lora.py", line 23, in <module>
|
|
[05:56] [ComfyUI] import comfy.model_base
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/model_base.py", line 61, in <module>
|
|
[05:56] [ComfyUI] import comfy.ldm.hidream_o1.model
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/ldm/hidream_o1/model.py", line 20, in <module>
|
|
[05:56] [ComfyUI] from comfy.text_encoders.qwen35 import Qwen35VisionModel
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/text_encoders/qwen35.py", line 10, in <module>
|
|
[05:56] [ComfyUI] from comfy import sd1_clip
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/sd1_clip.py", line 3, in <module>
|
|
[05:56] [ComfyUI] from transformers import CLIPTokenizer
|
|
[05:56] [ComfyUI] ModuleNotFoundError: No module named 'transformers'
|
|
[05:56] [ComfyUI]
|
|
[05:56] [ComfyUI] Traceback (most recent call last):
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 535, in execute
|
|
[05:56] [ComfyUI] output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
|
|
[05:56] [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 335, in get_output_data
|
|
[05:56] [ComfyUI] 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, v3_data=v3_data)
|
|
[05:56] [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 309, in _async_map_node_over_list
|
|
[05:56] [ComfyUI] await process_inputs(input_dict, i)
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 297, in process_inputs
|
|
[05:56] [ComfyUI] result = f(**inputs)
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/metadata.py", line 556, in proxy
|
|
[05:56] [ComfyUI] result = worker.call_method(
|
|
[05:56] [ComfyUI] module_name=mod,
|
|
[05:56] [ComfyUI] ...<4 lines>...
|
|
[05:56] [ComfyUI] timeout=600.0,
|
|
[05:56] [ComfyUI] )
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/workers/subprocess.py", line 674, in call_method
|
|
[05:56] [ComfyUI] raise WorkerError(
|
|
[05:56] [ComfyUI] ...<2 lines>...
|
|
[05:56] [ComfyUI] )
|
|
[05:56] [ComfyUI] comfy_env.isolation.workers.base.WorkerError: No module named 'transformers'
|
|
[05:56] [ComfyUI]
|
|
[05:56] [ComfyUI] Worker traceback:
|
|
[05:56] [ComfyUI] Traceback (most recent call last):
|
|
[05:56] [ComfyUI] File "/tmp/comfyui_pvenv_hqdlgfff/persistent_worker.py", line 1762, in main
|
|
[05:56] [ComfyUI] result = method(**inputs)
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED
|
|
[05:56] [ComfyUI] to_return = cls.execute(*args, **kwargs)
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/segmentation.py", line 86, in execute
|
|
[05:56] [ComfyUI] sam3_model = get_or_build_model(sam3_model_config)
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/_model_cache.py", line 31, in get_or_build_model
|
|
[05:56] [ComfyUI] from .sam3_model_patcher import SAM3UnifiedModel
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_model_patcher.py", line 14, in <module>
|
|
[05:56] [ComfyUI] from comfy.model_patcher import ModelPatcher
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/model_patcher.py", line 32, in <module>
|
|
[05:56] [ComfyUI] import comfy.hooks
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/hooks.py", line 14, in <module>
|
|
[05:56] [ComfyUI] import comfy.lora
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/lora.py", line 23, in <module>
|
|
[05:56] [ComfyUI] import comfy.model_base
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/model_base.py", line 61, in <module>
|
|
[05:56] [ComfyUI] import comfy.ldm.hidream_o1.model
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/ldm/hidream_o1/model.py", line 20, in <module>
|
|
[05:56] [ComfyUI] from comfy.text_encoders.qwen35 import Qwen35VisionModel
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/text_encoders/qwen35.py", line 10, in <module>
|
|
[05:56] [ComfyUI] from comfy import sd1_clip
|
|
[05:56] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/sd1_clip.py", line 3, in <module>
|
|
[05:56] [ComfyUI] from transformers import CLIPTokenizer
|
|
[05:56] [ComfyUI] ModuleNotFoundError: No module named 'transformers'
|
|
[05:56] [ComfyUI]
|
|
[05:56] [ComfyUI]
|
|
[05:56] [ComfyUI] Prompt executed in 0.19 seconds
|
|
[05:57] Capturing execution frames: scene_seg.json
|
|
[06:04] Frame 1 saved (frame_000.jpg, t=0.0s)
|
|
[06:04] Validating workflow...
|
|
[06:04] [ComfyUI] === /validate endpoint called ===
|
|
[06:04] [ComfyUI] Received JSON with keys: ['prompt']
|
|
[06:04] Queuing workflow for execution...
|
|
[06:04] [ComfyUI] Prompt has 10 nodes
|
|
[06:04] [ComfyUI] Node 1: LoadImage
|
|
[06:04] [ComfyUI] Inputs: {"image": "image.png"}
|
|
[06:04] [ComfyUI] Node 3: PreviewImage
|
|
[06:04] [ComfyUI] Inputs: {"images": ["27", 1]}
|
|
[06:04] [ComfyUI] Node 4: MaskPreview
|
|
[06:04] [ComfyUI] Inputs: {"mask": ["27", 0]}
|
|
[06:04] [ComfyUI] Node 12: LoadSAM3Model
|
|
[06:04] [ComfyUI] Inputs: {"precision": "fp32", "compile": false}
|
|
[06:04] [ComfyUI] Node 20: SAM3MultiRegionCollector
|
|
[06:04] [ComfyUI] Inputs: {"multi_prompts_store": "[{\"positive_points\":[{\"x\":5052.74953932266,\"y\":2847.0600693869637},{\"x\":4932.510591392486,\"y\":2953.9413227753366},{\"x\":4718.752461738845,\"y\":2967.301479448883},{
|
|
[06:04] [ComfyUI] Node 22: MultibandFromBatch
|
|
[06:04] [ComfyUI] Inputs: {"images": ["1", 0], "masks": ["27", 0]}
|
|
[06:04] [ComfyUI] Node 23: MultibandSave
|
|
[06:04] [ComfyUI] Inputs: {"file_path": "output/multiband", "format": "npz", "multiband": ["26", 0]}
|
|
[06:04] [ComfyUI] Node 24: MultibandPreview
|
|
[06:04] [ComfyUI] Inputs: {"channel_index": 0, "multiband": ["26", 0]}
|
|
[06:04] [ComfyUI] Node 26: MultibandResize
|
|
[06:04] [ComfyUI] Inputs: {"upscale_method": "nearest-exact", "width": 900, "height": 600, "crop": "center", "multiband": ["22", 0]}
|
|
[06:04] [ComfyUI] Node 27: SAM3MultipromptSegmentation
|
|
[06:04] [ComfyUI] Inputs: {"refinement_iterations": 0, "use_multimask": false, "sam3_model_config": ["12", 0], "image": ["1", 0], "multi_prompts": ["20", 0]}
|
|
[06:04] [ComfyUI] Generated prompt_id: 68f0cf31-04e3-401a-b9fa-b3d894e2479e
|
|
[06:04] [ComfyUI] Calling execution.validate_prompt()...
|
|
[06:04] [ComfyUI] Validation result: valid=True
|
|
[06:04] [ComfyUI] === Validation PASSED ===
|
|
[06:04] [ComfyUI] got prompt
|
|
[06:05] [ComfyUI] [comfy-env] Running SAM3MultiRegionCollector: multi_prompts_store: '[{"positive_points":[{"x":5052.74953932266,"y":2847.0600..., image: torch.float32 [1,4480,6720,3] cpu
|
|
[06:05] [ComfyUI] [VRAM] Before SAM3MultiRegionCollector: 15479 / 24124 MB
|
|
[06:05] [ComfyUI] [SubprocessWorker] call_method: nodes.sam3_interactive.SAM3MultiRegionCollector.EXECUTE_NORMALIZED
|
|
[06:05] [ComfyUI] [SubprocessWorker] acquired lock, ensuring started...
|
|
[06:05] [ComfyUI] [ComfyUI-SAM3] Health check: ping (timeout=5.0s)...
|
|
[06:05] [ComfyUI] [ComfyUI-SAM3] Health check: ok
|
|
[06:05] [ComfyUI] [SubprocessWorker] worker started/confirmed
|
|
[06:05] [ComfyUI] [comfy-env] PRE-SERIALIZE 'image' shape: torch.Size([1, 4480, 6720, 3])
|
|
[06:05] [ComfyUI] [SubprocessWorker] serializing kwargs to shm...
|
|
[06:05] [ComfyUI] [SubprocessWorker] created 0 shm blocks
|
|
[06:05] [ComfyUI] [SubprocessWorker] sending request via socket...
|
|
[06:05] [ComfyUI] [SubprocessWorker] call_id=6 sending call_method
|
|
[06:05] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] _from_shm got dict with keys: ['__type__', 'strategy', 'parent_pid', 'fd', 'storage_size']
|
|
[06:05] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] DESERIALIZE TensorRef: tensor_size=[1, 4480, 6720, 3]
|
|
[06:05] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] DESERIALIZED tensor shape: torch.Size([1, 4480, 6720, 3])
|
|
[06:05] [ComfyUI] [SubprocessWorker] got response: ok
|
|
[06:05] [ComfyUI] [comfy-env] SAM3MultiRegionCollector done (0.85s): result: NodeOutput
|
|
[06:05] [ComfyUI] [VRAM] After SAM3MultiRegionCollector: 15479 / 24124 MB
|
|
[06:05] [ComfyUI] [comfy-env] Running LoadSAM3Model: precision: 'fp32', compile: False
|
|
[06:05] [ComfyUI] [VRAM] Before LoadSAM3Model: 15479 / 24124 MB
|
|
[06:05] [ComfyUI] [SubprocessWorker] call_method: nodes.load_model.LoadSAM3Model.EXECUTE_NORMALIZED
|
|
[06:05] [ComfyUI] [SubprocessWorker] acquired lock, ensuring started...
|
|
[06:05] [ComfyUI] [ComfyUI-SAM3] Health check: ping (timeout=5.0s)...
|
|
[06:05] [ComfyUI] [ComfyUI-SAM3] Health check: ok
|
|
[06:05] [ComfyUI] [SubprocessWorker] worker started/confirmed
|
|
[06:05] [ComfyUI] [SubprocessWorker] serializing kwargs to shm...
|
|
[06:05] [ComfyUI] [SubprocessWorker] created 0 shm blocks
|
|
[06:05] [ComfyUI] [SubprocessWorker] sending request via socket...
|
|
[06:06] [ComfyUI] [SubprocessWorker] call_id=7 sending call_method
|
|
[06:06] [ComfyUI] [SubprocessWorker] got response: ok
|
|
[06:06] [ComfyUI] [comfy-env] LoadSAM3Model done (0.10s): result: NodeOutput
|
|
[06:06] [ComfyUI] [VRAM] After LoadSAM3Model: 15479 / 24124 MB
|
|
[06:06] [ComfyUI] [comfy-env] Running SAM3MultipromptSegmentation: refinement_iterations: 0, use_multimask: False, sam3_model_config: dict, image: torch.float32 [1,4480,6720,3] cpu, multi_prompts: list[7]
|
|
[06:06] [ComfyUI] [VRAM] Before SAM3MultipromptSegmentation: 15479 / 24124 MB
|
|
[06:06] [ComfyUI] [SubprocessWorker] call_method: nodes.segmentation.SAM3MultipromptSegmentation.EXECUTE_NORMALIZED
|
|
[06:06] [ComfyUI] [SubprocessWorker] acquired lock, ensuring started...
|
|
[06:06] [ComfyUI] [ComfyUI-SAM3] Health check: ping (timeout=5.0s)...
|
|
[06:06] [ComfyUI] [ComfyUI-SAM3] Health check: ok
|
|
[06:06] [ComfyUI] [SubprocessWorker] worker started/confirmed
|
|
[06:06] [ComfyUI] [comfy-env] PRE-SERIALIZE 'image' shape: torch.Size([1, 4480, 6720, 3])
|
|
[06:06] [ComfyUI] [SubprocessWorker] serializing kwargs to shm...
|
|
[06:06] [ComfyUI] [SubprocessWorker] created 0 shm blocks
|
|
[06:06] [ComfyUI] [SubprocessWorker] sending request via socket...
|
|
[06:06] [ComfyUI] [SubprocessWorker] call_id=8 sending call_method
|
|
[06:06] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] _from_shm got dict with keys: ['__type__', 'strategy', 'parent_pid', 'fd', 'storage_size']
|
|
[06:06] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] DESERIALIZE TensorRef: tensor_size=[1, 4480, 6720, 3]
|
|
[06:06] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] DESERIALIZED tensor shape: torch.Size([1, 4480, 6720, 3])
|
|
[06:06] [ComfyUI] [SubprocessWorker] got response: error
|
|
[06:06] [ComfyUI] !!! Exception during processing !!! No module named 'transformers'
|
|
[06:06] [ComfyUI]
|
|
[06:06] [ComfyUI] Worker traceback:
|
|
[06:06] [ComfyUI] Traceback (most recent call last):
|
|
[06:06] [ComfyUI] File "/tmp/comfyui_pvenv_hqdlgfff/persistent_worker.py", line 1762, in main
|
|
[06:06] [ComfyUI] result = method(**inputs)
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED
|
|
[06:06] [ComfyUI] to_return = cls.execute(*args, **kwargs)
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/segmentation.py", line 695, in execute
|
|
[06:06] [ComfyUI] sam3_model = get_or_build_model(sam3_model_config)
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/_model_cache.py", line 31, in get_or_build_model
|
|
[06:06] [ComfyUI] from .sam3_model_patcher import SAM3UnifiedModel
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_model_patcher.py", line 14, in <module>
|
|
[06:06] [ComfyUI] from comfy.model_patcher import ModelPatcher
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/model_patcher.py", line 32, in <module>
|
|
[06:06] [ComfyUI] import comfy.hooks
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/hooks.py", line 14, in <module>
|
|
[06:06] [ComfyUI] import comfy.lora
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/lora.py", line 23, in <module>
|
|
[06:06] [ComfyUI] import comfy.model_base
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/model_base.py", line 61, in <module>
|
|
[06:06] [ComfyUI] import comfy.ldm.hidream_o1.model
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/ldm/hidream_o1/model.py", line 20, in <module>
|
|
[06:06] [ComfyUI] from comfy.text_encoders.qwen35 import Qwen35VisionModel
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/text_encoders/qwen35.py", line 10, in <module>
|
|
[06:06] [ComfyUI] from comfy import sd1_clip
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/sd1_clip.py", line 3, in <module>
|
|
[06:06] [ComfyUI] from transformers import CLIPTokenizer
|
|
[06:06] [ComfyUI] ModuleNotFoundError: No module named 'transformers'
|
|
[06:06] [ComfyUI]
|
|
[06:06] [ComfyUI] Traceback (most recent call last):
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 535, in execute
|
|
[06:06] [ComfyUI] output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
|
|
[06:06] [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 335, in get_output_data
|
|
[06:06] [ComfyUI] 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, v3_data=v3_data)
|
|
[06:06] [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 309, in _async_map_node_over_list
|
|
[06:06] [ComfyUI] await process_inputs(input_dict, i)
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 297, in process_inputs
|
|
[06:06] [ComfyUI] result = f(**inputs)
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/metadata.py", line 556, in proxy
|
|
[06:06] [ComfyUI] result = worker.call_method(
|
|
[06:06] [ComfyUI] module_name=mod,
|
|
[06:06] [ComfyUI] ...<4 lines>...
|
|
[06:06] [ComfyUI] timeout=600.0,
|
|
[06:06] [ComfyUI] )
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/workers/subprocess.py", line 674, in call_method
|
|
[06:06] [ComfyUI] raise WorkerError(
|
|
[06:06] [ComfyUI] ...<2 lines>...
|
|
[06:06] [ComfyUI] )
|
|
[06:06] [ComfyUI] comfy_env.isolation.workers.base.WorkerError: No module named 'transformers'
|
|
[06:06] [ComfyUI]
|
|
[06:06] [ComfyUI] Worker traceback:
|
|
[06:06] [ComfyUI] Traceback (most recent call last):
|
|
[06:06] [ComfyUI] File "/tmp/comfyui_pvenv_hqdlgfff/persistent_worker.py", line 1762, in main
|
|
[06:06] [ComfyUI] result = method(**inputs)
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED
|
|
[06:06] [ComfyUI] to_return = cls.execute(*args, **kwargs)
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/segmentation.py", line 695, in execute
|
|
[06:06] [ComfyUI] sam3_model = get_or_build_model(sam3_model_config)
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/_model_cache.py", line 31, in get_or_build_model
|
|
[06:06] [ComfyUI] from .sam3_model_patcher import SAM3UnifiedModel
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_model_patcher.py", line 14, in <module>
|
|
[06:06] [ComfyUI] from comfy.model_patcher import ModelPatcher
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/model_patcher.py", line 32, in <module>
|
|
[06:06] [ComfyUI] import comfy.hooks
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/hooks.py", line 14, in <module>
|
|
[06:06] [ComfyUI] import comfy.lora
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/lora.py", line 23, in <module>
|
|
[06:06] [ComfyUI] import comfy.model_base
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/model_base.py", line 61, in <module>
|
|
[06:06] [ComfyUI] import comfy.ldm.hidream_o1.model
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/ldm/hidream_o1/model.py", line 20, in <module>
|
|
[06:06] [ComfyUI] from comfy.text_encoders.qwen35 import Qwen35VisionModel
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/text_encoders/qwen35.py", line 10, in <module>
|
|
[06:06] [ComfyUI] from comfy import sd1_clip
|
|
[06:06] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/sd1_clip.py", line 3, in <module>
|
|
[06:06] [ComfyUI] from transformers import CLIPTokenizer
|
|
[06:06] [ComfyUI] ModuleNotFoundError: No module named 'transformers'
|
|
[06:06] [ComfyUI]
|
|
[06:06] [ComfyUI]
|
|
[06:06] [ComfyUI] Prompt executed in 1.89 seconds
|
|
[06:06] Node executed (1 total), capturing...
|
|
[06:07] Frame 2 saved (frame_001.jpg, t=3.0s)
|
|
[06:07] [capture-node] freeze=234ms shot=601ms unfreeze=0ms saved=True
|
|
[06:07] Execution complete (t=3.0s)
|
|
[06:07] Execution error: {'prompt_id': '34e62504-9433-49d6-9c06-b532d8c12b1e', 'node_id': '27', 'node_type': 'SAM3MultipromptSegmentation', 'executed': ['1', '20', '12'], 'exception_message': 'No module named \'transformers\'\n\nWorker traceback:\nTraceback (most recent call last):\n File "/tmp/comfyui_pvenv_hqdlgfff/persistent_worker.py", line 1762, in main\n result = method(**inputs)\n File "/workspaces/SAM3-0804/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/segmentation.py", line 695, in execute\n sam3_model = get_or_build_model(sam3_model_config)\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/_model_cache.py", line 31, in get_or_build_model\n from .sam3_model_patcher import SAM3UnifiedModel\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_model_patcher.py", line 14, in <module>\n from comfy.model_patcher import ModelPatcher\n File "/workspaces/SAM3-0804/ComfyUI/comfy/model_patcher.py", line 32, in <module>\n import comfy.hooks\n File "/workspaces/SAM3-0804/ComfyUI/comfy/hooks.py", line 14, in <module>\n import comfy.lora\n File "/workspaces/SAM3-0804/ComfyUI/comfy/lora.py", line 23, in <module>\n import comfy.model_base\n File "/workspaces/SAM3-0804/ComfyUI/comfy/model_base.py", line 61, in <module>\n import comfy.ldm.hidream_o1.model\n File "/workspaces/SAM3-0804/ComfyUI/comfy/ldm/hidream_o1/model.py", line 20, in <module>\n from comfy.text_encoders.qwen35 import Qwen35VisionModel\n File "/workspaces/SAM3-0804/ComfyUI/comfy/text_encoders/qwen35.py", line 10, in <module>\n from comfy import sd1_clip\n File "/workspaces/SAM3-0804/ComfyUI/comfy/sd1_clip.py", line 3, in <module>\n from transformers import CLIPTokenizer\nModuleNotFoundError: No module named \'transformers\'\n\n', 'exception_type': 'comfy_env.isolation.workers.base.WorkerError', 'traceback': [' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 535, in execute\n output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 335, in get_output_data\n 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, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 297, in process_inputs\n result = f(**inputs)\n', ' File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/metadata.py", line 556, in proxy\n result = worker.call_method(\n module_name=mod,\n ...<4 lines>...\n timeout=600.0,\n )\n', ' File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/workers/subprocess.py", line 674, in call_method\n raise WorkerError(\n ...<2 lines>...\n )\n'], 'current_inputs': {'refinement_iterations': [0], 'use_multimask': [False], 'sam3_model_config': ["{'checkpoint_path': '/workspaces/SAM3-0804/ComfyUI/models/sam3/sam3.safetensors', 'bpe_path': '/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3/bpe_simple_vocab_16e6.txt.gz', 'precision': 'fp32', 'dtype': 'fp32', 'compile': False}"], 'image': ['tensor([[[[0.9176, 0.8392, 0.7333],\n [0.9294, 0.8471, 0.7412],\n [0.9176, 0.8353, 0.7294],\n ...,\n [0.8078, 0.6627, 0.4902],\n [0.8039, 0.6588, 0.4863],\n [0.8157, 0.6706, 0.4980]],\n\n [[0.9137, 0.8353, 0.7294],\n [0.9216, 0.8392, 0.7333],\n [0.9176, 0.8353, 0.7294],\n ...,\n [0.8039, 0.6588, 0.4863],\n [0.8039, 0.6588, 0.4863],\n [0.8118, 0.6667, 0.4941]],\n\n [[0.9137, 0.8314, 0.7255],\n [0.9137, 0.8314, 0.7255],\n [0.9176, 0.8353, 0.7294],\n ...,\n [0.8078, 0.6627, 0.4902],\n [0.8118, 0.6667, 0.4941],\n [0.8039, 0.6588, 0.4863]],\n\n ...,\n\n [[0.8667, 0.6784, 0.4902],\n [0.8706, 0.6824, 0.4941],\n [0.8706, 0.6824, 0.4941],\n ...,\n [0.6471, 0.4431, 0.2549],\n [0.6392, 0.4353, 0.2471],\n [0.6471, 0.4431, 0.2549]],\n\n [[0.8588, 0.6706, 0.4824],\n [0.8667, 0.6784, 0.4902],\n [0.8706, 0.6824, 0.4941],\n ...,\n [0.6431, 0.4392, 0.2510],\n [0.6471, 0.4431, 0.2549],\n [0.6549, 0.4510, 0.2627]],\n\n [[0.8627, 0.6745, 0.4863],\n [0.8667, 0.6784, 0.4902],\n [0.8784, 0.6902, 0.5020],\n ...,\n [0.6353, 0.4314, 0.2431],\n [0.6431, 0.4392, 0.2510],\n [0.6392, 0.4353, 0.2471]]]])'], 'multi_prompts': ["[{'id': 0, 'positive_points': {'points': [[0.7518972528753959, 0.6355044797738758], [0.7340045522905485, 0.6593619024052091], [0.7021953068063758, 0.6623440802341257], [0.6902668397498108, 0.677254969378709], [0.668397983479442, 0.6742727915497924], [0.7180999295484621, 0.6176114128003758], [0.7180999295484621, 0.572878745366626], [0.7439449415043526, 0.5311282557617927], [0.7240641630767446, 0.5609500340509593], [0.6982191511208541, 0.5609500340509593]], 'labels': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1]}, 'negative_points': {'points': [], 'labels': []}, 'positive_boxes': {'boxes': [[0.7141237738629407, 0.6056827014847093, 0.15109391604982114, 0.19085938105066613]], 'labels': [True]}, 'negative_boxes': {'boxes': [], 'labels': []}}, {'id': 1, 'positive_points': {'points': [[0.6513952517072837, 0.6001522443905642], [0.6354008929467748, 0.6921217188777309], [0.6433980723270292, 0.8680633222444846], [0.8859791801947458, 0.884058013459644], [0.9046392654153393, 0.6041509171943541], [0.9046392654153393, 0.5441708251375063], [0.8060073863922018, 0.5201787883147672]], 'labels': [1, 1, 1, 1, 1, 1, 1]}, 'negative_points': {'points': [[0.7180384132094035, 0.5921548987829846], [0.7180384132094035, 0.5921548987829846], [0.7393642248900819, 0.6601323364474121], [0.7393642248900819, 0.6601323364474121], [0.7446956778102515, 0.6841243732701512], [0.7446956778102515, 0.6841243732701512], [0.670055336927877, 0.6721283548587816], [0.670055336927877, 0.6721283548587816], [0.6913811486085556, 0.608149589998144], [0.6913811486085556, 0.608149589998144], [0.6887154221484707, 0.552168170745086], [0.6887154221484707, 0.552168170745086], [0.7100412338291491, 0.552168170745086], [0.7100412338291491, 0.552168170745086], [0.7366984984299972, 0.552168170745086], [0.7366984984299972, 0.552168170745086]], 'labels': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}, 'positive_boxes': {'boxes': [[0.7713529424110994, 0.7141144192985751, 0.31455572229000606, 0.4198606443979348]], 'labels': [True]}, 'negative_boxes': {'boxes': [], 'labels': []}}, {'id': 2, 'positive_points': {'points': [[0.5279788816577594, 0.8586378093779201], [0.5097671062510242, 0.6517998210195123], [0.4733435554375539, 0.64789721746558], [0.37968299620291596, 0.64789721746558], [0.39529308940868896, 0.8313195845003946], [0.5565973858683432, 0.8586378093779201], [0.569605796873154, 0.6439946139116478]], 'labels': [1, 1, 1, 1, 1, 1, 1]}, 'negative_points': {'points': [[0.4863519664423647, 0.7415597027599534], [0.4863519664423647, 0.7415597027599534], [0.4837502842414026, 0.8508326022700556], [0.4837502842414026, 0.8508326022700556], [0.4473267334279323, 0.8664430164857846], [0.4473267334279323, 0.8664430164857846], [0.43431832242312146, 0.628384199695919], [0.43431832242312146, 0.628384199695919], [0.5123687884519864, 0.5893581641565967], [0.5123687884519864, 0.5893581641565967], [0.5019620596481378, 0.6361894068037834], [0.5019620596481378, 0.6361894068037834], [0.4291149580211971, 0.6400920103577157], [0.4291149580211971, 0.6400920103577157]], 'labels': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}, 'positive_boxes': {'boxes': [[0.47724607873899716, 0.7591214187526485, 0.21593962267985972, 0.24586402389773]], 'labels': [True]}, 'negative_boxes': {'boxes': [], 'labels': []}}, {'id': 3, 'positive_points': {'points': [[0.43642532993691785, 0.595717523200948]], 'labels': [1]}, 'negative_points': {'points': [], 'labels': []}, 'positive_boxes': {'boxes': [[0.4324084720788661, 0.6137937552745099, 0.06426972572882772, 0.07230492829424773]], 'labels': [True]}, 'negative_boxes': {'boxes': [], 'labels': []}}, {'id': 4, 'positive_points': {'points': [[0.5006950556657457, 0.595717523200948]], 'labels': [1]}, 'negative_points': {'points': [], 'labels': []}, 'positive_boxes': {'boxes': [[0.5027034845947715, 0.5716158804361987, 0.09238773073518991, 0.1687114993532448]], 'labels': [True]}, 'negative_boxes': {'boxes': [], 'labels': []}}, {'id': 5, 'positive_points': {'points': [[0.9264819886192297, 0.384828149009392], [0.7939256793035224, 0.37880273831820466], [0.7939256793035224, 0.11368466790596292], [0.9304988464772813, 0.10765925721477561], [0.874262836464557, 0.22214206034733455], [0.8501616893162467, 0.22214206034733455], [0.846144831458195, 0.31854863140633155], [0.8983639836128675, 0.3004723993327696], [0.8943471257548158, 0.20406582827377262], [0.8943471257548158, 0.12573548928833755], [0.8421279736001431, 0.1558625427442741], [0.830077400025988, 0.28842157795039497], [0.8220436843098845, 0.33059945278870617]], 'labels': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]}, 'negative_points': {'points': [], 'labels': []}, 'positive_boxes': {'boxes': [[0.8662291207484536, 0.25829452449445844, 0.18477546147037982, 0.31332135594174026]], 'labels': [True]}, 'negative_boxes': {'boxes': [], 'labels': []}}, {'id': 6, 'positive_points': {'points': [[0.7045792285036274, 0.9568116711293354], [0.6789425589101554, 0.9568116711293354], [0.6569682706871793, 0.9348369322210276], [0.6716177961691634, 0.9293432474939506], [0.6569682706871793, 0.9403306169481045], [0.7082416098741234, 0.9403306169481045]], 'labels': [1, 1, 1, 1, 1, 1]}, 'negative_points': {'points': [], 'labels': []}, 'positive_boxes': {'boxes': [[0.6789425589101554, 0.943077459311643, 0.10254667837388842, 0.07141790145200044]], 'labels': [True]}, 'negative_boxes': {'boxes': [], 'labels': []}}]"]}, 'current_outputs': ['24', '27', '22', '20', '3', '1', '12', '23', '26', '4'], 'timestamp': 1778659841915}
|
|
[06:08] Capturing execution frames: scene_seg_interactive.json
|
|
[06:15] Frame 1 saved (frame_000.jpg, t=0.0s)
|
|
[06:15] Validating workflow...
|
|
[06:15] [ComfyUI] === /validate endpoint called ===
|
|
[06:15] [ComfyUI] Received JSON with keys: ['prompt']
|
|
[06:15] Queuing workflow for execution...
|
|
[06:15] [ComfyUI] Prompt has 4 nodes
|
|
[06:15] [ComfyUI] Node 1: LoadImage
|
|
[06:15] [ComfyUI] Inputs: {"image": "image.png"}
|
|
[06:15] [ComfyUI] Node 4: MaskPreview
|
|
[06:15] [ComfyUI] Inputs: {"mask": ["26", 0]}
|
|
[06:15] [ComfyUI] Node 12: LoadSAM3Model
|
|
[06:15] [ComfyUI] Inputs: {"precision": "auto", "compile": false}
|
|
[06:15] [ComfyUI] Node 26: SAM3InteractiveCollector
|
|
[06:15] [ComfyUI] Inputs: {"multi_prompts_store": "[{\"positive_points\":[{\"x\":3348.288109906738,\"y\":2452.2208696844737}],\"negative_points\":[],\"positive_boxes\":[],\"negative_boxes\":[],\"name\":\"Prompt 1\"},{\"positiv
|
|
[06:15] [ComfyUI] Generated prompt_id: d1ba1602-4216-42a4-90fd-f7187a6d5294
|
|
[06:15] [ComfyUI] Calling execution.validate_prompt()...
|
|
[06:15] [ComfyUI] Validation result: valid=True
|
|
[06:15] [ComfyUI] === Validation PASSED ===
|
|
[06:15] [ComfyUI] got prompt
|
|
[06:16] [ComfyUI] [comfy-env] Running LoadSAM3Model: precision: 'auto', compile: False
|
|
[06:16] [ComfyUI] [VRAM] Before LoadSAM3Model: 15479 / 24124 MB
|
|
[06:16] [ComfyUI] [ComfyUI-SAM3] python: /root/.ce/.pixi/envs/sam3-nodes/bin/python
|
|
[06:16] [ComfyUI] [SubprocessWorker] call_method: nodes.load_model.LoadSAM3Model.EXECUTE_NORMALIZED
|
|
[06:16] [ComfyUI] [ComfyUI-SAM3] sys_path sent to worker: ['/workspaces/SAM3-0804/ComfyUI', '/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3', '/root/.ce/.pixi/envs/sam3-nodes/lib/python3.13/site-packages', '/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3']
|
|
[06:16] [ComfyUI] [SubprocessWorker] acquired lock, ensuring started...
|
|
[06:16] [ComfyUI] [SubprocessWorker] is_pixi=True, python=/root/.ce/.pixi/envs/sam3-nodes/bin/python
|
|
[06:16] [ComfyUI] [ComfyUI-SAM3] Health check: ping (timeout=5.0s)...
|
|
[06:16] [ComfyUI] [SubprocessWorker] launching cmd=['/root/.pixi/bin/pixi', 'run', '--as-is', '--manifest-path', '/root/.ce/pixi.toml', '-e', 'sam3-nodes', 'python', '/tmp/comfyui_pvenv_hqdlgfff/persistent_worker.py', 'abstract://comfy_worker_5976d14f532b']...
|
|
[06:16] [ComfyUI] [ComfyUI-SAM3] Health check: failed
|
|
[06:16] [ComfyUI] [SubprocessWorker] socket_addr=abstract://comfy_worker_5976d14f532b (abstract, no filesystem path)
|
|
[06:16] [ComfyUI] [ComfyUI-SAM3] Socket unhealthy, restarting worker...
|
|
[06:18] Frame 2 saved (frame_001.jpg, t=2.4s)
|
|
[06:18] [capture-periodic] freeze=3ms shot=212ms unfreeze=5ms saved=True
|
|
[06:19] [ComfyUI] [worker:ComfyUI-SAM3] WARNING: WARNING: You need pytorch with cu130 or higher to use optimized CUDA operations.
|
|
[06:19] [ComfyUI] [SubprocessWorker] worker started/confirmed
|
|
[06:19] [ComfyUI] [SubprocessWorker] serializing kwargs to shm...
|
|
[06:19] [ComfyUI] [SubprocessWorker] created 0 shm blocks
|
|
[06:19] [ComfyUI] [SubprocessWorker] sending request via socket...
|
|
[06:19] [ComfyUI] [SubprocessWorker] call_id=9 sending call_method
|
|
[06:19] [ComfyUI] [SubprocessWorker] got response: ok
|
|
[06:19] [ComfyUI] [comfy-env] LoadSAM3Model done (3.32s): result: NodeOutput
|
|
[06:19] [ComfyUI] [VRAM] After LoadSAM3Model: 15479 / 24124 MB
|
|
[06:19] [ComfyUI] [comfy-env] Running SAM3InteractiveCollector: multi_prompts_store: '[{"positive_points":[{"x":3348.288109906738,"y":2452.220..., sam3_model_config: dict, image: torch.float32 [1,4480,6720,3] cpu, unique_id: '26'
|
|
[06:19] [ComfyUI] [VRAM] Before SAM3InteractiveCollector: 15479 / 24124 MB
|
|
[06:19] [ComfyUI] [SubprocessWorker] call_method: nodes.sam3_interactive.SAM3InteractiveCollector.EXECUTE_NORMALIZED
|
|
[06:19] [ComfyUI] [SubprocessWorker] acquired lock, ensuring started...
|
|
[06:19] [ComfyUI] [ComfyUI-SAM3] Health check: ping (timeout=5.0s)...
|
|
[06:19] [ComfyUI] [ComfyUI-SAM3] Health check: ok
|
|
[06:19] [ComfyUI] [SubprocessWorker] worker started/confirmed
|
|
[06:19] [ComfyUI] [comfy-env] PRE-SERIALIZE 'image' shape: torch.Size([1, 4480, 6720, 3])
|
|
[06:19] [ComfyUI] [SubprocessWorker] serializing kwargs to shm...
|
|
[06:19] [ComfyUI] [SubprocessWorker] created 0 shm blocks
|
|
[06:19] [ComfyUI] [SubprocessWorker] sending request via socket...
|
|
[06:19] [ComfyUI] [SubprocessWorker] call_id=10 sending call_method
|
|
[06:19] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] _from_shm got dict with keys: ['__type__', 'strategy', 'parent_pid', 'fd', 'storage_size']
|
|
[06:19] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] DESERIALIZE TensorRef: tensor_size=[1, 4480, 6720, 3]
|
|
[06:19] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] DESERIALIZED tensor shape: torch.Size([1, 4480, 6720, 3])
|
|
[06:20] Frame 3 saved (frame_002.jpg, t=4.8s)
|
|
[06:20] [capture-periodic] freeze=3ms shot=225ms unfreeze=5ms saved=True
|
|
[06:20] [ComfyUI] [SubprocessWorker] got response: error
|
|
[06:20] [ComfyUI] !!! Exception during processing !!! No module named 'transformers'
|
|
[06:20] [ComfyUI]
|
|
[06:20] [ComfyUI] Worker traceback:
|
|
[06:20] [ComfyUI] Traceback (most recent call last):
|
|
[06:20] [ComfyUI] File "/tmp/comfyui_pvenv_hqdlgfff/persistent_worker.py", line 1762, in main
|
|
[06:20] [ComfyUI] result = method(**inputs)
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED
|
|
[06:20] [ComfyUI] to_return = cls.execute(*args, **kwargs)
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_interactive.py", line 667, in execute
|
|
[06:20] [ComfyUI] sam3_model = get_or_build_model(sam3_model_config)
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/_model_cache.py", line 31, in get_or_build_model
|
|
[06:20] [ComfyUI] from .sam3_model_patcher import SAM3UnifiedModel
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_model_patcher.py", line 14, in <module>
|
|
[06:20] [ComfyUI] from comfy.model_patcher import ModelPatcher
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/model_patcher.py", line 32, in <module>
|
|
[06:20] [ComfyUI] import comfy.hooks
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/hooks.py", line 14, in <module>
|
|
[06:20] [ComfyUI] import comfy.lora
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/lora.py", line 23, in <module>
|
|
[06:20] Execution complete (t=5.5s)
|
|
[06:20] [ComfyUI] import comfy.model_base
|
|
[06:20] Execution error: {'prompt_id': '943f5ed0-dc0e-4d43-912b-19d1973f5fa8', 'node_id': '26', 'node_type': 'SAM3InteractiveCollector', 'executed': ['1', '12'], 'exception_message': 'No module named \'transformers\'\n\nWorker traceback:\nTraceback (most recent call last):\n File "/tmp/comfyui_pvenv_hqdlgfff/persistent_worker.py", line 1762, in main\n result = method(**inputs)\n File "/workspaces/SAM3-0804/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_interactive.py", line 667, in execute\n sam3_model = get_or_build_model(sam3_model_config)\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/_model_cache.py", line 31, in get_or_build_model\n from .sam3_model_patcher import SAM3UnifiedModel\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_model_patcher.py", line 14, in <module>\n from comfy.model_patcher import ModelPatcher\n File "/workspaces/SAM3-0804/ComfyUI/comfy/model_patcher.py", line 32, in <module>\n import comfy.hooks\n File "/workspaces/SAM3-0804/ComfyUI/comfy/hooks.py", line 14, in <module>\n import comfy.lora\n File "/workspaces/SAM3-0804/ComfyUI/comfy/lora.py", line 23, in <module>\n import comfy.model_base\n File "/workspaces/SAM3-0804/ComfyUI/comfy/model_base.py", line 61, in <module>\n import comfy.ldm.hidream_o1.model\n File "/workspaces/SAM3-0804/ComfyUI/comfy/ldm/hidream_o1/model.py", line 20, in <module>\n from comfy.text_encoders.qwen35 import Qwen35VisionModel\n File "/workspaces/SAM3-0804/ComfyUI/comfy/text_encoders/qwen35.py", line 10, in <module>\n from comfy import sd1_clip\n File "/workspaces/SAM3-0804/ComfyUI/comfy/sd1_clip.py", line 3, in <module>\n from transformers import CLIPTokenizer\nModuleNotFoundError: No module named \'transformers\'\n\n', 'exception_type': 'comfy_env.isolation.workers.base.WorkerError', 'traceback': [' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 535, in execute\n output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 335, in get_output_data\n 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, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 297, in process_inputs\n result = f(**inputs)\n', ' File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/metadata.py", line 556, in proxy\n result = worker.call_method(\n module_name=mod,\n ...<4 lines>...\n timeout=600.0,\n )\n', ' File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/workers/subprocess.py", line 674, in call_method\n raise WorkerError(\n ...<2 lines>...\n )\n'], 'current_inputs': {'multi_prompts_store': ['[{"positive_points":[{"x":3348.288109906738,"y":2452.2208696844737}],"negative_points":[],"positive_boxes":[],"negative_boxes":[],"name":"Prompt 1"},{"positive_points":[],"negative_points":[],"positive_boxes":[],"negative_boxes":[],"name":"Prompt 2"}]'], 'sam3_model_config': ["{'checkpoint_path': '/workspaces/SAM3-0804/ComfyUI/models/sam3/sam3.safetensors', 'bpe_path': '/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3/bpe_simple_vocab_16e6.txt.gz', 'precision': 'auto', 'dtype': 'bf16', 'compile': False}"], 'image': ['tensor([[[[0.9176, 0.8392, 0.7333],\n [0.9294, 0.8471, 0.7412],\n [0.9176, 0.8353, 0.7294],\n ...,\n [0.8078, 0.6627, 0.4902],\n [0.8039, 0.6588, 0.4863],\n [0.8157, 0.6706, 0.4980]],\n\n [[0.9137, 0.8353, 0.7294],\n [0.9216, 0.8392, 0.7333],\n [0.9176, 0.8353, 0.7294],\n ...,\n [0.8039, 0.6588, 0.4863],\n [0.8039, 0.6588, 0.4863],\n [0.8118, 0.6667, 0.4941]],\n\n [[0.9137, 0.8314, 0.7255],\n [0.9137, 0.8314, 0.7255],\n [0.9176, 0.8353, 0.7294],\n ...,\n [0.8078, 0.6627, 0.4902],\n [0.8118, 0.6667, 0.4941],\n [0.8039, 0.6588, 0.4863]],\n\n ...,\n\n [[0.8667, 0.6784, 0.4902],\n [0.8706, 0.6824, 0.4941],\n [0.8706, 0.6824, 0.4941],\n ...,\n [0.6471, 0.4431, 0.2549],\n [0.6392, 0.4353, 0.2471],\n [0.6471, 0.4431, 0.2549]],\n\n [[0.8588, 0.6706, 0.4824],\n [0.8667, 0.6784, 0.4902],\n [0.8706, 0.6824, 0.4941],\n ...,\n [0.6431, 0.4392, 0.2510],\n [0.6471, 0.4431, 0.2549],\n [0.6549, 0.4510, 0.2627]],\n\n [[0.8627, 0.6745, 0.4863],\n [0.8667, 0.6784, 0.4902],\n [0.8784, 0.6902, 0.5020],\n ...,\n [0.6353, 0.4314, 0.2431],\n [0.6431, 0.4392, 0.2510],\n [0.6392, 0.4353, 0.2471]]]])'], 'unique_id': ['26'], 'prompt': ['{\'1\': {\'inputs\': {\'image\': \'image.png\'}, \'class_type\': \'LoadImage\', \'_meta\': {\'title\': \'Load Image\'}, \'is_changed\': [\'72785412200dcb9f5c6bc4eaa3018172293f67836627708e6bce78150109af15\']}, \'4\': {\'inputs\': {\'mask\': [\'26\', 0]}, \'class_type\': \'MaskPreview\', \'_meta\': {\'title\': \'Preview Mask\'}}, \'12\': {\'inputs\': {\'precision\': \'auto\', \'compile\': False}, \'class_type\': \'LoadSAM3Model\', \'_meta\': {\'title\': \'(Down)Load SAM3 Model\'}}, \'26\': {\'inputs\': {\'multi_prompts_store\': \'[{"positive_points":[{"x":3348.288109906738,"y":2452.2208696844737}],"negative_points":[],"positive_boxes":[],"negative_boxes":[],"name":"Prompt 1"},{"positive_points":[],"negative_points":[],"positive_boxes":[],"negative_boxes":[],"name":"Prompt 2"}]\', \'canvas\': \'\', \'sam3_model_config\': [\'12\', 0], \'image\': [\'1\', 0]}, \'class_type\': \'SAM3InteractiveCollector\', \'_meta\': {\'title\': \'SAM3 Interactive Collector\'}}}'], 'extra_pnginfo': ['{\'workflow\': {\'id\': \'9e5b67d0-53dc-42aa-bdb7-541f1939e114\', \'revision\': 0, \'last_node_id\': 26, \'last_link_id\': 57, \'nodes\': [{\'id\': 12, \'type\': \'LoadSAM3Model\', \'pos\': [619.424717299163, 120.03196674570798], \'size\': [270, 134.65625], \'flags\': {}, \'order\': 0, \'mode\': 0, \'inputs\': [], \'outputs\': [{\'name\': \'sam3_model_config\', \'type\': \'SAM3_MODEL_CONFIG\', \'links\': [55]}], \'properties\': {\'Node name for S&R\': \'LoadSAM3Model\', \'cnr_id\': \'comfyui-sam3\', \'ver\': \'82c8e4f88a6c0a9242712b827e05f5e67c4a90a7\', \'aux_id\': \'PozzettiAndrea/ComfyUI-SAM3\'}, \'widgets_values\': [\'auto\', False]}, {\'id\': 1, \'type\': \'LoadImage\', \'pos\': [488.1468326416015, 306.42935311583375], \'size\': [274.078125, 340], \'flags\': {}, \'order\': 1, \'mode\': 0, \'inputs\': [], \'outputs\': [{\'name\': \'IMAGE\', \'type\': \'IMAGE\', \'links\': [56]}, {\'name\': \'MASK\', \'type\': \'MASK\', \'links\': None}], \'properties\': {\'Node name for S&R\': \'LoadImage\', \'cnr_id\': \'comfy-core\', \'ver\': \'0.3.72\'}, \'widgets_values\': [\'image.png\', \'image\']}, {\'id\': 26, \'type\': \'SAM3InteractiveCollector\', \'pos\': [1010.2283851719152, 178.893439578179], \'size\': [400, 569], \'flags\': {}, \'order\': 2, \'mode\': 0, \'inputs\': [{\'name\': \'sam3_model_config\', \'type\': \'SAM3_MODEL_CONFIG\', \'link\': 55}, {\'name\': \'image\', \'type\': \'IMAGE\', \'link\': 56}], \'outputs\': [{\'name\': \'masks\', \'type\': \'MASK\', \'links\': [57]}, {\'name\': \'visualization\', \'type\': \'IMAGE\', \'links\': None}, {\'name\': \'multi_prompts\', \'type\': \'SAM3_MULTI_PROMPTS\', \'links\': None}], \'properties\': {\'Node name for S&R\': \'SAM3InteractiveCollector\', \'cnr_id\': \'comfyui-sam3\', \'ver\': \'c7636fa4a0b8c0fb07aa01f0c7749ebd5f9c92f3\'}, \'widgets_values\': [\'[{"positive_points":[{"x":3348.288109906738,"y":2452.2208696844737}],"negative_points":[],"positive_boxes":[],"negative_boxes":[],"name":"Prompt 1"},{"positive_points":[],"negative_points":[],"positive_boxes":[],"negative_boxes":[],"name":"Prompt 2"}]\', \'\']}, {\'id\': 4, \'type\': \'MaskPreview\', \'pos\': [1509.2821361303925, 266.63965000030805], \'size\': [225, 258], \'flags\': {}, \'order\': 3, \'mode\': 0, \'inputs\': [{\'name\': \'mask\', \'type\': \'MASK\', \'link\': 57}], \'outputs\': [], \'properties\': {\'Node name for S&R\': \'MaskPreview\', \'cnr_id\': \'comfy-core\', \'ver\': \'0.3.72\'}, \'widgets_values\': []}], \'links\': [[55, 12, 0, 26, 0, \'SAM3_MODEL_CONFIG\'], [56, 1, 0, 26, 1, \'IMAGE\'], [57, 26, 0, 4, 0, \'MASK\']], \'groups\': [], \'config\': {}, \'extra\': {\'ds\': {\'scale\': 1.2385275239783924, \'offset\': [-570.0951003265552, 14.632739985499132]}, \'frontendVersion\': \'1.43.18\', \'workflowRendererVersion\': \'LG\', \'VHS_latentpreview\': False, \'VHS_latentpreviewrate\': 0, \'VHS_MetadataImage\': True, \'VHS_KeepIntermediate\': True}, \'version\': 0.4}}']}, 'current_outputs': ['26', '1', '12', '4'], 'timestamp': 1778659856490}
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/model_base.py", line 61, in <module>
|
|
[06:20] [ComfyUI] import comfy.ldm.hidream_o1.model
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/ldm/hidream_o1/model.py", line 20, in <module>
|
|
[06:20] [ComfyUI] from comfy.text_encoders.qwen35 import Qwen35VisionModel
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/text_encoders/qwen35.py", line 10, in <module>
|
|
[06:20] [ComfyUI] from comfy import sd1_clip
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/sd1_clip.py", line 3, in <module>
|
|
[06:20] [ComfyUI] from transformers import CLIPTokenizer
|
|
[06:20] [ComfyUI] ModuleNotFoundError: No module named 'transformers'
|
|
[06:20] [ComfyUI]
|
|
[06:20] [ComfyUI] Traceback (most recent call last):
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 535, in execute
|
|
[06:20] [ComfyUI] output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
|
|
[06:20] [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 335, in get_output_data
|
|
[06:20] [ComfyUI] 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, v3_data=v3_data)
|
|
[06:20] [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 309, in _async_map_node_over_list
|
|
[06:20] [ComfyUI] await process_inputs(input_dict, i)
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 297, in process_inputs
|
|
[06:20] [ComfyUI] result = f(**inputs)
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/metadata.py", line 556, in proxy
|
|
[06:20] [ComfyUI] result = worker.call_method(
|
|
[06:20] [ComfyUI] module_name=mod,
|
|
[06:20] [ComfyUI] ...<4 lines>...
|
|
[06:20] [ComfyUI] timeout=600.0,
|
|
[06:20] [ComfyUI] )
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/workers/subprocess.py", line 674, in call_method
|
|
[06:20] [ComfyUI] raise WorkerError(
|
|
[06:20] [ComfyUI] ...<2 lines>...
|
|
[06:20] [ComfyUI] )
|
|
[06:20] [ComfyUI] comfy_env.isolation.workers.base.WorkerError: No module named 'transformers'
|
|
[06:20] [ComfyUI]
|
|
[06:20] [ComfyUI] Worker traceback:
|
|
[06:20] [ComfyUI] Traceback (most recent call last):
|
|
[06:20] [ComfyUI] File "/tmp/comfyui_pvenv_hqdlgfff/persistent_worker.py", line 1762, in main
|
|
[06:20] [ComfyUI] result = method(**inputs)
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED
|
|
[06:20] [ComfyUI] to_return = cls.execute(*args, **kwargs)
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_interactive.py", line 667, in execute
|
|
[06:20] [ComfyUI] sam3_model = get_or_build_model(sam3_model_config)
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/_model_cache.py", line 31, in get_or_build_model
|
|
[06:20] [ComfyUI] from .sam3_model_patcher import SAM3UnifiedModel
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_model_patcher.py", line 14, in <module>
|
|
[06:20] [ComfyUI] from comfy.model_patcher import ModelPatcher
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/model_patcher.py", line 32, in <module>
|
|
[06:20] [ComfyUI] import comfy.hooks
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/hooks.py", line 14, in <module>
|
|
[06:20] [ComfyUI] import comfy.lora
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/lora.py", line 23, in <module>
|
|
[06:20] [ComfyUI] import comfy.model_base
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/model_base.py", line 61, in <module>
|
|
[06:20] [ComfyUI] import comfy.ldm.hidream_o1.model
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/ldm/hidream_o1/model.py", line 20, in <module>
|
|
[06:20] [ComfyUI] from comfy.text_encoders.qwen35 import Qwen35VisionModel
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/text_encoders/qwen35.py", line 10, in <module>
|
|
[06:20] [ComfyUI] from comfy import sd1_clip
|
|
[06:20] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/sd1_clip.py", line 3, in <module>
|
|
[06:20] [ComfyUI] from transformers import CLIPTokenizer
|
|
[06:20] [ComfyUI] ModuleNotFoundError: No module named 'transformers'
|
|
[06:20] [ComfyUI]
|
|
[06:20] [ComfyUI]
|
|
[06:20] [ComfyUI] Prompt executed in 5.10 seconds
|
|
[06:21] Capturing execution frames: video_point_prompt.json
|
|
[06:28] Frame 1 saved (frame_000.jpg, t=0.0s)
|
|
[06:28] Validating workflow...
|
|
[06:28] [ComfyUI] === /validate endpoint called ===
|
|
[06:28] [ComfyUI] Received JSON with keys: ['prompt']
|
|
[06:28] [ComfyUI] Prompt has 11 nodes
|
|
[06:28] Queuing workflow for execution...
|
|
[06:28] [ComfyUI] Node 9: VHS_LoadVideo
|
|
[06:28] [ComfyUI] Inputs: {"video": "bedroom.mp4", "force_rate": 0, "custom_width": 0, "custom_height": 0, "frame_load_cap": 30, "skip_first_frames": 0, "select_every_nth": 1, "format": "AnimateDiff"}
|
|
[06:28] [ComfyUI] Node 13: CreateVideo
|
|
[06:28] [ComfyUI] Inputs: {"fps": 30, "images": ["14", 0]}
|
|
[06:28] [ComfyUI] Node 14: MaskToImage
|
|
[06:28] [ComfyUI] Inputs: {"mask": ["21", 0]}
|
|
[06:28] [ComfyUI] Node 15: SaveVideo
|
|
[06:28] [ComfyUI] Inputs: {"filename_prefix": "video/ComfyUI", "format": "auto", "codec": "auto", "video": ["13", 0]}
|
|
[06:28] [ComfyUI] Node 21: SAM3VideoOutput
|
|
[06:28] [ComfyUI] Inputs: {"obj_id": 0, "plot_all_masks": true, "masks": ["35", 0], "video_state": ["35", 2], "scores": ["35", 1]}
|
|
[06:28] [ComfyUI] Node 24: CreateVideo
|
|
[06:28] [ComfyUI] Inputs: {"fps": 30, "images": ["21", 2]}
|
|
[06:28] [ComfyUI] Node 25: SaveVideo
|
|
[06:28] [ComfyUI] Inputs: {"filename_prefix": "video/ComfyUI", "format": "auto", "codec": "auto", "video": ["24", 0]}
|
|
[06:28] [ComfyUI] Node 27: SAM3VideoSegmentation
|
|
[06:28] [ComfyUI] Inputs: {"prompt_mode": "point", "frame_idx": 0.3, "score_threshold": 0.3, "video_frames": ["9", 0], "positive_points": ["28", 0]}
|
|
[06:28] [ComfyUI] Node 28: SAM3PointCollector
|
|
[06:28] [ComfyUI] Inputs: {"points_store": "{\"positive\":[{\"x\":365.8296849641195,\"y\":82.1138596932428},{\"x\":389.5481601701001,\"y\":179.95494578458334},{\"x\":413.26663537608084,\"y\":52.465045726169905}],\"negative\":[
|
|
[06:28] [ComfyUI] Node 30: LoadSAM3Model
|
|
[06:28] [ComfyUI] Inputs: {"precision": "auto", "compile": false}
|
|
[06:28] [ComfyUI] Node 35: SAM3Propagate
|
|
[06:28] [ComfyUI] Inputs: {"start_frame": 0, "end_frame": -1, "direction": "forward", "sam3_model_config": ["30", 0], "video_state": ["27", 0]}
|
|
[06:28] [ComfyUI] Generated prompt_id: 6c0074c0-ea91-43fe-9152-81ce211f6b8b
|
|
[06:28] [ComfyUI] Calling execution.validate_prompt()...
|
|
[06:28] [ComfyUI] Validation result: valid=True
|
|
[06:28] [ComfyUI] === Validation PASSED ===
|
|
[06:28] [ComfyUI] got prompt
|
|
[06:30] [ComfyUI] [comfy-env] Running SAM3PointCollector: points_store: '{"positive":[{"x":365.8296849641195,"y":82.1138596932428..., coordinates: '[{"x":365.8296849641195,"y":82.1138596932428},{"x":389.5..., neg_coordinates: '[]', image: torch.float32 [30,544,960,3] cpu
|
|
[06:30] [ComfyUI] [VRAM] Before SAM3PointCollector: 15479 / 24124 MB
|
|
[06:30] [ComfyUI] [SubprocessWorker] call_method: nodes.sam3_interactive.SAM3PointCollector.EXECUTE_NORMALIZED
|
|
[06:30] [ComfyUI] [SubprocessWorker] acquired lock, ensuring started...
|
|
[06:30] [ComfyUI] [ComfyUI-SAM3] Health check: ping (timeout=5.0s)...
|
|
[06:30] [ComfyUI] [ComfyUI-SAM3] Health check: ok
|
|
[06:30] [ComfyUI] [SubprocessWorker] worker started/confirmed
|
|
[06:30] [ComfyUI] [comfy-env] PRE-SERIALIZE 'image' shape: torch.Size([30, 544, 960, 3])
|
|
[06:30] [ComfyUI] [SubprocessWorker] serializing kwargs to shm...
|
|
[06:30] [ComfyUI] [SubprocessWorker] created 0 shm blocks
|
|
[06:30] [ComfyUI] [SubprocessWorker] sending request via socket...
|
|
[06:30] [ComfyUI] [SubprocessWorker] call_id=11 sending call_method
|
|
[06:30] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] _from_shm got dict with keys: ['__type__', 'strategy', 'parent_pid', 'fd', 'storage_size']
|
|
[06:30] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] DESERIALIZE TensorRef: tensor_size=[30, 544, 960, 3]
|
|
[06:30] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] DESERIALIZED tensor shape: torch.Size([30, 544, 960, 3])
|
|
[06:30] [ComfyUI] [SubprocessWorker] got response: ok
|
|
[06:30] [ComfyUI] [comfy-env] SAM3PointCollector done (0.18s): result: NodeOutput
|
|
[06:30] [ComfyUI] [VRAM] After SAM3PointCollector: 15479 / 24124 MB
|
|
[06:30] [ComfyUI] [comfy-env] Running SAM3VideoSegmentation: prompt_mode: 'point', frame_idx: 0, score_threshold: 0.3, video_frames: torch.float32 [30,544,960,3] cpu, positive_points: dict
|
|
[06:30] [ComfyUI] [VRAM] Before SAM3VideoSegmentation: 15479 / 24124 MB
|
|
[06:30] [ComfyUI] [SubprocessWorker] call_method: nodes.sam3_video_nodes.SAM3VideoSegmentation.EXECUTE_NORMALIZED
|
|
[06:30] [ComfyUI] [SubprocessWorker] acquired lock, ensuring started...
|
|
[06:30] [ComfyUI] [ComfyUI-SAM3] Health check: ping (timeout=5.0s)...
|
|
[06:30] [ComfyUI] [ComfyUI-SAM3] Health check: ok
|
|
[06:30] [ComfyUI] [SubprocessWorker] worker started/confirmed
|
|
[06:30] [ComfyUI] [comfy-env] PRE-SERIALIZE 'video_frames' shape: torch.Size([30, 544, 960, 3])
|
|
[06:30] [ComfyUI] [SubprocessWorker] serializing kwargs to shm...
|
|
[06:30] [ComfyUI] [SubprocessWorker] created 0 shm blocks
|
|
[06:30] Node executed (1 total), capturing...
|
|
[06:30] [ComfyUI] [SubprocessWorker] sending request via socket...
|
|
[06:30] [ComfyUI] [SubprocessWorker] call_id=12 sending call_method
|
|
[06:30] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] _from_shm got dict with keys: ['__type__', 'strategy', 'parent_pid', 'fd', 'storage_size']
|
|
[06:30] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] DESERIALIZE TensorRef: tensor_size=[30, 544, 960, 3]
|
|
[06:30] [ComfyUI] [worker:ComfyUI-SAM3] [comfy-env] DESERIALIZED tensor shape: torch.Size([30, 544, 960, 3])
|
|
[06:30] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=12
|
|
[06:30] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=12
|
|
[06:30] [ComfyUI] [SubprocessWorker] callback 'report_progress' from call_id=12
|
|
[06:30] [ComfyUI] [SubprocessWorker] got response: ok
|
|
[06:30] [ComfyUI] [comfy-env] SAM3VideoSegmentation done (0.30s): result: NodeOutput
|
|
[06:30] [ComfyUI] [VRAM] After SAM3VideoSegmentation: 15479 / 24124 MB
|
|
[06:30] [ComfyUI] [comfy-env] Running LoadSAM3Model: precision: 'auto', compile: False
|
|
[06:30] [ComfyUI] [VRAM] Before LoadSAM3Model: 15479 / 24124 MB
|
|
[06:30] [ComfyUI] [SubprocessWorker] call_method: nodes.load_model.LoadSAM3Model.EXECUTE_NORMALIZED
|
|
[06:30] [ComfyUI] [SubprocessWorker] acquired lock, ensuring started...
|
|
[06:30] [ComfyUI] [ComfyUI-SAM3] Health check: ping (timeout=5.0s)...
|
|
[06:30] [ComfyUI] [ComfyUI-SAM3] Health check: ok
|
|
[06:30] [ComfyUI] [SubprocessWorker] worker started/confirmed
|
|
[06:30] [ComfyUI] [SubprocessWorker] serializing kwargs to shm...
|
|
[06:30] [ComfyUI] [SubprocessWorker] created 0 shm blocks
|
|
[06:30] [ComfyUI] [SubprocessWorker] sending request via socket...
|
|
[06:30] [ComfyUI] [SubprocessWorker] call_id=13 sending call_method
|
|
[06:30] [ComfyUI] [SubprocessWorker] got response: ok
|
|
[06:30] [ComfyUI] [comfy-env] LoadSAM3Model done (0.07s): result: NodeOutput
|
|
[06:30] [ComfyUI] [VRAM] After LoadSAM3Model: 15479 / 24124 MB
|
|
[06:30] [ComfyUI] [comfy-env] Running SAM3Propagate: start_frame: 0, end_frame: -1, direction: 'forward', sam3_model_config: dict, video_state: dict
|
|
[06:30] [ComfyUI] [VRAM] Before SAM3Propagate: 15479 / 24124 MB
|
|
[06:31] [ComfyUI] [SubprocessWorker] call_method: nodes.sam3_video_nodes.SAM3Propagate.EXECUTE_NORMALIZED
|
|
[06:31] [ComfyUI] [SubprocessWorker] acquired lock, ensuring started...
|
|
[06:31] [ComfyUI] [ComfyUI-SAM3] Health check: ping (timeout=5.0s)...
|
|
[06:31] [ComfyUI] [ComfyUI-SAM3] Health check: ok
|
|
[06:31] [ComfyUI] [SubprocessWorker] worker started/confirmed
|
|
[06:31] [ComfyUI] [SubprocessWorker] serializing kwargs to shm...
|
|
[06:31] [ComfyUI] [SubprocessWorker] created 0 shm blocks
|
|
[06:31] [ComfyUI] [SubprocessWorker] sending request via socket...
|
|
[06:31] [ComfyUI] [SubprocessWorker] call_id=14 sending call_method
|
|
[06:31] [ComfyUI] [SubprocessWorker] got response: error
|
|
[06:31] [ComfyUI] !!! Exception during processing !!! No module named 'transformers'
|
|
[06:31] [ComfyUI]
|
|
[06:31] [ComfyUI] Worker traceback:
|
|
[06:31] [ComfyUI] Traceback (most recent call last):
|
|
[06:31] [ComfyUI] File "/tmp/comfyui_pvenv_hqdlgfff/persistent_worker.py", line 1762, in main
|
|
[06:31] [ComfyUI] result = method(**inputs)
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED
|
|
[06:31] [ComfyUI] to_return = cls.execute(*args, **kwargs)
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_video_nodes.py", line 422, in execute
|
|
[06:31] [ComfyUI] sam3_model = get_or_build_model(sam3_model_config)
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/_model_cache.py", line 31, in get_or_build_model
|
|
[06:31] [ComfyUI] from .sam3_model_patcher import SAM3UnifiedModel
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_model_patcher.py", line 14, in <module>
|
|
[06:31] [ComfyUI] from comfy.model_patcher import ModelPatcher
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/model_patcher.py", line 32, in <module>
|
|
[06:31] [ComfyUI] import comfy.hooks
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/hooks.py", line 14, in <module>
|
|
[06:31] [ComfyUI] import comfy.lora
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/lora.py", line 23, in <module>
|
|
[06:31] [ComfyUI] import comfy.model_base
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/model_base.py", line 61, in <module>
|
|
[06:31] [ComfyUI] import comfy.ldm.hidream_o1.model
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/ldm/hidream_o1/model.py", line 20, in <module>
|
|
[06:31] [ComfyUI] from comfy.text_encoders.qwen35 import Qwen35VisionModel
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/text_encoders/qwen35.py", line 10, in <module>
|
|
[06:31] [ComfyUI] from comfy import sd1_clip
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/sd1_clip.py", line 3, in <module>
|
|
[06:31] [ComfyUI] from transformers import CLIPTokenizer
|
|
[06:31] [ComfyUI] ModuleNotFoundError: No module named 'transformers'
|
|
[06:31] [ComfyUI]
|
|
[06:31] [ComfyUI] Traceback (most recent call last):
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 535, in execute
|
|
[06:31] [ComfyUI] output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
|
|
[06:31] [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 335, in get_output_data
|
|
[06:31] [ComfyUI] 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, v3_data=v3_data)
|
|
[06:31] [ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 309, in _async_map_node_over_list
|
|
[06:31] [ComfyUI] await process_inputs(input_dict, i)
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 297, in process_inputs
|
|
[06:31] [ComfyUI] result = f(**inputs)
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/metadata.py", line 556, in proxy
|
|
[06:31] [ComfyUI] result = worker.call_method(
|
|
[06:31] [ComfyUI] module_name=mod,
|
|
[06:31] [ComfyUI] ...<4 lines>...
|
|
[06:31] [ComfyUI] timeout=600.0,
|
|
[06:31] [ComfyUI] )
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/workers/subprocess.py", line 674, in call_method
|
|
[06:31] [ComfyUI] raise WorkerError(
|
|
[06:31] [ComfyUI] ...<2 lines>...
|
|
[06:31] [ComfyUI] )
|
|
[06:31] [ComfyUI] comfy_env.isolation.workers.base.WorkerError: No module named 'transformers'
|
|
[06:31] [ComfyUI]
|
|
[06:31] [ComfyUI] Worker traceback:
|
|
[06:31] [ComfyUI] Traceback (most recent call last):
|
|
[06:31] [ComfyUI] File "/tmp/comfyui_pvenv_hqdlgfff/persistent_worker.py", line 1762, in main
|
|
[06:31] [ComfyUI] result = method(**inputs)
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED
|
|
[06:31] Frame 2 saved (frame_001.jpg, t=2.2s)
|
|
[06:31] [ComfyUI] to_return = cls.execute(*args, **kwargs)
|
|
[06:31] [capture-node] freeze=4ms shot=285ms unfreeze=5ms saved=True
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_video_nodes.py", line 422, in execute
|
|
[06:31] [ComfyUI] sam3_model = get_or_build_model(sam3_model_config)
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/_model_cache.py", line 31, in get_or_build_model
|
|
[06:31] [ComfyUI] from .sam3_model_patcher import SAM3UnifiedModel
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_model_patcher.py", line 14, in <module>
|
|
[06:31] [ComfyUI] from comfy.model_patcher import ModelPatcher
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/model_patcher.py", line 32, in <module>
|
|
[06:31] [ComfyUI] import comfy.hooks
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/hooks.py", line 14, in <module>
|
|
[06:31] [ComfyUI] import comfy.lora
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/lora.py", line 23, in <module>
|
|
[06:31] [ComfyUI] import comfy.model_base
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/model_base.py", line 61, in <module>
|
|
[06:31] [ComfyUI] import comfy.ldm.hidream_o1.model
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/ldm/hidream_o1/model.py", line 20, in <module>
|
|
[06:31] [ComfyUI] from comfy.text_encoders.qwen35 import Qwen35VisionModel
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/text_encoders/qwen35.py", line 10, in <module>
|
|
[06:31] [ComfyUI] from comfy import sd1_clip
|
|
[06:31] [ComfyUI] File "/workspaces/SAM3-0804/ComfyUI/comfy/sd1_clip.py", line 3, in <module>
|
|
[06:31] [ComfyUI] from transformers import CLIPTokenizer
|
|
[06:31] [ComfyUI] ModuleNotFoundError: No module named 'transformers'
|
|
[06:31] [ComfyUI]
|
|
[06:31] [ComfyUI]
|
|
[06:31] [ComfyUI] Prompt executed in 2.10 seconds
|
|
[06:31] Execution complete (t=2.7s)
|
|
[06:31] Execution error: {'prompt_id': '79543ad9-da72-4db9-a5e0-8110b6113270', 'node_id': '35', 'node_type': 'SAM3Propagate', 'executed': ['28', '9', '27', '30'], 'exception_message': 'No module named \'transformers\'\n\nWorker traceback:\nTraceback (most recent call last):\n File "/tmp/comfyui_pvenv_hqdlgfff/persistent_worker.py", line 1762, in main\n result = method(**inputs)\n File "/workspaces/SAM3-0804/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_video_nodes.py", line 422, in execute\n sam3_model = get_or_build_model(sam3_model_config)\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/_model_cache.py", line 31, in get_or_build_model\n from .sam3_model_patcher import SAM3UnifiedModel\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_model_patcher.py", line 14, in <module>\n from comfy.model_patcher import ModelPatcher\n File "/workspaces/SAM3-0804/ComfyUI/comfy/model_patcher.py", line 32, in <module>\n import comfy.hooks\n File "/workspaces/SAM3-0804/ComfyUI/comfy/hooks.py", line 14, in <module>\n import comfy.lora\n File "/workspaces/SAM3-0804/ComfyUI/comfy/lora.py", line 23, in <module>\n import comfy.model_base\n File "/workspaces/SAM3-0804/ComfyUI/comfy/model_base.py", line 61, in <module>\n import comfy.ldm.hidream_o1.model\n File "/workspaces/SAM3-0804/ComfyUI/comfy/ldm/hidream_o1/model.py", line 20, in <module>\n from comfy.text_encoders.qwen35 import Qwen35VisionModel\n File "/workspaces/SAM3-0804/ComfyUI/comfy/text_encoders/qwen35.py", line 10, in <module>\n from comfy import sd1_clip\n File "/workspaces/SAM3-0804/ComfyUI/comfy/sd1_clip.py", line 3, in <module>\n from transformers import CLIPTokenizer\nModuleNotFoundError: No module named \'transformers\'\n\n', 'exception_type': 'comfy_env.isolation.workers.base.WorkerError', 'traceback': [' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 535, in execute\n output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 335, in get_output_data\n 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, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 297, in process_inputs\n result = f(**inputs)\n', ' File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/metadata.py", line 556, in proxy\n result = worker.call_method(\n module_name=mod,\n ...<4 lines>...\n timeout=600.0,\n )\n', ' File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/workers/subprocess.py", line 674, in call_method\n raise WorkerError(\n ...<2 lines>...\n )\n'], 'current_inputs': {'start_frame': [0], 'end_frame': [-1], 'direction': ['forward'], 'sam3_model_config': ["{'checkpoint_path': '/workspaces/SAM3-0804/ComfyUI/models/sam3/sam3.safetensors', 'bpe_path': '/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3/bpe_simple_vocab_16e6.txt.gz', 'precision': 'auto', 'dtype': 'bf16', 'compile': False}"], 'video_state': ["{'session_uuid': '416eb72a-08df-4e69-9b70-442f01747387', 'temp_dir': '/tmp/sam3_416eb72a_qiqkr31t', 'num_frames': 30, 'height': 544, 'width': 960, 'config': {'score_threshold_detection': 0.3, 'new_det_thresh': 0.4, 'fill_hole_area': 16, 'assoc_iou_thresh': 0.1, 'det_nms_thresh': 0.1, 'hotstart_unmatch_thresh': 8, 'hotstart_dup_thresh': 8, 'init_trk_keep_alive': 30, 'hotstart_delay': 15, 'decrease_keep_alive_empty': False, 'suppress_unmatched_globally': False}, 'prompts': [{'frame_idx': 0, 'prompt_type': 'point', 'obj_id': 1, 'data': [[[0.38107258850429115, 0.15094459502434338], [0.405779333510521, 0.3307995326922488], [0.43048607851675086, 0.09644309876134173]], [1, 1, 1]]}]}"]}, 'current_outputs': ['24', '14', '27', '30', '13', '28', '25', '9', '21', '15', '35'], 'timestamp': 1778659866814}
|
|
[06:31] Results saved to /logs/SAM3-0804/dev/linux-gpu/results.json
|
|
[06:31] Model report: 1 files, 3.2 GB -> /logs/SAM3-0804/dev/linux-gpu/models.json
|
|
[06:31] Saved: /logs/SAM3-0804/dev/linux-gpu/index.html
|
|
[06:31]
|
|
linux: FAILED
|
|
[06:31] Error: Workflow execution failed (5 error(s))
|
|
[06:31] Details: image_seg_point.json: Workflow execution failed: {'prompt_id': 'f3f1cc6f-a71e-4cfc-8062-03ef03c610b9', 'node_id': '31', 'node_type': 'SAM3Segmentation', 'executed': ['1', '15', '30'], 'exception_message': 'No module named \'transformers\'\n\nWorker traceback:\nTraceback (most recent call last):\n File "/tmp/comfyui_pvenv_hqdlgfff/persistent_worker.py", line 1762, in main\n result = method(**inputs)\n File "/workspaces/SAM3-0804/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/segmentation.py", line 469, in execute\n sam3_model = get_or_build_model(sam3_model_config)\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/_model_cache.py", line 31, in get_or_build_model\n from .sam3_model_patcher import SAM3UnifiedModel\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_model_patcher.py", line 14, in <module>\n from comfy.model_patcher import ModelPatcher\n File "/workspaces/SAM3-0804/ComfyUI/comfy/model_patcher.py", line 32, in <module>\n import comfy.hooks\n File "/workspaces/SAM3-0804/ComfyUI/comfy/hooks.py", line 14, in <module>\n import comfy.lora\n File "/workspaces/SAM3-0804/ComfyUI/comfy/lora.py", line 23, in <module>\n import comfy.model_base\n File "/workspaces/SAM3-0804/ComfyUI/comfy/model_base.py", line 61, in <module>\n import comfy.ldm.hidream_o1.model\n File "/workspaces/SAM3-0804/ComfyUI/comfy/ldm/hidream_o1/model.py", line 20, in <module>\n from comfy.text_encoders.qwen35 import Qwen35VisionModel\n File "/workspaces/SAM3-0804/ComfyUI/comfy/text_encoders/qwen35.py", line 10, in <module>\n from comfy import sd1_clip\n File "/workspaces/SAM3-0804/ComfyUI/comfy/sd1_clip.py", line 3, in <module>\n from transformers import CLIPTokenizer\nModuleNotFoundError: No module named \'transformers\'\n\n', 'exception_type': 'comfy_env.isolation.workers.base.WorkerError', 'traceback': [' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 535, in execute\n output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 335, in get_output_data\n 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, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 297, in process_inputs\n result = f(**inputs)\n', ' File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/metadata.py", line 556, in proxy\n result = worker.call_method(\n module_name=mod,\n ...<4 lines>...\n timeout=600.0,\n )\n', ' File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/workers/subprocess.py", line 674, in call_method\n raise WorkerError(\n ...<2 lines>...\n )\n'], 'current_inputs': {'refinement_iterations': [0], 'use_multimask': [True], 'output_best_mask': [True], 'sam3_model_config': ["{'checkpoint_path': '/workspaces/SAM3-0804/ComfyUI/models/sam3/sam3.safetensors', 'bpe_path': '/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3/bpe_simple_vocab_16e6.txt.gz', 'precision': 'auto', 'dtype': 'bf16', 'compile': False}"], 'image': ['tensor([[[[0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n ...,\n [0.3176, 0.5765, 0.7176],\n [0.3333, 0.5961, 0.7451],\n [0.3529, 0.6157, 0.7647]],\n\n [[0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n ...,\n [0.3137, 0.5725, 0.7137],\n [0.3137, 0.5765, 0.7255],\n [0.3255, 0.5882, 0.7373]],\n\n [[0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n ...,\n [0.3882, 0.5294, 0.6235],\n [0.3922, 0.5216, 0.6196],\n [0.3961, 0.5255, 0.6235]],\n\n ...,\n\n [[0.4941, 0.4784, 0.4157],\n [0.4941, 0.4784, 0.4157],\n [0.4980, 0.4824, 0.4196],\n ...,\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020]],\n\n [[0.5098, 0.4941, 0.4314],\n [0.5098, 0.4941, 0.4314],\n [0.5137, 0.4980, 0.4353],\n ...,\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020]],\n\n [[0.5176, 0.5020, 0.4392],\n [0.5216, 0.5059, 0.4431],\n [0.5255, 0.5098, 0.4471],\n ...,\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020]]]])'], 'positive_points': ["{'points': [[0.3330291853098248, 0.4464251623052616], [0.32588862185381995, 0.5657519162372204], [0.3373135233834277, 0.7637835504221735]], 'labels': [1, 1, 1]}"], 'negative_points': ["{'points': [], 'labels': []}"]}, 'current_outputs': ['30', '28', '29', '31', '1', '15'], 'timestamp': 1778659825047}
|
|
|
|
Details:
|
|
Workflow: /node/ComfyUI-SAM3/workflows/image_seg_point.json
|
|
Node error: SAM3Segmentation
|
|
image_seg_text.json: Workflow execution failed: {'prompt_id': '7d83c1ba-194b-4c48-a7f9-fc2f47bc2277', 'node_id': '15', 'node_type': 'SAM3Grounding', 'executed': ['1', '12'], 'exception_message': 'No module named \'transformers\'\n\nWorker traceback:\nTraceback (most recent call last):\n File "/tmp/comfyui_pvenv_hqdlgfff/persistent_worker.py", line 1762, in main\n result = method(**inputs)\n File "/workspaces/SAM3-0804/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/segmentation.py", line 86, in execute\n sam3_model = get_or_build_model(sam3_model_config)\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/_model_cache.py", line 31, in get_or_build_model\n from .sam3_model_patcher import SAM3UnifiedModel\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_model_patcher.py", line 14, in <module>\n from comfy.model_patcher import ModelPatcher\n File "/workspaces/SAM3-0804/ComfyUI/comfy/model_patcher.py", line 32, in <module>\n import comfy.hooks\n File "/workspaces/SAM3-0804/ComfyUI/comfy/hooks.py", line 14, in <module>\n import comfy.lora\n File "/workspaces/SAM3-0804/ComfyUI/comfy/lora.py", line 23, in <module>\n import comfy.model_base\n File "/workspaces/SAM3-0804/ComfyUI/comfy/model_base.py", line 61, in <module>\n import comfy.ldm.hidream_o1.model\n File "/workspaces/SAM3-0804/ComfyUI/comfy/ldm/hidream_o1/model.py", line 20, in <module>\n from comfy.text_encoders.qwen35 import Qwen35VisionModel\n File "/workspaces/SAM3-0804/ComfyUI/comfy/text_encoders/qwen35.py", line 10, in <module>\n from comfy import sd1_clip\n File "/workspaces/SAM3-0804/ComfyUI/comfy/sd1_clip.py", line 3, in <module>\n from transformers import CLIPTokenizer\nModuleNotFoundError: No module named \'transformers\'\n\n', 'exception_type': 'comfy_env.isolation.workers.base.WorkerError', 'traceback': [' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 535, in execute\n output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 335, in get_output_data\n 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, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 297, in process_inputs\n result = f(**inputs)\n', ' File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/metadata.py", line 556, in proxy\n result = worker.call_method(\n module_name=mod,\n ...<4 lines>...\n timeout=600.0,\n )\n', ' File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/workers/subprocess.py", line 674, in call_method\n raise WorkerError(\n ...<2 lines>...\n )\n'], 'current_inputs': {'confidence_threshold': [0.2], 'text_prompt': ['child'], 'max_detections': [-1], 'sam3_model_config': ["{'checkpoint_path': '/workspaces/SAM3-0804/ComfyUI/models/sam3/sam3.safetensors', 'bpe_path': '/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3/bpe_simple_vocab_16e6.txt.gz', 'precision': 'fp32', 'dtype': 'fp32', 'compile': False}"], 'image': ['tensor([[[[0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n ...,\n [0.3176, 0.5765, 0.7176],\n [0.3333, 0.5961, 0.7451],\n [0.3529, 0.6157, 0.7647]],\n\n [[0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n ...,\n [0.3137, 0.5725, 0.7137],\n [0.3137, 0.5765, 0.7255],\n [0.3255, 0.5882, 0.7373]],\n\n [[0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n [0.2863, 0.4588, 0.5922],\n ...,\n [0.3882, 0.5294, 0.6235],\n [0.3922, 0.5216, 0.6196],\n [0.3961, 0.5255, 0.6235]],\n\n ...,\n\n [[0.4941, 0.4784, 0.4157],\n [0.4941, 0.4784, 0.4157],\n [0.4980, 0.4824, 0.4196],\n ...,\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020]],\n\n [[0.5098, 0.4941, 0.4314],\n [0.5098, 0.4941, 0.4314],\n [0.5137, 0.4980, 0.4353],\n ...,\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020]],\n\n [[0.5176, 0.5020, 0.4392],\n [0.5216, 0.5059, 0.4431],\n [0.5255, 0.5098, 0.4471],\n ...,\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020],\n [0.5608, 0.5529, 0.5020]]]])']}, 'current_outputs': ['3', '1', '12', '15', '4'], 'timestamp': 1778659832469}
|
|
|
|
Details:
|
|
Workflow: /node/ComfyUI-SAM3/workflows/image_seg_text.json
|
|
Node error: SAM3Grounding
|
|
scene_seg.json: Workflow execution failed: {'prompt_id': '34e62504-9433-49d6-9c06-b532d8c12b1e', 'node_id': '27', 'node_type': 'SAM3MultipromptSegmentation', 'executed': ['1', '20', '12'], 'exception_message': 'No module named \'transformers\'\n\nWorker traceback:\nTraceback (most recent call last):\n File "/tmp/comfyui_pvenv_hqdlgfff/persistent_worker.py", line 1762, in main\n result = method(**inputs)\n File "/workspaces/SAM3-0804/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/segmentation.py", line 695, in execute\n sam3_model = get_or_build_model(sam3_model_config)\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/_model_cache.py", line 31, in get_or_build_model\n from .sam3_model_patcher import SAM3UnifiedModel\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_model_patcher.py", line 14, in <module>\n from comfy.model_patcher import ModelPatcher\n File "/workspaces/SAM3-0804/ComfyUI/comfy/model_patcher.py", line 32, in <module>\n import comfy.hooks\n File "/workspaces/SAM3-0804/ComfyUI/comfy/hooks.py", line 14, in <module>\n import comfy.lora\n File "/workspaces/SAM3-0804/ComfyUI/comfy/lora.py", line 23, in <module>\n import comfy.model_base\n File "/workspaces/SAM3-0804/ComfyUI/comfy/model_base.py", line 61, in <module>\n import comfy.ldm.hidream_o1.model\n File "/workspaces/SAM3-0804/ComfyUI/comfy/ldm/hidream_o1/model.py", line 20, in <module>\n from comfy.text_encoders.qwen35 import Qwen35VisionModel\n File "/workspaces/SAM3-0804/ComfyUI/comfy/text_encoders/qwen35.py", line 10, in <module>\n from comfy import sd1_clip\n File "/workspaces/SAM3-0804/ComfyUI/comfy/sd1_clip.py", line 3, in <module>\n from transformers import CLIPTokenizer\nModuleNotFoundError: No module named \'transformers\'\n\n', 'exception_type': 'comfy_env.isolation.workers.base.WorkerError', 'traceback': [' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 535, in execute\n output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 335, in get_output_data\n 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, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 297, in process_inputs\n result = f(**inputs)\n', ' File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/metadata.py", line 556, in proxy\n result = worker.call_method(\n module_name=mod,\n ...<4 lines>...\n timeout=600.0,\n )\n', ' File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/workers/subprocess.py", line 674, in call_method\n raise WorkerError(\n ...<2 lines>...\n )\n'], 'current_inputs': {'refinement_iterations': [0], 'use_multimask': [False], 'sam3_model_config': ["{'checkpoint_path': '/workspaces/SAM3-0804/ComfyUI/models/sam3/sam3.safetensors', 'bpe_path': '/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3/bpe_simple_vocab_16e6.txt.gz', 'precision': 'fp32', 'dtype': 'fp32', 'compile': False}"], 'image': ['tensor([[[[0.9176, 0.8392, 0.7333],\n [0.9294, 0.8471, 0.7412],\n [0.9176, 0.8353, 0.7294],\n ...,\n [0.8078, 0.6627, 0.4902],\n [0.8039, 0.6588, 0.4863],\n [0.8157, 0.6706, 0.4980]],\n\n [[0.9137, 0.8353, 0.7294],\n [0.9216, 0.8392, 0.7333],\n [0.9176, 0.8353, 0.7294],\n ...,\n [0.8039, 0.6588, 0.4863],\n [0.8039, 0.6588, 0.4863],\n [0.8118, 0.6667, 0.4941]],\n\n [[0.9137, 0.8314, 0.7255],\n [0.9137, 0.8314, 0.7255],\n [0.9176, 0.8353, 0.7294],\n ...,\n [0.8078, 0.6627, 0.4902],\n [0.8118, 0.6667, 0.4941],\n [0.8039, 0.6588, 0.4863]],\n\n ...,\n\n [[0.8667, 0.6784, 0.4902],\n [0.8706, 0.6824, 0.4941],\n [0.8706, 0.6824, 0.4941],\n ...,\n [0.6471, 0.4431, 0.2549],\n [0.6392, 0.4353, 0.2471],\n [0.6471, 0.4431, 0.2549]],\n\n [[0.8588, 0.6706, 0.4824],\n [0.8667, 0.6784, 0.4902],\n [0.8706, 0.6824, 0.4941],\n ...,\n [0.6431, 0.4392, 0.2510],\n [0.6471, 0.4431, 0.2549],\n [0.6549, 0.4510, 0.2627]],\n\n [[0.8627, 0.6745, 0.4863],\n [0.8667, 0.6784, 0.4902],\n [0.8784, 0.6902, 0.5020],\n ...,\n [0.6353, 0.4314, 0.2431],\n [0.6431, 0.4392, 0.2510],\n [0.6392, 0.4353, 0.2471]]]])'], 'multi_prompts': ["[{'id': 0, 'positive_points': {'points': [[0.7518972528753959, 0.6355044797738758], [0.7340045522905485, 0.6593619024052091], [0.7021953068063758, 0.6623440802341257], [0.6902668397498108, 0.677254969378709], [0.668397983479442, 0.6742727915497924], [0.7180999295484621, 0.6176114128003758], [0.7180999295484621, 0.572878745366626], [0.7439449415043526, 0.5311282557617927], [0.7240641630767446, 0.5609500340509593], [0.6982191511208541, 0.5609500340509593]], 'labels': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1]}, 'negative_points': {'points': [], 'labels': []}, 'positive_boxes': {'boxes': [[0.7141237738629407, 0.6056827014847093, 0.15109391604982114, 0.19085938105066613]], 'labels': [True]}, 'negative_boxes': {'boxes': [], 'labels': []}}, {'id': 1, 'positive_points': {'points': [[0.6513952517072837, 0.6001522443905642], [0.6354008929467748, 0.6921217188777309], [0.6433980723270292, 0.8680633222444846], [0.8859791801947458, 0.884058013459644], [0.9046392654153393, 0.6041509171943541], [0.9046392654153393, 0.5441708251375063], [0.8060073863922018, 0.5201787883147672]], 'labels': [1, 1, 1, 1, 1, 1, 1]}, 'negative_points': {'points': [[0.7180384132094035, 0.5921548987829846], [0.7180384132094035, 0.5921548987829846], [0.7393642248900819, 0.6601323364474121], [0.7393642248900819, 0.6601323364474121], [0.7446956778102515, 0.6841243732701512], [0.7446956778102515, 0.6841243732701512], [0.670055336927877, 0.6721283548587816], [0.670055336927877, 0.6721283548587816], [0.6913811486085556, 0.608149589998144], [0.6913811486085556, 0.608149589998144], [0.6887154221484707, 0.552168170745086], [0.6887154221484707, 0.552168170745086], [0.7100412338291491, 0.552168170745086], [0.7100412338291491, 0.552168170745086], [0.7366984984299972, 0.552168170745086], [0.7366984984299972, 0.552168170745086]], 'labels': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}, 'positive_boxes': {'boxes': [[0.7713529424110994, 0.7141144192985751, 0.31455572229000606, 0.4198606443979348]], 'labels': [True]}, 'negative_boxes': {'boxes': [], 'labels': []}}, {'id': 2, 'positive_points': {'points': [[0.5279788816577594, 0.8586378093779201], [0.5097671062510242, 0.6517998210195123], [0.4733435554375539, 0.64789721746558], [0.37968299620291596, 0.64789721746558], [0.39529308940868896, 0.8313195845003946], [0.5565973858683432, 0.8586378093779201], [0.569605796873154, 0.6439946139116478]], 'labels': [1, 1, 1, 1, 1, 1, 1]}, 'negative_points': {'points': [[0.4863519664423647, 0.7415597027599534], [0.4863519664423647, 0.7415597027599534], [0.4837502842414026, 0.8508326022700556], [0.4837502842414026, 0.8508326022700556], [0.4473267334279323, 0.8664430164857846], [0.4473267334279323, 0.8664430164857846], [0.43431832242312146, 0.628384199695919], [0.43431832242312146, 0.628384199695919], [0.5123687884519864, 0.5893581641565967], [0.5123687884519864, 0.5893581641565967], [0.5019620596481378, 0.6361894068037834], [0.5019620596481378, 0.6361894068037834], [0.4291149580211971, 0.6400920103577157], [0.4291149580211971, 0.6400920103577157]], 'labels': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}, 'positive_boxes': {'boxes': [[0.47724607873899716, 0.7591214187526485, 0.21593962267985972, 0.24586402389773]], 'labels': [True]}, 'negative_boxes': {'boxes': [], 'labels': []}}, {'id': 3, 'positive_points': {'points': [[0.43642532993691785, 0.595717523200948]], 'labels': [1]}, 'negative_points': {'points': [], 'labels': []}, 'positive_boxes': {'boxes': [[0.4324084720788661, 0.6137937552745099, 0.06426972572882772, 0.07230492829424773]], 'labels': [True]}, 'negative_boxes': {'boxes': [], 'labels': []}}, {'id': 4, 'positive_points': {'points': [[0.5006950556657457, 0.595717523200948]], 'labels': [1]}, 'negative_points': {'points': [], 'labels': []}, 'positive_boxes': {'boxes': [[0.5027034845947715, 0.5716158804361987, 0.09238773073518991, 0.1687114993532448]], 'labels': [True]}, 'negative_boxes': {'boxes': [], 'labels': []}}, {'id': 5, 'positive_points': {'points': [[0.9264819886192297, 0.384828149009392], [0.7939256793035224, 0.37880273831820466], [0.7939256793035224, 0.11368466790596292], [0.9304988464772813, 0.10765925721477561], [0.874262836464557, 0.22214206034733455], [0.8501616893162467, 0.22214206034733455], [0.846144831458195, 0.31854863140633155], [0.8983639836128675, 0.3004723993327696], [0.8943471257548158, 0.20406582827377262], [0.8943471257548158, 0.12573548928833755], [0.8421279736001431, 0.1558625427442741], [0.830077400025988, 0.28842157795039497], [0.8220436843098845, 0.33059945278870617]], 'labels': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]}, 'negative_points': {'points': [], 'labels': []}, 'positive_boxes': {'boxes': [[0.8662291207484536, 0.25829452449445844, 0.18477546147037982, 0.31332135594174026]], 'labels': [True]}, 'negative_boxes': {'boxes': [], 'labels': []}}, {'id': 6, 'positive_points': {'points': [[0.7045792285036274, 0.9568116711293354], [0.6789425589101554, 0.9568116711293354], [0.6569682706871793, 0.9348369322210276], [0.6716177961691634, 0.9293432474939506], [0.6569682706871793, 0.9403306169481045], [0.7082416098741234, 0.9403306169481045]], 'labels': [1, 1, 1, 1, 1, 1]}, 'negative_points': {'points': [], 'labels': []}, 'positive_boxes': {'boxes': [[0.6789425589101554, 0.943077459311643, 0.10254667837388842, 0.07141790145200044]], 'labels': [True]}, 'negative_boxes': {'boxes': [], 'labels': []}}]"]}, 'current_outputs': ['24', '27', '22', '20', '3', '1', '12', '23', '26', '4'], 'timestamp': 1778659841915}
|
|
|
|
Details:
|
|
Workflow: /node/ComfyUI-SAM3/workflows/scene_seg.json
|
|
Node error: SAM3MultipromptSegmentation
|
|
scene_seg_interactive.json: Workflow execution failed: {'prompt_id': '943f5ed0-dc0e-4d43-912b-19d1973f5fa8', 'node_id': '26', 'node_type': 'SAM3InteractiveCollector', 'executed': ['1', '12'], 'exception_message': 'No module named \'transformers\'\n\nWorker traceback:\nTraceback (most recent call last):\n File "/tmp/comfyui_pvenv_hqdlgfff/persistent_worker.py", line 1762, in main\n result = method(**inputs)\n File "/workspaces/SAM3-0804/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_interactive.py", line 667, in execute\n sam3_model = get_or_build_model(sam3_model_config)\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/_model_cache.py", line 31, in get_or_build_model\n from .sam3_model_patcher import SAM3UnifiedModel\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_model_patcher.py", line 14, in <module>\n from comfy.model_patcher import ModelPatcher\n File "/workspaces/SAM3-0804/ComfyUI/comfy/model_patcher.py", line 32, in <module>\n import comfy.hooks\n File "/workspaces/SAM3-0804/ComfyUI/comfy/hooks.py", line 14, in <module>\n import comfy.lora\n File "/workspaces/SAM3-0804/ComfyUI/comfy/lora.py", line 23, in <module>\n import comfy.model_base\n File "/workspaces/SAM3-0804/ComfyUI/comfy/model_base.py", line 61, in <module>\n import comfy.ldm.hidream_o1.model\n File "/workspaces/SAM3-0804/ComfyUI/comfy/ldm/hidream_o1/model.py", line 20, in <module>\n from comfy.text_encoders.qwen35 import Qwen35VisionModel\n File "/workspaces/SAM3-0804/ComfyUI/comfy/text_encoders/qwen35.py", line 10, in <module>\n from comfy import sd1_clip\n File "/workspaces/SAM3-0804/ComfyUI/comfy/sd1_clip.py", line 3, in <module>\n from transformers import CLIPTokenizer\nModuleNotFoundError: No module named \'transformers\'\n\n', 'exception_type': 'comfy_env.isolation.workers.base.WorkerError', 'traceback': [' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 535, in execute\n output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 335, in get_output_data\n 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, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 297, in process_inputs\n result = f(**inputs)\n', ' File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/metadata.py", line 556, in proxy\n result = worker.call_method(\n module_name=mod,\n ...<4 lines>...\n timeout=600.0,\n )\n', ' File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/workers/subprocess.py", line 674, in call_method\n raise WorkerError(\n ...<2 lines>...\n )\n'], 'current_inputs': {'multi_prompts_store': ['[{"positive_points":[{"x":3348.288109906738,"y":2452.2208696844737}],"negative_points":[],"positive_boxes":[],"negative_boxes":[],"name":"Prompt 1"},{"positive_points":[],"negative_points":[],"positive_boxes":[],"negative_boxes":[],"name":"Prompt 2"}]'], 'sam3_model_config': ["{'checkpoint_path': '/workspaces/SAM3-0804/ComfyUI/models/sam3/sam3.safetensors', 'bpe_path': '/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3/bpe_simple_vocab_16e6.txt.gz', 'precision': 'auto', 'dtype': 'bf16', 'compile': False}"], 'image': ['tensor([[[[0.9176, 0.8392, 0.7333],\n [0.9294, 0.8471, 0.7412],\n [0.9176, 0.8353, 0.7294],\n ...,\n [0.8078, 0.6627, 0.4902],\n [0.8039, 0.6588, 0.4863],\n [0.8157, 0.6706, 0.4980]],\n\n [[0.9137, 0.8353, 0.7294],\n [0.9216, 0.8392, 0.7333],\n [0.9176, 0.8353, 0.7294],\n ...,\n [0.8039, 0.6588, 0.4863],\n [0.8039, 0.6588, 0.4863],\n [0.8118, 0.6667, 0.4941]],\n\n [[0.9137, 0.8314, 0.7255],\n [0.9137, 0.8314, 0.7255],\n [0.9176, 0.8353, 0.7294],\n ...,\n [0.8078, 0.6627, 0.4902],\n [0.8118, 0.6667, 0.4941],\n [0.8039, 0.6588, 0.4863]],\n\n ...,\n\n [[0.8667, 0.6784, 0.4902],\n [0.8706, 0.6824, 0.4941],\n [0.8706, 0.6824, 0.4941],\n ...,\n [0.6471, 0.4431, 0.2549],\n [0.6392, 0.4353, 0.2471],\n [0.6471, 0.4431, 0.2549]],\n\n [[0.8588, 0.6706, 0.4824],\n [0.8667, 0.6784, 0.4902],\n [0.8706, 0.6824, 0.4941],\n ...,\n [0.6431, 0.4392, 0.2510],\n [0.6471, 0.4431, 0.2549],\n [0.6549, 0.4510, 0.2627]],\n\n [[0.8627, 0.6745, 0.4863],\n [0.8667, 0.6784, 0.4902],\n [0.8784, 0.6902, 0.5020],\n ...,\n [0.6353, 0.4314, 0.2431],\n [0.6431, 0.4392, 0.2510],\n [0.6392, 0.4353, 0.2471]]]])'], 'unique_id': ['26'], 'prompt': ['{\'1\': {\'inputs\': {\'image\': \'image.png\'}, \'class_type\': \'LoadImage\', \'_meta\': {\'title\': \'Load Image\'}, \'is_changed\': [\'72785412200dcb9f5c6bc4eaa3018172293f67836627708e6bce78150109af15\']}, \'4\': {\'inputs\': {\'mask\': [\'26\', 0]}, \'class_type\': \'MaskPreview\', \'_meta\': {\'title\': \'Preview Mask\'}}, \'12\': {\'inputs\': {\'precision\': \'auto\', \'compile\': False}, \'class_type\': \'LoadSAM3Model\', \'_meta\': {\'title\': \'(Down)Load SAM3 Model\'}}, \'26\': {\'inputs\': {\'multi_prompts_store\': \'[{"positive_points":[{"x":3348.288109906738,"y":2452.2208696844737}],"negative_points":[],"positive_boxes":[],"negative_boxes":[],"name":"Prompt 1"},{"positive_points":[],"negative_points":[],"positive_boxes":[],"negative_boxes":[],"name":"Prompt 2"}]\', \'canvas\': \'\', \'sam3_model_config\': [\'12\', 0], \'image\': [\'1\', 0]}, \'class_type\': \'SAM3InteractiveCollector\', \'_meta\': {\'title\': \'SAM3 Interactive Collector\'}}}'], 'extra_pnginfo': ['{\'workflow\': {\'id\': \'9e5b67d0-53dc-42aa-bdb7-541f1939e114\', \'revision\': 0, \'last_node_id\': 26, \'last_link_id\': 57, \'nodes\': [{\'id\': 12, \'type\': \'LoadSAM3Model\', \'pos\': [619.424717299163, 120.03196674570798], \'size\': [270, 134.65625], \'flags\': {}, \'order\': 0, \'mode\': 0, \'inputs\': [], \'outputs\': [{\'name\': \'sam3_model_config\', \'type\': \'SAM3_MODEL_CONFIG\', \'links\': [55]}], \'properties\': {\'Node name for S&R\': \'LoadSAM3Model\', \'cnr_id\': \'comfyui-sam3\', \'ver\': \'82c8e4f88a6c0a9242712b827e05f5e67c4a90a7\', \'aux_id\': \'PozzettiAndrea/ComfyUI-SAM3\'}, \'widgets_values\': [\'auto\', False]}, {\'id\': 1, \'type\': \'LoadImage\', \'pos\': [488.1468326416015, 306.42935311583375], \'size\': [274.078125, 340], \'flags\': {}, \'order\': 1, \'mode\': 0, \'inputs\': [], \'outputs\': [{\'name\': \'IMAGE\', \'type\': \'IMAGE\', \'links\': [56]}, {\'name\': \'MASK\', \'type\': \'MASK\', \'links\': None}], \'properties\': {\'Node name for S&R\': \'LoadImage\', \'cnr_id\': \'comfy-core\', \'ver\': \'0.3.72\'}, \'widgets_values\': [\'image.png\', \'image\']}, {\'id\': 26, \'type\': \'SAM3InteractiveCollector\', \'pos\': [1010.2283851719152, 178.893439578179], \'size\': [400, 569], \'flags\': {}, \'order\': 2, \'mode\': 0, \'inputs\': [{\'name\': \'sam3_model_config\', \'type\': \'SAM3_MODEL_CONFIG\', \'link\': 55}, {\'name\': \'image\', \'type\': \'IMAGE\', \'link\': 56}], \'outputs\': [{\'name\': \'masks\', \'type\': \'MASK\', \'links\': [57]}, {\'name\': \'visualization\', \'type\': \'IMAGE\', \'links\': None}, {\'name\': \'multi_prompts\', \'type\': \'SAM3_MULTI_PROMPTS\', \'links\': None}], \'properties\': {\'Node name for S&R\': \'SAM3InteractiveCollector\', \'cnr_id\': \'comfyui-sam3\', \'ver\': \'c7636fa4a0b8c0fb07aa01f0c7749ebd5f9c92f3\'}, \'widgets_values\': [\'[{"positive_points":[{"x":3348.288109906738,"y":2452.2208696844737}],"negative_points":[],"positive_boxes":[],"negative_boxes":[],"name":"Prompt 1"},{"positive_points":[],"negative_points":[],"positive_boxes":[],"negative_boxes":[],"name":"Prompt 2"}]\', \'\']}, {\'id\': 4, \'type\': \'MaskPreview\', \'pos\': [1509.2821361303925, 266.63965000030805], \'size\': [225, 258], \'flags\': {}, \'order\': 3, \'mode\': 0, \'inputs\': [{\'name\': \'mask\', \'type\': \'MASK\', \'link\': 57}], \'outputs\': [], \'properties\': {\'Node name for S&R\': \'MaskPreview\', \'cnr_id\': \'comfy-core\', \'ver\': \'0.3.72\'}, \'widgets_values\': []}], \'links\': [[55, 12, 0, 26, 0, \'SAM3_MODEL_CONFIG\'], [56, 1, 0, 26, 1, \'IMAGE\'], [57, 26, 0, 4, 0, \'MASK\']], \'groups\': [], \'config\': {}, \'extra\': {\'ds\': {\'scale\': 1.2385275239783924, \'offset\': [-570.0951003265552, 14.632739985499132]}, \'frontendVersion\': \'1.43.18\', \'workflowRendererVersion\': \'LG\', \'VHS_latentpreview\': False, \'VHS_latentpreviewrate\': 0, \'VHS_MetadataImage\': True, \'VHS_KeepIntermediate\': True}, \'version\': 0.4}}']}, 'current_outputs': ['26', '1', '12', '4'], 'timestamp': 1778659856490}
|
|
|
|
Details:
|
|
Workflow: /node/ComfyUI-SAM3/workflows/scene_seg_interactive.json
|
|
Node error: SAM3InteractiveCollector
|
|
video_point_prompt.json: Workflow execution failed: {'prompt_id': '79543ad9-da72-4db9-a5e0-8110b6113270', 'node_id': '35', 'node_type': 'SAM3Propagate', 'executed': ['28', '9', '27', '30'], 'exception_message': 'No module named \'transformers\'\n\nWorker traceback:\nTraceback (most recent call last):\n File "/tmp/comfyui_pvenv_hqdlgfff/persistent_worker.py", line 1762, in main\n result = method(**inputs)\n File "/workspaces/SAM3-0804/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_video_nodes.py", line 422, in execute\n sam3_model = get_or_build_model(sam3_model_config)\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/_model_cache.py", line 31, in get_or_build_model\n from .sam3_model_patcher import SAM3UnifiedModel\n File "/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3_model_patcher.py", line 14, in <module>\n from comfy.model_patcher import ModelPatcher\n File "/workspaces/SAM3-0804/ComfyUI/comfy/model_patcher.py", line 32, in <module>\n import comfy.hooks\n File "/workspaces/SAM3-0804/ComfyUI/comfy/hooks.py", line 14, in <module>\n import comfy.lora\n File "/workspaces/SAM3-0804/ComfyUI/comfy/lora.py", line 23, in <module>\n import comfy.model_base\n File "/workspaces/SAM3-0804/ComfyUI/comfy/model_base.py", line 61, in <module>\n import comfy.ldm.hidream_o1.model\n File "/workspaces/SAM3-0804/ComfyUI/comfy/ldm/hidream_o1/model.py", line 20, in <module>\n from comfy.text_encoders.qwen35 import Qwen35VisionModel\n File "/workspaces/SAM3-0804/ComfyUI/comfy/text_encoders/qwen35.py", line 10, in <module>\n from comfy import sd1_clip\n File "/workspaces/SAM3-0804/ComfyUI/comfy/sd1_clip.py", line 3, in <module>\n from transformers import CLIPTokenizer\nModuleNotFoundError: No module named \'transformers\'\n\n', 'exception_type': 'comfy_env.isolation.workers.base.WorkerError', 'traceback': [' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 535, in execute\n output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 335, in get_output_data\n 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, v3_data=v3_data)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "/workspaces/SAM3-0804/ComfyUI/execution.py", line 297, in process_inputs\n result = f(**inputs)\n', ' File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/metadata.py", line 556, in proxy\n result = worker.call_method(\n module_name=mod,\n ...<4 lines>...\n timeout=600.0,\n )\n', ' File "/workspaces/SAM3-0804/.venv/lib/python3.13/site-packages/comfy_env/isolation/workers/subprocess.py", line 674, in call_method\n raise WorkerError(\n ...<2 lines>...\n )\n'], 'current_inputs': {'start_frame': [0], 'end_frame': [-1], 'direction': ['forward'], 'sam3_model_config': ["{'checkpoint_path': '/workspaces/SAM3-0804/ComfyUI/models/sam3/sam3.safetensors', 'bpe_path': '/workspaces/SAM3-0804/ComfyUI/custom_nodes/ComfyUI-SAM3/nodes/sam3/bpe_simple_vocab_16e6.txt.gz', 'precision': 'auto', 'dtype': 'bf16', 'compile': False}"], 'video_state': ["{'session_uuid': '416eb72a-08df-4e69-9b70-442f01747387', 'temp_dir': '/tmp/sam3_416eb72a_qiqkr31t', 'num_frames': 30, 'height': 544, 'width': 960, 'config': {'score_threshold_detection': 0.3, 'new_det_thresh': 0.4, 'fill_hole_area': 16, 'assoc_iou_thresh': 0.1, 'det_nms_thresh': 0.1, 'hotstart_unmatch_thresh': 8, 'hotstart_dup_thresh': 8, 'init_trk_keep_alive': 30, 'hotstart_delay': 15, 'decrease_keep_alive_empty': False, 'suppress_unmatched_globally': False}, 'prompts': [{'frame_idx': 0, 'prompt_type': 'point', 'obj_id': 1, 'data': [[[0.38107258850429115, 0.15094459502434338], [0.405779333510521, 0.3307995326922488], [0.43048607851675086, 0.09644309876134173]], [1, 1, 1]]}]}"]}, 'current_outputs': ['24', '14', '27', '30', '13', '28', '25', '9', '21', '15', '35'], 'timestamp': 1778659866814}
|
|
|
|
Details:
|
|
Workflow: /node/ComfyUI-SAM3/workflows/video_point_prompt.json
|
|
Node error: SAM3Propagate
|
|
[06:31] Stopping ComfyUI server...
|