Capturing execution frames: multiple_masks.json [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. Frame 1 saved (frame_000.jpg, t=0.0s) Validating workflow... [ComfyUI] === /validate endpoint called === [ComfyUI] Received JSON with keys: ['prompt'] [ComfyUI] Prompt has 8 nodes [ComfyUI] Node 4: PreviewImage [ComfyUI] Inputs: {"images": ["16", 1]} [ComfyUI] Node 16: SAM3DBodyProcessMultiple [ComfyUI] Inputs: {"inference_type": "full", "adjust_position_from_depth": false, "model": ["24", 0], "image": ["36", 0], "masks": ["39", 0]} Queuing workflow for execution... [ComfyUI] Node 18: SAM3DBodyExportMultipleFBX [ComfyUI] Inputs: {"output_filename": "sam3d_multi_rigged.fbx", "combine": true, "multi_mesh_data": ["16", 0]} [ComfyUI] Node 24: LoadSAM3DBodyModel [ComfyUI] Inputs: {"precision": "auto"} [ComfyUI] Node 29: Preview3D [ComfyUI] Inputs: {"model_file": ["18", 0], "image": ""} [ComfyUI] Node 35: MultibandLoad [ComfyUI] Inputs: {"image": "people.npz", "normalize": true} [ComfyUI] Node 36: MultibandToImage [ComfyUI] Inputs: {"channels": "0,1,2", "multiband": ["35", 0]} [ComfyUI] Node 39: MultibandToMasks [ComfyUI] Inputs: {"channels": "0", "auto_detect_masks": true, "multiband": ["35", 0]} [ComfyUI] Generated prompt_id: 695b932d-ef05-49b8-a33a-e3e99db31ad4 [ComfyUI] Calling execution.validate_prompt()... [ComfyUI] Validation result: valid=True [ComfyUI] === Validation PASSED === [ComfyUI] got prompt [ComfyUI] Precision: bf16 [ComfyUI] Model not found locally. Downloading from HuggingFace... [ComfyUI] HTTP Request: GET https://huggingface.co/api/models/apozz/sam-3d-body-safetensors/revision/main "HTTP/1.1 200 OK" [ComfyUI] [ComfyUI] Downloading (incomplete total...): 0.00B [00:00, ?B/s] [ComfyUI] [ComfyUI] Fetching 4 files: 0%| | 0/4 [00:00 [ComfyUI] from .build_models import load_sam_3d_body [ComfyUI] File "/workspaces/SAM3DBody-1956/ComfyUI/custom_nodes/ComfyUI-SAM3DBody/nodes/sam_3d_body/build_models.py", line 5, in Execution complete (t=20.9s) [ComfyUI] from .model import SAM3DBody Execution error: {'prompt_id': 'bc90a37e-bc41-40e2-8b06-59f971cc1731', 'node_id': '16', 'node_type': 'SAM3DBodyProcessMultiple', 'executed': ['36', '24', '35', '39'], 'exception_message': "No module named 'roma'\n", 'exception_type': 'ModuleNotFoundError', 'traceback': [' File "/workspaces/SAM3DBody-1956/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/SAM3DBody-1956/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/SAM3DBody-1956/ComfyUI/execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "/workspaces/SAM3DBody-1956/ComfyUI/execution.py", line 297, in process_inputs\n result = f(**inputs)\n', ' File "/workspaces/SAM3DBody-1956/ComfyUI/comfy_api/internal/__init__.py", line 149, in wrapped_func\n return method(locked_class, **inputs)\n', ' File "/workspaces/SAM3DBody-1956/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n', ' File "/workspaces/SAM3DBody-1956/ComfyUI/custom_nodes/ComfyUI-SAM3DBody/nodes/process_multiple.py", line 1116, in execute\n from .sam_3d_body import SAM3DBodyEstimator\n', ' File "/workspaces/SAM3DBody-1956/ComfyUI/custom_nodes/ComfyUI-SAM3DBody/nodes/sam_3d_body/__init__.py", line 5, in \n from .build_models import load_sam_3d_body\n', ' File "/workspaces/SAM3DBody-1956/ComfyUI/custom_nodes/ComfyUI-SAM3DBody/nodes/sam_3d_body/build_models.py", line 5, in \n from .model import SAM3DBody\n', ' File "/workspaces/SAM3DBody-1956/ComfyUI/custom_nodes/ComfyUI-SAM3DBody/nodes/sam_3d_body/model.py", line 12, in \n import roma\n'], 'current_inputs': {'inference_type': ['full'], 'adjust_position_from_depth': [False], 'model': ["{'model_path': '/workspaces/SAM3DBody-1956/ComfyUI/models/sam3dbody', 'ckpt_path': '/workspaces/SAM3DBody-1956/ComfyUI/models/sam3dbody/model.safetensors', 'mhr_path': '/workspaces/SAM3DBody-1956/ComfyUI/models/sam3dbody/assets/mhr_model.pt', 'precision': 'bf16'}"], 'image': ['tensor([[[[0.2902, 0.4667, 0.5961],\n [0.2902, 0.4667, 0.5961],\n [0.2902, 0.4667, 0.5961],\n ...,\n [0.3294, 0.5765, 0.7137],\n [0.3451, 0.5882, 0.7333],\n [0.3686, 0.6118, 0.7569]],\n\n [[0.2902, 0.4667, 0.5961],\n [0.2902, 0.4667, 0.5961],\n [0.2902, 0.4667, 0.5961],\n ...,\n [0.3490, 0.5608, 0.6941],\n [0.3529, 0.5647, 0.6980],\n [0.3647, 0.5765, 0.7098]],\n\n [[0.2902, 0.4667, 0.5961],\n [0.2902, 0.4667, 0.5961],\n [0.2902, 0.4667, 0.5961],\n ...,\n [0.3765, 0.5373, 0.6471],\n [0.3725, 0.5333, 0.6431],\n [0.3765, 0.5373, 0.6471]],\n\n ...,\n\n [[0.4941, 0.4824, 0.4157],\n [0.4941, 0.4824, 0.4157],\n [0.4980, 0.4863, 0.4196],\n ...,\n [0.5647, 0.5569, 0.5059],\n [0.5647, 0.5569, 0.5059],\n [0.5647, 0.5569, 0.5059]],\n\n [[0.5098, 0.4980, 0.4314],\n [0.5098, 0.4980, 0.4314],\n [0.5137, 0.5020, 0.4353],\n ...,\n [0.5647, 0.5569, 0.5059],\n [0.5647, 0.5569, 0.5059],\n [0.5647, 0.5569, 0.5059]],\n\n [[0.5176, 0.5059, 0.4392],\n [0.5216, 0.5098, 0.4431],\n [0.5216, 0.5098, 0.4431],\n ...,\n [0.5647, 0.5569, 0.5059],\n [0.5647, 0.5569, 0.5059],\n [0.5647, 0.5569, 0.5059]]]])'], 'masks': ['tensor([[[0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n ...,\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.]],\n\n [[0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n ...,\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.]],\n\n [[0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n ...,\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.]],\n\n [[0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n ...,\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.]],\n\n [[0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n ...,\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.]],\n\n [[0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n ...,\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.]]])']}, 'current_outputs': ['36', '39', '29', '16', '4', '24', '35', '18'], 'timestamp': 1778443217250} [ComfyUI] File "/workspaces/SAM3DBody-1956/ComfyUI/custom_nodes/ComfyUI-SAM3DBody/nodes/sam_3d_body/model.py", line 12, in Status: FAILED Error: Workflow execution failed: {'prompt_id': 'bc90a37e-bc41-40e2-8b06-59f971cc1731', 'node_id': '16', 'node_type': 'SAM3DBodyProcessMultiple', 'executed': ['36', '24', '35', '39'], 'exception_message': "No module named 'roma'\n", 'exception_type': 'ModuleNotFoundError', 'traceback': [' File "/workspaces/SAM3DBody-1956/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/SAM3DBody-1956/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/SAM3DBody-1956/ComfyUI/execution.py", line 309, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "/workspaces/SAM3DBody-1956/ComfyUI/execution.py", line 297, in process_inputs\n result = f(**inputs)\n', ' File "/workspaces/SAM3DBody-1956/ComfyUI/comfy_api/internal/__init__.py", line 149, in wrapped_func\n return method(locked_class, **inputs)\n', ' File "/workspaces/SAM3DBody-1956/ComfyUI/comfy_api/latest/_io.py", line 1833, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n', ' File "/workspaces/SAM3DBody-1956/ComfyUI/custom_nodes/ComfyUI-SAM3DBody/nodes/process_multiple.py", line 1116, in execute\n from .sam_3d_body import SAM3DBodyEstimator\n', ' File "/workspaces/SAM3DBody-1956/ComfyUI/custom_nodes/ComfyUI-SAM3DBody/nodes/sam_3d_body/__init__.py", line 5, in \n from .build_models import load_sam_3d_body\n', ' File "/workspaces/SAM3DBody-1956/ComfyUI/custom_nodes/ComfyUI-SAM3DBody/nodes/sam_3d_body/build_models.py", line 5, in \n from .model import SAM3DBody\n', ' File "/workspaces/SAM3DBody-1956/ComfyUI/custom_nodes/ComfyUI-SAM3DBody/nodes/sam_3d_body/model.py", line 12, in \n import roma\n'], 'current_inputs': {'inference_type': ['full'], 'adjust_position_from_depth': [False], 'model': ["{'model_path': '/workspaces/SAM3DBody-1956/ComfyUI/models/sam3dbody', 'ckpt_path': '/workspaces/SAM3DBody-1956/ComfyUI/models/sam3dbody/model.safetensors', 'mhr_path': '/workspaces/SAM3DBody-1956/ComfyUI/models/sam3dbody/assets/mhr_model.pt', 'precision': 'bf16'}"], 'image': ['tensor([[[[0.2902, 0.4667, 0.5961],\n [0.2902, 0.4667, 0.5961],\n [0.2902, 0.4667, 0.5961],\n ...,\n [0.3294, 0.5765, 0.7137],\n [0.3451, 0.5882, 0.7333],\n [0.3686, 0.6118, 0.7569]],\n\n [[0.2902, 0.4667, 0.5961],\n [0.2902, 0.4667, 0.5961],\n [0.2902, 0.4667, 0.5961],\n ...,\n [0.3490, 0.5608, 0.6941],\n [0.3529, 0.5647, 0.6980],\n [0.3647, 0.5765, 0.7098]],\n\n [[0.2902, 0.4667, 0.5961],\n [0.2902, 0.4667, 0.5961],\n [0.2902, 0.4667, 0.5961],\n ...,\n [0.3765, 0.5373, 0.6471],\n [0.3725, 0.5333, 0.6431],\n [0.3765, 0.5373, 0.6471]],\n\n ...,\n\n [[0.4941, 0.4824, 0.4157],\n [0.4941, 0.4824, 0.4157],\n [0.4980, 0.4863, 0.4196],\n ...,\n [0.5647, 0.5569, 0.5059],\n [0.5647, 0.5569, 0.5059],\n [0.5647, 0.5569, 0.5059]],\n\n [[0.5098, 0.4980, 0.4314],\n [0.5098, 0.4980, 0.4314],\n [0.5137, 0.5020, 0.4353],\n ...,\n [0.5647, 0.5569, 0.5059],\n [0.5647, 0.5569, 0.5059],\n [0.5647, 0.5569, 0.5059]],\n\n [[0.5176, 0.5059, 0.4392],\n [0.5216, 0.5098, 0.4431],\n [0.5216, 0.5098, 0.4431],\n ...,\n [0.5647, 0.5569, 0.5059],\n [0.5647, 0.5569, 0.5059],\n [0.5647, 0.5569, 0.5059]]]])'], 'masks': ['tensor([[[0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n ...,\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.]],\n\n [[0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n ...,\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.]],\n\n [[0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n ...,\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.]],\n\n [[0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n ...,\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.]],\n\n [[0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n ...,\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.]],\n\n [[0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n ...,\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.],\n [0., 0., 0., ..., 0., 0., 0.]]])']}, 'current_outputs': ['36', '39', '29', '16', '4', '24', '35', '18'], 'timestamp': 1778443217250} Details: Workflow: /node/ComfyUI-SAM3DBody/workflows/multiple_masks.json Node error: SAM3DBodyProcessMultiple [ComfyUI] import roma [ComfyUI] ModuleNotFoundError: No module named 'roma' [ComfyUI] [ComfyUI] Prompt executed in 20.39 seconds