[00:00] Crash dump logging enabled: C:\logs\SAM3-2207\dev\windows-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 at C:\workspaces\SAM3-2207\.venv... [00:00] Running: uv venv C:\workspaces\SAM3-2207\.venv --python 3.10 [00:01] Cloning ComfyUI (latest) to C:\workspaces\SAM3-2207\ComfyUI... [00:01] Running: git clone --depth 1 https://github.com/comfyanonymous/ComfyUI.git C:\workspaces\SAM3-2207\ComfyUI [00:03] Installing ComfyUI requirements into C:\workspaces\SAM3-2207\.venv... [00:03] comfyui-frontend-package==1.43.18 [00:03] comfyui-workflow-templates==0.9.73 [00:03] comfyui-embedded-docs==0.4.4 [00:03] torch [00:03] torchsde [00:03] torchvision [00:03] torchaudio [00:03] numpy>=1.25.0 [00:03] einops [00:03] transformers>=4.50.3 [00:03] tokenizers>=0.13.3 [00:03] sentencepiece [00:03] safetensors>=0.4.2 [00:03] aiohttp>=3.11.8 [00:03] yarl>=1.18.0 [00:03] pyyaml [00:03] Pillow [00:03] scipy [00:03] tqdm [00:03] psutil [00:03] alembic [00:03] SQLAlchemy>=2.0.0 [00:03] filelock [00:03] av>=14.2.0 [00:03] comfy-kitchen>=0.2.8 [00:03] comfy-aimdo==0.3.0 [00:03] requests [00:03] simpleeval>=1.0.0 [00:03] blake3 [00:03] [00:03] #non essential dependencies: [00:03] kornia>=0.7.1 [00:03] spandrel [00:03] pydantic~=2.0 [00:03] pydantic-settings~=2.0 [00:03] PyOpenGL [00:03] glfw [00:03] Running: uv pip install --python C:\workspaces\SAM3-2207\.venv\Scripts\python.exe --index-url https://download.pytorch.org/whl/cu128 --extra-index-url https://pypi.org/simple --index-strategy unsafe-best-match -r C:\workspaces\SAM3-2207\ComfyUI\requirements.txt [00:52] Installing custom node... [00:52] Copying ComfyUI-SAM3 to C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3... [00:52] Installing node requirements... [00:52] comfy-env==0.3.79 [00:52] comfy-3d-viewers==0.2.44 [00:52] Running: uv pip install --python C:\workspaces\SAM3-2207\.venv\Scripts\python.exe --index-url https://download.pytorch.org/whl/cu128 --extra-index-url https://pypi.org/simple --index-strategy unsafe-best-match -r C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\requirements.txt [00:54] Running install.py... [00:54] Running: C:\workspaces\SAM3-2207\.venv\Scripts\python.exe C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\install.py [00:56] [comfy-env] Enabled Windows long path support [00:56] [00:56] Installing 2 node dependencies... [00:56] Cloning ComfyUI-VideoHelperSuite... [00:57] Installing requirements for ComfyUI-VideoHelperSuite... [00:59] Cloning ComfyUI-Multiband... [01:00] Installing requirements for ComfyUI-Multiband... [01:00] [01:00] [requirements] Re-installing main package requirements... [01:00] Installing requirements for ComfyUI-SAM3... [01:02] [comfy-env] No custom-node comfy-env.toml files found -- skipping workspace install [01:02] [01:02] Installation complete! [01:02] Installing 2 node dependency(ies)... [01:02] ComfyUI-VideoHelperSuite from Kosinkadink/ComfyUI-VideoHelperSuite [01:02] ComfyUI-VideoHelperSuite already exists, skipping... [01:02] ComfyUI-Multiband from PozzettiAndrea/ComfyUI-Multiband [01:02] ComfyUI-Multiband already exists, skipping... [01:02] Installing validation endpoint... [01:02] Cloning PozzettiAndrea/ComfyUI-validate-endpoint... [01:02] Running: git clone --depth 1 https://github.com/PozzettiAndrea/ComfyUI-validate-endpoint.git C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-validate-endpoint [01:03] [INSTALL] PASSED [01:03] [01:03] [3/5] REGISTRATION [01:03] ---------------------------------------- [01:03] [DEBUG] server=None, server_url=None, api=None [01:03] Starting ComfyUI server... [01:03] Starting ComfyUI server on port 41895... [01:03] Starting ComfyUI server on port 41895... [01:03] Waiting for server to be ready (timeout: 600s)... [01:05] [ComfyUI] setup plugin alembic.autogenerate.schemas [01:05] [ComfyUI] setup plugin alembic.autogenerate.tables [01:05] [ComfyUI] setup plugin alembic.autogenerate.types [01:05] [ComfyUI] setup plugin alembic.autogenerate.constraints [01:05] [ComfyUI] setup plugin alembic.autogenerate.defaults [01:05] [ComfyUI] setup plugin alembic.autogenerate.comments [01:06] [ComfyUI] [comfy-env] ComfyUI-SAM3: 1 isolation env(s): [01:06] [ComfyUI] [comfy-env] nodes -> C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes [01:06] [ComfyUI] [comfy-env] prestartup complete [01:06] [ComfyUI] [01:06] [ComfyUI] Prestartup times for custom nodes: [01:06] [ComfyUI] 0.4 seconds: C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3 [01:06] [ComfyUI] [02:15] [ComfyUI] WARNING: You need pytorch with cu130 or higher to use optimized CUDA operations. [02:15] [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']} [02:15] [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']} [02:15] [ComfyUI] Found comfy_kitchen backend triton: {'available': False, 'disabled': True, 'unavailable_reason': "ImportError: No module named 'triton'", 'capabilities': []} [02:15] [ComfyUI] Checkpoint files will always be loaded safely. [02:16] [ComfyUI] Total VRAM 24576 MB, total RAM 32684 MB [02:16] [ComfyUI] pytorch version: 2.11.0+cu128 [02:16] [ComfyUI] Set vram state to: NORMAL_VRAM [02:16] [ComfyUI] Device: cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync [02:16] [ComfyUI] Using async weight offloading with 2 streams [02:16] [ComfyUI] Enabled pinned memory 13073.0 [02:17] [ComfyUI] Using pytorch attention [02:30] [ComfyUI] aimdo: src-win/cuda-detour.c:38:INFO:aimdo_setup_hooks: installing 6 hooks [02:30] [ComfyUI] aimdo: src-win/cuda-detour.c:28:DEBUG:install_hook_entries: hooks successfully installed [02:30] [ComfyUI] aimdo: src-win/shmem-detect.c:80:INFO:comfy-aimdo WDDM adapter match: NVIDIA GeForce RTX 3090 runtime_luid=00000000:012a5a1a dxgi_luid=00000000:012a5a1a [02:30] [ComfyUI] aimdo: src/control.c:152:INFO:comfy-aimdo inited for GPU: NVIDIA GeForce RTX 3090 (VRAM: 24575 MB) [02:30] [ComfyUI] DynamicVRAM support detected and enabled [02:30] [ComfyUI] Python version: 3.10.20 (main, May 8 2026, 18:34:06) [MSC v.1944 64 bit (AMD64)] [02:30] [ComfyUI] ComfyUI version: 0.20.1 [02:30] [ComfyUI] comfy-aimdo version: 0.3.0 [02:30] [ComfyUI] comfy-kitchen version: 0.2.8 [02:30] [ComfyUI] ****** User settings have been changed to be stored on the server instead of browser storage. ****** [02:30] [ComfyUI] ****** For multi-user setups add the --multi-user CLI argument to enable multiple user profiles. ****** [02:30] [ComfyUI] ComfyUI frontend version: 1.43.18 [02:30] [ComfyUI] [Prompt Server] web root: C:\workspaces\SAM3-2207\.venv\lib\site-packages\comfyui_frontend_package\static [02:30] [ComfyUI] Asset seeder disabled [02:34] [ComfyUI] ComfyUI-Multiband loaded: 15 nodes registered [02:34] [ComfyUI] [comfy-env] Version: 0.3.79 [02:35] [ComfyUI] [comfy-env] register_nodes: ComfyUI-SAM3 [02:35] [ComfyUI] [comfy-env] ComfyUI source dir: C:\workspaces\SAM3-2207\ComfyUI [02:35] [ComfyUI] [comfy-env] isolation env not found at C:\workspaces\SAM3-2207\ComfyUI\.ce\.pixi\envs\sam3-nodes: pixi has not materialized `sam3-nodes`; using in-process import. Run `comfy-env install` (or your node's `install.py`) to create it. [02:35] [ComfyUI] [comfy-env] Found 0 isolation env(s) [02:35] [ComfyUI] [comfy-env] Importing nodes (root)... [02:35] [ComfyUI] [comfy-env] Imported nodes root: 15 nodes [02:35] [ComfyUI] [comfy-env] isolation env not found at C:\workspaces\SAM3-2207\ComfyUI\.ce\.pixi\envs\sam3-nodes: pixi has not materialized `sam3-nodes`; using in-process import. Run `comfy-env install` (or your node's `install.py`) to create it. [02:35] [ComfyUI] [comfy-env] No env for nodes -- run 'comfy-env install' [02:35] [ComfyUI] [comfy-env] Registered 15 total nodes [02:38] [ComfyUI] [02:38] [ComfyUI] Import times for custom nodes: [02:38] [ComfyUI] 0.0 seconds: C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\websocket_image_save.py [02:38] [ComfyUI] 0.0 seconds: C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-validate-endpoint [02:38] [ComfyUI] 0.2 seconds: C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-Multiband [02:38] [ComfyUI] 0.8 seconds: C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3 [02:38] [ComfyUI] 2.4 seconds: C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite [02:38] [ComfyUI] [02:38] [ComfyUI] Context impl SQLiteImpl. [02:38] [ComfyUI] Will assume non-transactional DDL. [02:38] [ComfyUI] Context impl SQLiteImpl. [02:38] [ComfyUI] Will assume non-transactional DDL. [02:38] [ComfyUI] Running upgrade -> 0001_assets, Initial assets schema [02:38] [ComfyUI] Revision ID: 0001_assets [02:38] [ComfyUI] Revises: None [02:38] [ComfyUI] Create Date: 2025-12-10 00:00:00 [02:38] [ComfyUI] Running upgrade 0001_assets -> 0002_merge_to_asset_references, Merge AssetInfo and AssetCacheState into unified asset_references table. [02:38] [ComfyUI] Running upgrade 0002_merge_to_asset_references -> 0003_add_metadata_job_id, Add system_metadata and job_id columns to asset_references. [02:38] [ComfyUI] Change preview_id FK from assets.id to asset_references.id. [02:38] [ComfyUI] Database upgraded from None to 0003_add_metadata_job_id [02:38] [ComfyUI] Starting server [02:38] [ComfyUI] [02:38] [ComfyUI] To see the GUI go to: http://127.0.0.1:41895 [02:38] Server responding, waiting for nodes to load... [02:58] Server is ready! [02:58] Checking for import errors in server logs... [02:58] No import errors detected [02:58] Found 775 registered nodes [02:58] [REGISTRATION] PASSED [02:58] [02:58] [4/5] INSTANTIATION [02:58] ---------------------------------------- [02:58] [DEBUG] server=, server_url=None, api= [02:59] Testing node constructors... [03:04] All 15 node(s) instantiated successfully! [03:04] [INSTANTIATION] PASSED [03:04] [03:04] [5/5] EXECUTION [03:04] ---------------------------------------- [03:04] [DEBUG] server=, server_url=None, api= [03:04] GPU runner - will execute 5 workflow(s) [03:04] Running 5 workflow(s) (all with videos)... [03:04] Installing screenshot dependencies (playwright, pillow)... [03:06] Packages installed, downloading chromium browser... [03:23] Screenshot dependencies installed successfully [03:24] Starting headless browser... [03:24] Downloading Mesa llvmpipe for Windows... [03:25] Mesa download error: [03:25] Mesa unavailable -- falling back to SwiftShader [03:29] Capturing execution frames: image_seg_point.json [03:31] [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. [03:37] Frame 1 saved (frame_000.jpg, t=0.0s) [03:37] Validating workflow... [03:37] [ComfyUI] === /validate endpoint called === [03:37] [ComfyUI] Received JSON with keys: ['prompt'] [03:37] [ComfyUI] Prompt has 6 nodes [03:37] [ComfyUI] Node 1: LoadImage [03:37] [ComfyUI] Inputs: {"image": "example_image.jpg"} [03:37] Queuing workflow for execution... [03:37] [ComfyUI] Node 15: SAM3PointCollector [03:37] [ComfyUI] Inputs: {"points_store": "{\"positive\":[{\"x\":426.27735719657574,\"y\":321.42611685978835},{\"x\":417.13743597288953,\"y\":407.3413796907987},{\"x\":431.76130993078743,\"y\":549.9241563039649}],\"negative\" [03:37] [ComfyUI] Node 28: PreviewImage [03:37] [ComfyUI] Inputs: {"images": ["31", 2]} [03:37] [ComfyUI] Node 29: MaskPreview [03:37] [ComfyUI] Inputs: {"mask": ["31", 0]} [03:37] [ComfyUI] Node 30: LoadSAM3Model [03:37] [ComfyUI] Inputs: {"precision": "auto", "compile": false} [03:37] [ComfyUI] Node 31: SAM3Segmentation [03:37] [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]} [03:37] [ComfyUI] Generated prompt_id: fb007d5b-bb10-462c-8ef1-9d4c55538e8a [03:37] [ComfyUI] Calling execution.validate_prompt()... [03:37] [ComfyUI] Validation result: valid=True [03:37] [ComfyUI] === Validation PASSED === [03:37] [ComfyUI] got prompt [03:37] [ComfyUI] WARNING: 'NoneType' object has no attribute 'shape' [03:37] [ComfyUI] CACHE MISS - computing new result for key=d9204c29 [03:37] [ComfyUI] Collected 3 positive, 0 negative points [03:37] [ComfyUI] Image dimensions: 1280x720 [03:37] [ComfyUI] Positive point: (426.3, 321.4) -> (0.333, 0.446) [03:37] [ComfyUI] Positive point: (417.1, 407.3) -> (0.326, 0.566) [03:37] [ComfyUI] Positive point: (431.8, 549.9) -> (0.337, 0.764) [03:37] [ComfyUI] Output: 3 positive, 0 negative [03:37] [ComfyUI] [SAM3] Model not found at C:\workspaces\SAM3-2207\ComfyUI\models\sam3\sam3.safetensors, downloading from HuggingFace... [03:37] [ComfyUI] [SAM3] Downloading sam3.safetensors from apozz/sam3-safetensors... [03:37] Node executed (1 total), capturing... [03:37] Frame 2 saved (frame_001.jpg, t=0.6s) [03:37] [capture-node] freeze=5ms shot=150ms unfreeze=6ms saved=True [03:40] Frame 3 saved (frame_002.jpg, t=2.9s) [03:40] [capture-periodic] freeze=4ms shot=138ms unfreeze=5ms saved=True [03:40] [ComfyUI] [SAM3] Download progress: 10% [03:42] Frame 4 saved (frame_003.jpg, t=5.2s) [03:42] [capture-periodic] freeze=8ms shot=141ms unfreeze=10ms saved=True [03:43] [ComfyUI] [SAM3] Download progress: 20% [03:44] [capture-loop] iter=50 t=6.7s state={'complete': False, 'error': None, 'executedCount': 1, 'wsState': 1} eval_ms=5 ram=7.6/31.9GB (24%) swap=0.2/11.4GB (2%) cpu=5% browser_rss=0.72GB [03:44] Frame 5 saved (frame_004.jpg, t=7.4s) [03:44] [capture-periodic] freeze=4ms shot=144ms unfreeze=5ms saved=True [03:46] [ComfyUI] [SAM3] Download progress: 30% [03:47] Frame 6 saved (frame_005.jpg, t=9.7s) [03:47] [capture-periodic] freeze=7ms shot=137ms unfreeze=5ms saved=True [03:49] Frame 7 saved (frame_006.jpg, t=12.0s) [03:49] [capture-periodic] freeze=9ms shot=151ms unfreeze=5ms saved=True [03:49] [ComfyUI] [SAM3] Download progress: 40% [03:50] [capture-loop] iter=100 t=13.6s state={'complete': False, 'error': None, 'executedCount': 1, 'wsState': 1} eval_ms=4 ram=8.2/31.9GB (26%) swap=0.2/11.4GB (2%) cpu=7% browser_rss=0.74GB [03:51] Frame 8 saved (frame_007.jpg, t=14.2s) [03:51] [capture-periodic] freeze=4ms shot=150ms unfreeze=5ms saved=True [03:52] [ComfyUI] [SAM3] Download progress: 50% [03:53] Frame 9 saved (frame_008.jpg, t=16.5s) [03:53] [capture-periodic] freeze=4ms shot=153ms unfreeze=5ms saved=True [03:55] [ComfyUI] [SAM3] Download progress: 60% [03:56] Frame 10 saved (frame_009.jpg, t=18.8s) [03:56] [capture-periodic] freeze=7ms shot=139ms unfreeze=5ms saved=True [03:57] [capture-loop] iter=150 t=19.9s state={'complete': False, 'error': None, 'executedCount': 1, 'wsState': 1} eval_ms=4 ram=8.5/31.9GB (26%) swap=0.2/11.4GB (2%) cpu=10% browser_rss=0.76GB [03:58] Frame 11 saved (frame_010.jpg, t=21.0s) [03:58] [capture-periodic] freeze=5ms shot=151ms unfreeze=7ms saved=True [03:58] [ComfyUI] [SAM3] Download progress: 70% [04:00] Frame 12 saved (frame_011.jpg, t=23.3s) [04:00] [capture-periodic] freeze=4ms shot=166ms unfreeze=5ms saved=True [04:01] [ComfyUI] [SAM3] Download progress: 80% [04:02] Frame 13 saved (frame_012.jpg, t=25.6s) [04:02] [capture-periodic] freeze=4ms shot=140ms unfreeze=5ms saved=True [04:03] [capture-loop] iter=200 t=26.2s state={'complete': False, 'error': None, 'executedCount': 1, 'wsState': 1} eval_ms=8 ram=8.5/31.9GB (27%) swap=0.2/11.4GB (2%) cpu=10% browser_rss=0.76GB [04:04] [ComfyUI] [SAM3] Download progress: 90% [04:05] Frame 14 saved (frame_013.jpg, t=27.8s) [04:05] [capture-periodic] freeze=4ms shot=161ms unfreeze=5ms saved=True [04:07] Frame 15 saved (frame_014.jpg, t=30.1s) [04:07] [capture-periodic] freeze=4ms shot=143ms unfreeze=4ms saved=True [04:07] [ComfyUI] [SAM3] Download progress: 100% [04:07] [ComfyUI] [SAM3] Downloaded sam3.safetensors [04:07] [ComfyUI] [SAM3] Model downloaded successfully [04:07] [ComfyUI] Resolved precision: auto -> bf16 [04:07] [ComfyUI] SAM3 model cache miss � building model... [04:07] [ComfyUI] !!! Exception during processing !!! No module named 'timm' [04:07] [ComfyUI] Traceback (most recent call last): [04:07] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\sam3\model.py", line 58, in [04:07] [ComfyUI] from timm.layers import DropPath, trunc_normal_ [04:07] [ComfyUI] ModuleNotFoundError: No module named 'timm' [04:07] [ComfyUI] [04:07] [ComfyUI] During handling of the above exception, another exception occurred: [04:07] [ComfyUI] [04:07] [ComfyUI] Traceback (most recent call last): [04:07] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\execution.py", line 535, in execute [04:07] [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) [04:07] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\execution.py", line 335, in get_output_data [04:07] [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) [04:07] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\execution.py", line 309, in _async_map_node_over_list [04:07] [ComfyUI] await process_inputs(input_dict, i) [04:07] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\execution.py", line 297, in process_inputs [04:07] [ComfyUI] result = f(**inputs) [04:07] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\comfy_api\internal\__init__.py", line 149, in wrapped_func [04:07] [ComfyUI] return method(locked_class, **inputs) [04:07] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\comfy_api\latest\_io.py", line 1833, in EXECUTE_NORMALIZED [04:07] [ComfyUI] to_return = cls.execute(*args, **kwargs) [04:07] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\segmentation.py", line 469, in execute [04:07] [ComfyUI] sam3_model = get_or_build_model(sam3_model_config) [04:07] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\_model_cache.py", line 32, in get_or_build_model [04:07] [ComfyUI] from .sam3.predictor import Sam3VideoPredictor [04:07] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\sam3\__init__.py", line 61, in [04:07] [ComfyUI] from .model import ( [04:07] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\sam3\model.py", line 60, in [04:07] [ComfyUI] from timm.models.layers import DropPath, trunc_normal_ [04:07] [ComfyUI] ModuleNotFoundError: No module named 'timm' [04:07] [ComfyUI] [04:07] [ComfyUI] Prompt executed in 30.28 seconds [04:07] Execution complete (t=30.6s) [04:07] Execution error: {'prompt_id': '86023375-1e85-4626-b82c-f22228be60f2', 'node_id': '31', 'node_type': 'SAM3Segmentation', 'executed': ['1', '30', '15'], 'exception_message': "No module named 'timm'\n", 'exception_type': 'ModuleNotFoundError', 'traceback': [' File "C:\\workspaces\\SAM3-2207\\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', ' File "C:\\workspaces\\SAM3-2207\\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', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\execution.py", line 297, in process_inputs\n result = f(**inputs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\comfy_api\\internal\\__init__.py", line 149, in wrapped_func\n return method(locked_class, **inputs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\comfy_api\\latest\\_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\segmentation.py", line 469, in execute\n sam3_model = get_or_build_model(sam3_model_config)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\_model_cache.py", line 32, in get_or_build_model\n from .sam3.predictor import Sam3VideoPredictor\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\sam3\\__init__.py", line 61, in \n from .model import (\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\sam3\\model.py", line 60, in \n from timm.models.layers import DropPath, trunc_normal_\n'], 'current_inputs': {'refinement_iterations': [0], 'use_multimask': [True], 'output_best_mask': [True], 'sam3_model_config': ["{'checkpoint_path': 'C:\\\\workspaces\\\\SAM3-2207\\\\ComfyUI\\\\models\\\\sam3\\\\sam3.safetensors', 'bpe_path': 'C:\\\\workspaces\\\\SAM3-2207\\\\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': ['31', '1', '29', '30', '15', '28'], 'timestamp': 1778443891860} [04:08] Capturing execution frames: image_seg_text.json [04:08] [ComfyUI] Exception in callback _ProactorBasePipeTransport._call_connection_lost(None) [04:08] [ComfyUI] handle: [04:08] [ComfyUI] Traceback (most recent call last): [04:08] [ComfyUI] File "C:\Users\ContainerAdministrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\asyncio\events.py", line 80, in _run [04:08] [ComfyUI] self._context.run(self._callback, *self._args) [04:08] [ComfyUI] File "C:\Users\ContainerAdministrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\asyncio\proactor_events.py", line 165, in _call_connection_lost [04:08] [ComfyUI] self._sock.shutdown(socket.SHUT_RDWR) [04:08] [ComfyUI] ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host [04:13] Frame 1 saved (frame_000.jpg, t=0.0s) [04:13] Validating workflow... [04:13] [ComfyUI] === /validate endpoint called === [04:13] [ComfyUI] Received JSON with keys: ['prompt'] [04:13] [ComfyUI] Prompt has 5 nodes [04:13] [ComfyUI] Node 1: LoadImage [04:13] Queuing workflow for execution... [04:13] [ComfyUI] Inputs: {"image": "example_image.jpg"} [04:13] [ComfyUI] Node 3: PreviewImage [04:13] [ComfyUI] Inputs: {"images": ["15", 1]} [04:13] [ComfyUI] Node 4: MaskPreview [04:13] [ComfyUI] Inputs: {"mask": ["15", 0]} [04:13] [ComfyUI] Node 12: LoadSAM3Model [04:13] [ComfyUI] Inputs: {"precision": "fp32", "compile": false} [04:13] [ComfyUI] Node 15: SAM3Grounding [04:13] [ComfyUI] Inputs: {"confidence_threshold": 0.2, "text_prompt": "child", "max_detections": -1, "sam3_model_config": ["12", 0], "image": ["1", 0]} [04:13] [ComfyUI] Generated prompt_id: 4b286b0b-0a27-43b7-ab6a-20f281bf78a8 [04:13] [ComfyUI] Calling execution.validate_prompt()... [04:13] [ComfyUI] Validation result: valid=True [04:13] [ComfyUI] === Validation PASSED === [04:13] [ComfyUI] got prompt [04:13] [ComfyUI] Resolved precision: fp32 -> fp32 [04:13] [ComfyUI] SAM3 model cache miss � building model... [04:13] [ComfyUI] !!! Exception during processing !!! No module named 'timm' [04:13] [ComfyUI] Traceback (most recent call last): [04:13] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\sam3\model.py", line 58, in [04:13] [ComfyUI] from timm.layers import DropPath, trunc_normal_ [04:13] [ComfyUI] ModuleNotFoundError: No module named 'timm' [04:13] [ComfyUI] [04:13] [ComfyUI] During handling of the above exception, another exception occurred: [04:13] [ComfyUI] [04:13] [ComfyUI] Traceback (most recent call last): [04:13] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\execution.py", line 535, in execute [04:13] [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) [04:13] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\execution.py", line 335, in get_output_data [04:13] [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) [04:13] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\execution.py", line 309, in _async_map_node_over_list [04:13] [ComfyUI] await process_inputs(input_dict, i) [04:13] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\execution.py", line 297, in process_inputs [04:13] [ComfyUI] result = f(**inputs) [04:13] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\comfy_api\internal\__init__.py", line 149, in wrapped_func [04:13] [ComfyUI] return method(locked_class, **inputs) [04:13] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\comfy_api\latest\_io.py", line 1833, in EXECUTE_NORMALIZED [04:13] [ComfyUI] to_return = cls.execute(*args, **kwargs) [04:13] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\segmentation.py", line 86, in execute [04:13] [ComfyUI] sam3_model = get_or_build_model(sam3_model_config) [04:13] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\_model_cache.py", line 32, in get_or_build_model [04:13] [ComfyUI] from .sam3.predictor import Sam3VideoPredictor [04:13] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\sam3\__init__.py", line 61, in [04:13] [ComfyUI] from .model import ( [04:13] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\sam3\model.py", line 60, in [04:13] [ComfyUI] from timm.models.layers import DropPath, trunc_normal_ [04:13] [ComfyUI] ModuleNotFoundError: No module named 'timm' [04:13] [ComfyUI] [04:13] [ComfyUI] Prompt executed in 0.05 seconds [04:14] Execution complete (t=0.4s) [04:14] Execution error: {'prompt_id': '260bc77d-fe5b-4b81-97e6-1a0685f84c2c', 'node_id': '15', 'node_type': 'SAM3Grounding', 'executed': ['12', '1'], 'exception_message': "No module named 'timm'\n", 'exception_type': 'ModuleNotFoundError', 'traceback': [' File "C:\\workspaces\\SAM3-2207\\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', ' File "C:\\workspaces\\SAM3-2207\\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', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\execution.py", line 297, in process_inputs\n result = f(**inputs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\comfy_api\\internal\\__init__.py", line 149, in wrapped_func\n return method(locked_class, **inputs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\comfy_api\\latest\\_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\segmentation.py", line 86, in execute\n sam3_model = get_or_build_model(sam3_model_config)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\_model_cache.py", line 32, in get_or_build_model\n from .sam3.predictor import Sam3VideoPredictor\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\sam3\\__init__.py", line 61, in \n from .model import (\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\sam3\\model.py", line 60, in \n from timm.models.layers import DropPath, trunc_normal_\n'], 'current_inputs': {'confidence_threshold': [0.2], 'text_prompt': ['child'], 'max_detections': [-1], 'sam3_model_config': ["{'checkpoint_path': 'C:\\\\workspaces\\\\SAM3-2207\\\\ComfyUI\\\\models\\\\sam3\\\\sam3.safetensors', 'bpe_path': 'C:\\\\workspaces\\\\SAM3-2207\\\\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': ['12', '1', '4', '15', '3'], 'timestamp': 1778443898050} [04:14] Capturing execution frames: scene_seg.json [04:14] [ComfyUI] Exception in callback _ProactorBasePipeTransport._call_connection_lost(None) [04:14] [ComfyUI] handle: [04:14] [ComfyUI] Traceback (most recent call last): [04:14] [ComfyUI] File "C:\Users\ContainerAdministrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\asyncio\events.py", line 80, in _run [04:14] [ComfyUI] self._context.run(self._callback, *self._args) [04:14] [ComfyUI] File "C:\Users\ContainerAdministrator\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\asyncio\proactor_events.py", line 165, in _call_connection_lost [04:14] [ComfyUI] self._sock.shutdown(socket.SHUT_RDWR) [04:14] [ComfyUI] ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host [04:20] Frame 1 saved (frame_000.jpg, t=0.0s) [04:20] Validating workflow... [04:20] [ComfyUI] === /validate endpoint called === [04:20] [ComfyUI] Received JSON with keys: ['prompt'] [04:20] [ComfyUI] Prompt has 10 nodes [04:20] [ComfyUI] Node 1: LoadImage [04:20] Queuing workflow for execution... [04:20] [ComfyUI] Inputs: {"image": "image.png"} [04:20] [ComfyUI] Node 3: PreviewImage [04:20] [ComfyUI] Inputs: {"images": ["27", 1]} [04:20] [ComfyUI] Node 4: MaskPreview [04:20] [ComfyUI] Inputs: {"mask": ["27", 0]} [04:20] [ComfyUI] Node 12: LoadSAM3Model [04:20] [ComfyUI] Inputs: {"precision": "fp32", "compile": false} [04:20] [ComfyUI] Node 20: SAM3MultiRegionCollector [04:20] [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},{ [04:20] [ComfyUI] Node 22: MultibandFromBatch [04:20] [ComfyUI] Inputs: {"images": ["1", 0], "masks": ["27", 0]} [04:20] [ComfyUI] Node 23: MultibandSave [04:20] [ComfyUI] Inputs: {"file_path": "output/multiband", "format": "npz", "multiband": ["26", 0]} [04:20] [ComfyUI] Node 24: MultibandPreview [04:20] [ComfyUI] Inputs: {"channel_index": 0, "multiband": ["26", 0]} [04:20] [ComfyUI] Node 26: MultibandResize [04:20] [ComfyUI] Inputs: {"upscale_method": "nearest-exact", "width": 900, "height": 600, "crop": "center", "multiband": ["22", 0]} [04:20] [ComfyUI] Node 27: SAM3MultipromptSegmentation [04:20] [ComfyUI] Inputs: {"refinement_iterations": 0, "use_multimask": false, "sam3_model_config": ["12", 0], "image": ["1", 0], "multi_prompts": ["20", 0]} [04:20] [ComfyUI] Generated prompt_id: f09fac32-da84-434f-b2ca-7ac01b201308 [04:20] [ComfyUI] Calling execution.validate_prompt()... [04:20] [ComfyUI] Validation result: valid=True [04:20] [ComfyUI] === Validation PASSED === [04:20] [ComfyUI] got prompt [04:20] [ComfyUI] WARNING: 'NoneType' object has no attribute 'shape' [04:20] [ComfyUI] CACHE MISS - computing new result for key=35316a77 [04:20] [ComfyUI] Image dimensions: 6720x4480 [04:20] [ComfyUI] Processing 7 prompt regions [04:20] [ComfyUI] Prompt 0: 10 pos pts, 0 neg pts, 1 pos boxes, 0 neg boxes [04:20] [ComfyUI] Prompt 1: 7 pos pts, 16 neg pts, 1 pos boxes, 0 neg boxes [04:20] [ComfyUI] Prompt 2: 7 pos pts, 14 neg pts, 1 pos boxes, 0 neg boxes [04:20] [ComfyUI] Prompt 3: 1 pos pts, 0 neg pts, 1 pos boxes, 0 neg boxes [04:20] [ComfyUI] Prompt 4: 1 pos pts, 0 neg pts, 1 pos boxes, 0 neg boxes [04:20] [ComfyUI] Prompt 5: 13 pos pts, 0 neg pts, 1 pos boxes, 0 neg boxes [04:20] [ComfyUI] Prompt 6: 6 pos pts, 0 neg pts, 1 pos boxes, 0 neg boxes [04:20] [ComfyUI] Output: 7 non-empty prompts [04:21] [ComfyUI] Resolved precision: fp32 -> fp32 [04:21] [ComfyUI] SAM3 model cache miss � building model... [04:21] [ComfyUI] !!! Exception during processing !!! No module named 'timm' [04:21] [ComfyUI] Traceback (most recent call last): [04:21] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\sam3\model.py", line 58, in [04:21] [ComfyUI] from timm.layers import DropPath, trunc_normal_ [04:21] [ComfyUI] ModuleNotFoundError: No module named 'timm' [04:21] [ComfyUI] [04:21] [ComfyUI] During handling of the above exception, another exception occurred: [04:21] [ComfyUI] [04:21] [ComfyUI] Traceback (most recent call last): [04:21] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\execution.py", line 535, in execute [04:21] [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) [04:21] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\execution.py", line 335, in get_output_data [04:21] [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) [04:21] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\execution.py", line 309, in _async_map_node_over_list [04:21] [ComfyUI] await process_inputs(input_dict, i) [04:21] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\execution.py", line 297, in process_inputs [04:21] [ComfyUI] result = f(**inputs) [04:21] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\comfy_api\internal\__init__.py", line 149, in wrapped_func [04:21] [ComfyUI] return method(locked_class, **inputs) [04:21] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\comfy_api\latest\_io.py", line 1833, in EXECUTE_NORMALIZED [04:21] [ComfyUI] to_return = cls.execute(*args, **kwargs) [04:21] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\segmentation.py", line 695, in execute [04:21] [ComfyUI] sam3_model = get_or_build_model(sam3_model_config) [04:21] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\_model_cache.py", line 32, in get_or_build_model [04:21] [ComfyUI] from .sam3.predictor import Sam3VideoPredictor [04:21] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\sam3\__init__.py", line 61, in [04:21] [ComfyUI] from .model import ( [04:21] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\sam3\model.py", line 60, in [04:21] [ComfyUI] from timm.models.layers import DropPath, trunc_normal_ [04:21] [ComfyUI] ModuleNotFoundError: No module named 'timm' [04:21] [ComfyUI] [04:21] [ComfyUI] Prompt executed in 1.22 seconds [04:21] Node executed (1 total), capturing... [04:22] Frame 2 saved (frame_001.jpg, t=2.1s) [04:22] [capture-node] freeze=61ms shot=322ms unfreeze=0ms saved=True [04:22] Execution complete (t=2.1s) [04:22] Execution error: {'prompt_id': '71c3363c-b69c-4635-a6d2-719308767ae1', 'node_id': '27', 'node_type': 'SAM3MultipromptSegmentation', 'executed': ['12', '1', '20'], 'exception_message': "No module named 'timm'\n", 'exception_type': 'ModuleNotFoundError', 'traceback': [' File "C:\\workspaces\\SAM3-2207\\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', ' File "C:\\workspaces\\SAM3-2207\\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', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\execution.py", line 297, in process_inputs\n result = f(**inputs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\comfy_api\\internal\\__init__.py", line 149, in wrapped_func\n return method(locked_class, **inputs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\comfy_api\\latest\\_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\segmentation.py", line 695, in execute\n sam3_model = get_or_build_model(sam3_model_config)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\_model_cache.py", line 32, in get_or_build_model\n from .sam3.predictor import Sam3VideoPredictor\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\sam3\\__init__.py", line 61, in \n from .model import (\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\sam3\\model.py", line 60, in \n from timm.models.layers import DropPath, trunc_normal_\n'], 'current_inputs': {'refinement_iterations': [0], 'use_multimask': [False], 'sam3_model_config': ["{'checkpoint_path': 'C:\\\\workspaces\\\\SAM3-2207\\\\ComfyUI\\\\models\\\\sam3\\\\sam3.safetensors', 'bpe_path': 'C:\\\\workspaces\\\\SAM3-2207\\\\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': ['12', '26', '1', '24', '20', '23', '4', '22', '3', '27'], 'timestamp': 1778443905617} [04:22] Capturing execution frames: scene_seg_interactive.json [04:28] Frame 1 saved (frame_000.jpg, t=0.0s) [04:28] Validating workflow... [04:28] [ComfyUI] === /validate endpoint called === [04:28] [ComfyUI] Received JSON with keys: ['prompt'] [04:28] [ComfyUI] Prompt has 4 nodes [04:28] [ComfyUI] Node 1: LoadImage [04:28] Queuing workflow for execution... [04:28] [ComfyUI] Inputs: {"image": "image.png"} [04:28] [ComfyUI] Node 4: MaskPreview [04:28] [ComfyUI] Inputs: {"mask": ["26", 0]} [04:28] [ComfyUI] Node 12: LoadSAM3Model [04:28] [ComfyUI] Inputs: {"precision": "auto", "compile": false} [04:28] [ComfyUI] Node 26: SAM3InteractiveCollector [04:28] [ComfyUI] Inputs: {"multi_prompts_store": "[{\"positive_points\":[{\"x\":3348.288109906738,\"y\":2452.2208696844737}],\"negative_points\":[],\"positive_boxes\":[],\"negative_boxes\":[],\"name\":\"Prompt 1\"},{\"positiv [04:28] [ComfyUI] Generated prompt_id: b1da449f-6171-4ba2-ab2a-98407280d909 [04:28] [ComfyUI] Calling execution.validate_prompt()... [04:28] [ComfyUI] Validation result: valid=True [04:28] [ComfyUI] === Validation PASSED === [04:28] [ComfyUI] got prompt [04:28] [ComfyUI] WARNING: 'NoneType' object has no attribute 'shape' [04:29] [ComfyUI] Resolved precision: auto -> bf16 [04:29] [ComfyUI] SAM3 model cache miss � building model... [04:29] [ComfyUI] !!! Exception during processing !!! No module named 'timm' [04:29] [ComfyUI] Traceback (most recent call last): [04:29] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\sam3\model.py", line 58, in [04:29] [ComfyUI] from timm.layers import DropPath, trunc_normal_ [04:29] [ComfyUI] ModuleNotFoundError: No module named 'timm' [04:29] [ComfyUI] [04:29] [ComfyUI] During handling of the above exception, another exception occurred: [04:29] [ComfyUI] [04:29] [ComfyUI] Traceback (most recent call last): [04:29] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\execution.py", line 535, in execute [04:29] [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) [04:29] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\execution.py", line 335, in get_output_data [04:29] [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) [04:29] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\execution.py", line 309, in _async_map_node_over_list [04:29] [ComfyUI] await process_inputs(input_dict, i) [04:29] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\execution.py", line 297, in process_inputs [04:29] [ComfyUI] result = f(**inputs) [04:29] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\comfy_api\internal\__init__.py", line 149, in wrapped_func [04:29] [ComfyUI] return method(locked_class, **inputs) [04:29] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\comfy_api\latest\_io.py", line 1833, in EXECUTE_NORMALIZED [04:29] [ComfyUI] to_return = cls.execute(*args, **kwargs) [04:29] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\sam3_interactive.py", line 667, in execute [04:29] [ComfyUI] sam3_model = get_or_build_model(sam3_model_config) [04:29] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\_model_cache.py", line 32, in get_or_build_model [04:29] [ComfyUI] from .sam3.predictor import Sam3VideoPredictor [04:29] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\sam3\__init__.py", line 61, in [04:29] [ComfyUI] from .model import ( [04:29] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\sam3\model.py", line 60, in [04:29] [ComfyUI] from timm.models.layers import DropPath, trunc_normal_ [04:29] [ComfyUI] ModuleNotFoundError: No module named 'timm' [04:29] [ComfyUI] [04:29] [ComfyUI] Prompt executed in 0.76 seconds [04:29] Execution complete (t=1.0s) [04:29] Execution error: {'prompt_id': 'a9a9115b-eec6-4d35-b9e2-fcef958a13da', 'node_id': '26', 'node_type': 'SAM3InteractiveCollector', 'executed': ['12', '1'], 'exception_message': "No module named 'timm'\n", 'exception_type': 'ModuleNotFoundError', 'traceback': [' File "C:\\workspaces\\SAM3-2207\\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', ' File "C:\\workspaces\\SAM3-2207\\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', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\execution.py", line 297, in process_inputs\n result = f(**inputs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\comfy_api\\internal\\__init__.py", line 149, in wrapped_func\n return method(locked_class, **inputs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\comfy_api\\latest\\_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n', ' File "C:\\workspaces\\SAM3-2207\\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 "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\_model_cache.py", line 32, in get_or_build_model\n from .sam3.predictor import Sam3VideoPredictor\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\sam3\\__init__.py", line 61, in \n from .model import (\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\sam3\\model.py", line 60, in \n from timm.models.layers import DropPath, trunc_normal_\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': 'C:\\\\workspaces\\\\SAM3-2207\\\\ComfyUI\\\\models\\\\sam3\\\\sam3.safetensors', 'bpe_path': 'C:\\\\workspaces\\\\SAM3-2207\\\\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]]]])']}, 'current_outputs': ['12', '1', '4', '26'], 'timestamp': 1778443913511} [04:29] Capturing execution frames: video_point_prompt.json [04:35] Frame 1 saved (frame_000.jpg, t=0.0s) [04:35] Validating workflow... [04:35] [ComfyUI] === /validate endpoint called === [04:35] [ComfyUI] Received JSON with keys: ['prompt'] [04:35] [ComfyUI] Prompt has 11 nodes [04:35] [ComfyUI] Node 9: VHS_LoadVideo [04:35] [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"} [04:35] Queuing workflow for execution... [04:35] [ComfyUI] Node 13: CreateVideo [04:35] [ComfyUI] Inputs: {"fps": 30, "images": ["14", 0]} [04:35] [ComfyUI] Node 14: MaskToImage [04:35] [ComfyUI] Inputs: {"mask": ["21", 0]} [04:35] [ComfyUI] Node 15: SaveVideo [04:35] [ComfyUI] Inputs: {"filename_prefix": "video/ComfyUI", "format": "auto", "codec": "auto", "video": ["13", 0]} [04:35] [ComfyUI] Node 21: SAM3VideoOutput [04:35] [ComfyUI] Inputs: {"obj_id": 0, "plot_all_masks": true, "masks": ["35", 0], "video_state": ["35", 2], "scores": ["35", 1]} [04:35] [ComfyUI] Node 24: CreateVideo [04:35] [ComfyUI] Inputs: {"fps": 30, "images": ["21", 2]} [04:35] [ComfyUI] Node 25: SaveVideo [04:35] [ComfyUI] Inputs: {"filename_prefix": "video/ComfyUI", "format": "auto", "codec": "auto", "video": ["24", 0]} [04:35] [ComfyUI] Node 27: SAM3VideoSegmentation [04:35] [ComfyUI] Inputs: {"prompt_mode": "point", "frame_idx": 0.3, "score_threshold": 0.3, "video_frames": ["9", 0], "positive_points": ["28", 0]} [04:35] [ComfyUI] Node 28: SAM3PointCollector [04:35] [ComfyUI] Inputs: {"points_store": "{\"positive\":[{\"x\":365.8296849641195,\"y\":82.1138596932428},{\"x\":389.5481601701001,\"y\":179.95494578458334},{\"x\":413.26663537608084,\"y\":52.465045726169905}],\"negative\":[ [04:35] [ComfyUI] Node 30: LoadSAM3Model [04:35] [ComfyUI] Inputs: {"precision": "auto", "compile": false} [04:35] [ComfyUI] Node 35: SAM3Propagate [04:35] [ComfyUI] Inputs: {"start_frame": 0, "end_frame": -1, "direction": "forward", "sam3_model_config": ["30", 0], "video_state": ["27", 0]} [04:35] [ComfyUI] Generated prompt_id: c2ecb26c-833c-4f98-816b-44e84ea98ae7 [04:35] [ComfyUI] Calling execution.validate_prompt()... [04:35] [ComfyUI] Validation result: valid=True [04:35] [ComfyUI] === Validation PASSED === [04:35] [ComfyUI] got prompt [04:35] [ComfyUI] fingerprint_inputs SAM3Propagate: session=None [04:35] [ComfyUI] fingerprint_inputs SAM3Propagate: returning (None, None, 0, -1, 'forward') [04:35] [ComfyUI] fingerprint_inputs SAM3VideoSegmentation: video_hash=9356dabdc8862dff08a9ab9d174121c1, prompt_mode=point [04:35] [ComfyUI] fingerprint_inputs SAM3VideoSegmentation: positive_points=None [04:35] [ComfyUI] fingerprint_inputs SAM3VideoSegmentation: negative_points=None [04:35] [ComfyUI] fingerprint_inputs SAM3VideoSegmentation: returning hash=5079830374410607645 [04:35] [ComfyUI] WARNING: 'NoneType' object has no attribute 'shape' [04:37] [ComfyUI] CACHE MISS - computing new result for key=d7f60d60 [04:37] [ComfyUI] Collected 3 positive, 0 negative points [04:37] [ComfyUI] Image dimensions: 960x544 [04:37] [ComfyUI] Positive point: (365.8, 82.1) -> (0.381, 0.151) [04:37] [ComfyUI] Positive point: (389.5, 180.0) -> (0.406, 0.331) [04:37] [ComfyUI] Positive point: (413.3, 52.5) -> (0.430, 0.096) [04:37] [ComfyUI] Output: 3 positive, 0 negative [04:37] [ComfyUI] CACHE MISS - computing new video_state for key=1a64b375 [04:37] [ComfyUI] [MEM] Before video segmentation: VRAM 0.00GB alloc / 0.00GB reserved | RAM: 1.09GB (process), 8.1/31.9GB (system) [04:37] [ComfyUI] Saving 30 frames to C:\Users\ContainerAdministrator\AppData\Local\Temp\sam3_b380dbbd_b4vrzunp [04:38] Frame 2 saved (frame_001.jpg, t=2.3s) [04:38] [capture-periodic] freeze=6ms shot=152ms unfreeze=19ms saved=True [04:38] Node executed (1 total), capturing... [04:38] [ComfyUI] Frames saved successfully [04:38] [ComfyUI] Initialized session b380dbbd [04:38] [ComfyUI] Frames: 30, Size: 960x544 [04:38] [ComfyUI] Prompt mode: point [04:38] [ComfyUI] Added point prompt: obj=1, positive=3, negative=0 [04:38] [ComfyUI] Total prompts: 1 [04:38] [ComfyUI] [MEM] After video segmentation: VRAM 0.00GB alloc / 0.00GB reserved | RAM: 1.09GB (process), 8.1/31.9GB (system) [04:38] [ComfyUI] Resolved precision: auto -> bf16 [04:38] [ComfyUI] SAM3 model cache miss � building model... [04:38] [ComfyUI] !!! Exception during processing !!! No module named 'timm' [04:38] [ComfyUI] Traceback (most recent call last): [04:38] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\sam3\model.py", line 58, in [04:38] [ComfyUI] from timm.layers import DropPath, trunc_normal_ [04:38] [ComfyUI] ModuleNotFoundError: No module named 'timm' [04:38] [ComfyUI] [04:38] [ComfyUI] During handling of the above exception, another exception occurred: [04:38] [ComfyUI] [04:38] [ComfyUI] Traceback (most recent call last): [04:38] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\execution.py", line 535, in execute [04:38] [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) [04:38] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\execution.py", line 335, in get_output_data [04:38] [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) [04:38] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\execution.py", line 309, in _async_map_node_over_list [04:38] [ComfyUI] await process_inputs(input_dict, i) [04:38] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\execution.py", line 297, in process_inputs [04:38] [ComfyUI] result = f(**inputs) [04:38] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\comfy_api\internal\__init__.py", line 149, in wrapped_func [04:38] [ComfyUI] return method(locked_class, **inputs) [04:38] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\comfy_api\latest\_io.py", line 1833, in EXECUTE_NORMALIZED [04:38] [ComfyUI] to_return = cls.execute(*args, **kwargs) [04:38] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\sam3_video_nodes.py", line 422, in execute [04:38] [ComfyUI] sam3_model = get_or_build_model(sam3_model_config) [04:38] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\_model_cache.py", line 32, in get_or_build_model [04:38] [ComfyUI] from .sam3.predictor import Sam3VideoPredictor [04:38] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\sam3\__init__.py", line 61, in [04:38] [ComfyUI] from .model import ( [04:38] [ComfyUI] File "C:\workspaces\SAM3-2207\ComfyUI\custom_nodes\ComfyUI-SAM3\nodes\sam3\model.py", line 60, in [04:38] [ComfyUI] from timm.models.layers import DropPath, trunc_normal_ [04:38] [ComfyUI] ModuleNotFoundError: No module named 'timm' [04:38] [ComfyUI] [04:38] [ComfyUI] Prompt executed in 2.52 seconds [04:38] Frame 3 saved (frame_002.jpg, t=2.8s) [04:38] [capture-node] freeze=4ms shot=161ms unfreeze=5ms saved=True [04:38] Execution complete (t=3.1s) [04:38] Execution error: {'prompt_id': 'ec0bb9dd-bd2e-4be1-8ded-e5af63b3b21f', 'node_id': '35', 'node_type': 'SAM3Propagate', 'executed': ['30', '9', '28', '27'], 'exception_message': "No module named 'timm'\n", 'exception_type': 'ModuleNotFoundError', 'traceback': [' File "C:\\workspaces\\SAM3-2207\\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', ' File "C:\\workspaces\\SAM3-2207\\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', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\execution.py", line 297, in process_inputs\n result = f(**inputs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\comfy_api\\internal\\__init__.py", line 149, in wrapped_func\n return method(locked_class, **inputs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\comfy_api\\latest\\_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n', ' File "C:\\workspaces\\SAM3-2207\\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 "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\_model_cache.py", line 32, in get_or_build_model\n from .sam3.predictor import Sam3VideoPredictor\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\sam3\\__init__.py", line 61, in \n from .model import (\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\sam3\\model.py", line 60, in \n from timm.models.layers import DropPath, trunc_normal_\n'], 'current_inputs': {'start_frame': [0], 'end_frame': [-1], 'direction': ['forward'], 'sam3_model_config': ["{'checkpoint_path': 'C:\\\\workspaces\\\\SAM3-2207\\\\ComfyUI\\\\models\\\\sam3\\\\sam3.safetensors', 'bpe_path': 'C:\\\\workspaces\\\\SAM3-2207\\\\ComfyUI\\\\custom_nodes\\\\ComfyUI-SAM3\\\\nodes\\\\sam3\\\\bpe_simple_vocab_16e6.txt.gz', 'precision': 'auto', 'dtype': 'bf16', 'compile': False}"], 'video_state': ["{'session_uuid': 'b380dbbd-30f3-4502-a96d-bd69ddbf2826', 'temp_dir': 'C:\\\\Users\\\\ContainerAdministrator\\\\AppData\\\\Local\\\\Temp\\\\sam3_b380dbbd_b4vrzunp', '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': ['13', '25', '35', '24', '9', '14', '30', '15', '21', '28', '27'], 'timestamp': 1778443922415} [04:38] Results saved to C:\logs\SAM3-2207\dev\windows-gpu\results.json [04:38] Model report: 1 files, 3.2 GB -> C:\logs\SAM3-2207\dev\windows-gpu\models.json [04:39] Saved: C:\logs\SAM3-2207\dev\windows-gpu\index.html [04:39] windows: FAILED [04:39] Error: Workflow execution failed (5 error(s)) [04:39] Details: image_seg_point.json: Workflow execution failed: {'prompt_id': '86023375-1e85-4626-b82c-f22228be60f2', 'node_id': '31', 'node_type': 'SAM3Segmentation', 'executed': ['1', '30', '15'], 'exception_message': "No module named 'timm'\n", 'exception_type': 'ModuleNotFoundError', 'traceback': [' File "C:\\workspaces\\SAM3-2207\\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', ' File "C:\\workspaces\\SAM3-2207\\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', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\execution.py", line 297, in process_inputs\n result = f(**inputs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\comfy_api\\internal\\__init__.py", line 149, in wrapped_func\n return method(locked_class, **inputs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\comfy_api\\latest\\_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\segmentation.py", line 469, in execute\n sam3_model = get_or_build_model(sam3_model_config)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\_model_cache.py", line 32, in get_or_build_model\n from .sam3.predictor import Sam3VideoPredictor\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\sam3\\__init__.py", line 61, in \n from .model import (\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\sam3\\model.py", line 60, in \n from timm.models.layers import DropPath, trunc_normal_\n'], 'current_inputs': {'refinement_iterations': [0], 'use_multimask': [True], 'output_best_mask': [True], 'sam3_model_config': ["{'checkpoint_path': 'C:\\\\workspaces\\\\SAM3-2207\\\\ComfyUI\\\\models\\\\sam3\\\\sam3.safetensors', 'bpe_path': 'C:\\\\workspaces\\\\SAM3-2207\\\\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': ['31', '1', '29', '30', '15', '28'], 'timestamp': 1778443891860} Details: Workflow: C:\ComfyUI-SAM3\workflows\image_seg_point.json Node error: SAM3Segmentation image_seg_text.json: Workflow execution failed: {'prompt_id': '260bc77d-fe5b-4b81-97e6-1a0685f84c2c', 'node_id': '15', 'node_type': 'SAM3Grounding', 'executed': ['12', '1'], 'exception_message': "No module named 'timm'\n", 'exception_type': 'ModuleNotFoundError', 'traceback': [' File "C:\\workspaces\\SAM3-2207\\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', ' File "C:\\workspaces\\SAM3-2207\\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', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\execution.py", line 297, in process_inputs\n result = f(**inputs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\comfy_api\\internal\\__init__.py", line 149, in wrapped_func\n return method(locked_class, **inputs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\comfy_api\\latest\\_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\segmentation.py", line 86, in execute\n sam3_model = get_or_build_model(sam3_model_config)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\_model_cache.py", line 32, in get_or_build_model\n from .sam3.predictor import Sam3VideoPredictor\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\sam3\\__init__.py", line 61, in \n from .model import (\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\sam3\\model.py", line 60, in \n from timm.models.layers import DropPath, trunc_normal_\n'], 'current_inputs': {'confidence_threshold': [0.2], 'text_prompt': ['child'], 'max_detections': [-1], 'sam3_model_config': ["{'checkpoint_path': 'C:\\\\workspaces\\\\SAM3-2207\\\\ComfyUI\\\\models\\\\sam3\\\\sam3.safetensors', 'bpe_path': 'C:\\\\workspaces\\\\SAM3-2207\\\\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': ['12', '1', '4', '15', '3'], 'timestamp': 1778443898050} Details: Workflow: C:\ComfyUI-SAM3\workflows\image_seg_text.json Node error: SAM3Grounding scene_seg.json: Workflow execution failed: {'prompt_id': '71c3363c-b69c-4635-a6d2-719308767ae1', 'node_id': '27', 'node_type': 'SAM3MultipromptSegmentation', 'executed': ['12', '1', '20'], 'exception_message': "No module named 'timm'\n", 'exception_type': 'ModuleNotFoundError', 'traceback': [' File "C:\\workspaces\\SAM3-2207\\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', ' File "C:\\workspaces\\SAM3-2207\\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', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\execution.py", line 297, in process_inputs\n result = f(**inputs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\comfy_api\\internal\\__init__.py", line 149, in wrapped_func\n return method(locked_class, **inputs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\comfy_api\\latest\\_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\segmentation.py", line 695, in execute\n sam3_model = get_or_build_model(sam3_model_config)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\_model_cache.py", line 32, in get_or_build_model\n from .sam3.predictor import Sam3VideoPredictor\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\sam3\\__init__.py", line 61, in \n from .model import (\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\sam3\\model.py", line 60, in \n from timm.models.layers import DropPath, trunc_normal_\n'], 'current_inputs': {'refinement_iterations': [0], 'use_multimask': [False], 'sam3_model_config': ["{'checkpoint_path': 'C:\\\\workspaces\\\\SAM3-2207\\\\ComfyUI\\\\models\\\\sam3\\\\sam3.safetensors', 'bpe_path': 'C:\\\\workspaces\\\\SAM3-2207\\\\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': ['12', '26', '1', '24', '20', '23', '4', '22', '3', '27'], 'timestamp': 1778443905617} Details: Workflow: C:\ComfyUI-SAM3\workflows\scene_seg.json Node error: SAM3MultipromptSegmentation scene_seg_interactive.json: Workflow execution failed: {'prompt_id': 'a9a9115b-eec6-4d35-b9e2-fcef958a13da', 'node_id': '26', 'node_type': 'SAM3InteractiveCollector', 'executed': ['12', '1'], 'exception_message': "No module named 'timm'\n", 'exception_type': 'ModuleNotFoundError', 'traceback': [' File "C:\\workspaces\\SAM3-2207\\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', ' File "C:\\workspaces\\SAM3-2207\\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', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\execution.py", line 297, in process_inputs\n result = f(**inputs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\comfy_api\\internal\\__init__.py", line 149, in wrapped_func\n return method(locked_class, **inputs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\comfy_api\\latest\\_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n', ' File "C:\\workspaces\\SAM3-2207\\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 "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\_model_cache.py", line 32, in get_or_build_model\n from .sam3.predictor import Sam3VideoPredictor\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\sam3\\__init__.py", line 61, in \n from .model import (\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\sam3\\model.py", line 60, in \n from timm.models.layers import DropPath, trunc_normal_\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': 'C:\\\\workspaces\\\\SAM3-2207\\\\ComfyUI\\\\models\\\\sam3\\\\sam3.safetensors', 'bpe_path': 'C:\\\\workspaces\\\\SAM3-2207\\\\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]]]])']}, 'current_outputs': ['12', '1', '4', '26'], 'timestamp': 1778443913511} Details: Workflow: C:\ComfyUI-SAM3\workflows\scene_seg_interactive.json Node error: SAM3InteractiveCollector video_point_prompt.json: Workflow execution failed: {'prompt_id': 'ec0bb9dd-bd2e-4be1-8ded-e5af63b3b21f', 'node_id': '35', 'node_type': 'SAM3Propagate', 'executed': ['30', '9', '28', '27'], 'exception_message': "No module named 'timm'\n", 'exception_type': 'ModuleNotFoundError', 'traceback': [' File "C:\\workspaces\\SAM3-2207\\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', ' File "C:\\workspaces\\SAM3-2207\\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', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\execution.py", line 297, in process_inputs\n result = f(**inputs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\comfy_api\\internal\\__init__.py", line 149, in wrapped_func\n return method(locked_class, **inputs)\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\comfy_api\\latest\\_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n', ' File "C:\\workspaces\\SAM3-2207\\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 "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\_model_cache.py", line 32, in get_or_build_model\n from .sam3.predictor import Sam3VideoPredictor\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\sam3\\__init__.py", line 61, in \n from .model import (\n', ' File "C:\\workspaces\\SAM3-2207\\ComfyUI\\custom_nodes\\ComfyUI-SAM3\\nodes\\sam3\\model.py", line 60, in \n from timm.models.layers import DropPath, trunc_normal_\n'], 'current_inputs': {'start_frame': [0], 'end_frame': [-1], 'direction': ['forward'], 'sam3_model_config': ["{'checkpoint_path': 'C:\\\\workspaces\\\\SAM3-2207\\\\ComfyUI\\\\models\\\\sam3\\\\sam3.safetensors', 'bpe_path': 'C:\\\\workspaces\\\\SAM3-2207\\\\ComfyUI\\\\custom_nodes\\\\ComfyUI-SAM3\\\\nodes\\\\sam3\\\\bpe_simple_vocab_16e6.txt.gz', 'precision': 'auto', 'dtype': 'bf16', 'compile': False}"], 'video_state': ["{'session_uuid': 'b380dbbd-30f3-4502-a96d-bd69ddbf2826', 'temp_dir': 'C:\\\\Users\\\\ContainerAdministrator\\\\AppData\\\\Local\\\\Temp\\\\sam3_b380dbbd_b4vrzunp', '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': ['13', '25', '35', '24', '9', '14', '30', '15', '21', '28', '27'], 'timestamp': 1778443922415} Details: Workflow: C:\ComfyUI-SAM3\workflows\video_point_prompt.json Node error: SAM3Propagate [04:39] Stopping ComfyUI server...