31 KiB
31 KiB
Capturing execution frames: sharp_exif.json
[ComfyUI] [INFO] Using RAM pressure cache.
[ComfyUI] [INFO] Using RAM pressure cache.
Frame 1 saved (frame_000.jpg, t=0.0s)
Validating workflow...
Queuing workflow for execution...
[ComfyUI] [INFO] === /validate endpoint called ===
[ComfyUI] [INFO] Received JSON with keys: ['prompt']
[ComfyUI] [INFO] Prompt has 4 nodes
[ComfyUI] [INFO] Node 2: LoadSharpModel
[ComfyUI] [INFO] Inputs: {"precision": "auto"}
[ComfyUI] [INFO] Node 7: SharpPredict
[ComfyUI] [INFO] Inputs: {"focal_length_mm": ["9", 2], "output_prefix": "sharp", "model": ["2", 0], "image": ["9", 0]}
[ComfyUI] [INFO] Node 9: LoadImageWithExif
[ComfyUI] [INFO] Inputs: {"image": "eth3d.png", "default_focal_mm": 30}
[ComfyUI] [INFO] Node 11: PreviewGaussianSharp
[ComfyUI] [INFO] Inputs: {"preview_gaussian": "", "ply_path": ["7", 0], "extrinsics": ["7", 1], "intrinsics": ["7", 2]}
[ComfyUI] [INFO] Generated prompt_id: 168082e5-4662-404a-85d9-7a16545cff6c
[ComfyUI] [INFO] Calling execution.validate_prompt()...
[ComfyUI] [INFO] Validation result: valid=True
[ComfyUI] [INFO] === Validation PASSED ===
[ComfyUI] [INFO] got prompt
[ComfyUI] [comfy-env] Running LoadImageWithExif: image: 'eth3d.png', default_focal_mm: 30.0
[ComfyUI] [VRAM] Before LoadImageWithExif: 1271 / 24575 MB
[ComfyUI] [SubprocessWorker] call_method: nodes.load_image_exif.LoadImageWithExif.EXECUTE_NORMALIZED
[ComfyUI] [SubprocessWorker] acquired lock, ensuring started...
[ComfyUI] [ComfyUI-Sharp] Health check: ping (timeout=5.0s)...
[ComfyUI] [ComfyUI-Sharp] Health check: ok
[ComfyUI] [SubprocessWorker] worker started/confirmed
[ComfyUI] [SubprocessWorker] serializing kwargs to shm...
[ComfyUI] [SubprocessWorker] created 0 shm blocks
[ComfyUI] [SubprocessWorker] sending request via socket...
[ComfyUI] [SubprocessWorker] call_id=6 sending call_method
[ComfyUI] [SubprocessWorker] got response: ok
[ComfyUI] [comfy-env] LoadImageWithExif done (0.10s): result: NodeOutput
[ComfyUI] [VRAM] After LoadImageWithExif: 1271 / 24575 MB
[ComfyUI] [comfy-env] Running LoadSharpModel: precision: 'auto'
[ComfyUI] [VRAM] Before LoadSharpModel: 1271 / 24575 MB
[ComfyUI] [SubprocessWorker] call_method: nodes.load_model.LoadSharpModel.EXECUTE_NORMALIZED
[ComfyUI] [SubprocessWorker] acquired lock, ensuring started...
[ComfyUI] [ComfyUI-Sharp] Health check: ping (timeout=5.0s)...
[ComfyUI] [ComfyUI-Sharp] Health check: ok
[ComfyUI] [SubprocessWorker] worker started/confirmed
[ComfyUI] [SubprocessWorker] serializing kwargs to shm...
[ComfyUI] [SubprocessWorker] created 0 shm blocks
[ComfyUI] [SubprocessWorker] sending request via socket...
[ComfyUI] [SubprocessWorker] call_id=7 sending call_method
[ComfyUI] [worker:ComfyUI-Sharp] [LoadSharpModel] precision='auto' -> dtype=bf16 (device=cuda:0)
[ComfyUI] [worker:ComfyUI-Sharp] [LoadSharpModel] checkpoint already present, reusing (no download): C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\models\sharp\sharp_2572gikvuh.pt (2679.6 MB)
[ComfyUI] [worker:ComfyUI-Sharp] [LoadSharpModel] checkpoint ready: C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\models\sharp\sharp_2572gikvuh.pt (2679.6 MB)
[ComfyUI] [worker:ComfyUI-Sharp] [LoadSharpModel] config: precision=auto -> dtype=bf16
[ComfyUI] [SubprocessWorker] got response: ok
[ComfyUI] [comfy-env] LoadSharpModel done (0.03s): result: NodeOutput
[ComfyUI] [VRAM] After LoadSharpModel: 1271 / 24575 MB
[ComfyUI] [comfy-env] Running SharpPredict: focal_length_mm: 20.0, output_prefix: 'sharp', model: dict, image: torch.float32 [1,1011,1520,3] cpu
[ComfyUI] [VRAM] Before SharpPredict: 1271 / 24575 MB
[ComfyUI] [SubprocessWorker] call_method: nodes.predict.SharpPredict.EXECUTE_NORMALIZED
[ComfyUI] [SubprocessWorker] acquired lock, ensuring started...
[ComfyUI] [ComfyUI-Sharp] Health check: ping (timeout=5.0s)...
[ComfyUI] [ComfyUI-Sharp] Health check: ok
[ComfyUI] [SubprocessWorker] worker started/confirmed
[ComfyUI] [comfy-env] PRE-SERIALIZE 'image' shape: torch.Size([1, 1011, 1520, 3])
[ComfyUI] [SubprocessWorker] serializing kwargs to shm...
[ComfyUI] [SubprocessWorker] created 0 shm blocks
[ComfyUI] [SubprocessWorker] sending request via socket...
[ComfyUI] [SubprocessWorker] call_id=8 sending call_method
[ComfyUI] [worker:ComfyUI-Sharp] [comfy-env] _from_shm got dict with keys: ['__type__', 'strategy', 'manager_path', 'storage_key', 'storage_size']
[ComfyUI] [worker:ComfyUI-Sharp] [comfy-env] DESERIALIZE TensorRef: tensor_size=[1, 1011, 1520, 3]
[ComfyUI] [worker:ComfyUI-Sharp] [comfy-env] DESERIALIZED tensor shape: torch.Size([1, 1011, 1520, 3])
[ComfyUI] [SubprocessWorker] got response: error
[ComfyUI] [ERROR] !!! Exception during processing !!! No module named 'torchvision'
[ComfyUI]
[ComfyUI] Worker traceback:
[ComfyUI] Traceback (most recent call last):
[ComfyUI] File "C:\Users\ContainerUser\AppData\Local\Temp\comfyui_pvenv__j68vr6p\persistent_worker.py", line 1762, in main
[ComfyUI] result = method(**inputs)
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy_api\latest\_io.py", line 1880, in EXECUTE_NORMALIZED
[ComfyUI] to_return = cls.execute(*args, **kwargs)
[ComfyUI] File "C:\Users\ContainerUser\AppData\Local\Programs\comfy-env\.pixi\envs\sharp-nodes\Lib\site-packages\torch\utils\_contextlib.py", line 124, in decorate_context
[ComfyUI] return func(*args, **kwargs)
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Sharp\nodes\predict.py", line 127, in execute
[ComfyUI] patcher = _load_sharp_model(model)
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Sharp\nodes\load_model.py", line 138, in _load_sharp_model
[ComfyUI] import comfy.model_patcher
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy\model_patcher.py", line 32, in <module>
[ComfyUI] import comfy.hooks
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy\hooks.py", line 14, in <module>
[ComfyUI] import comfy.lora
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy\lora.py", line 22, in <module>
[ComfyUI] import comfy.model_base
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy\model_base.py", line 41, in <module>
[ComfyUI] import comfy.ldm.cosmos.model
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy\ldm\cosmos\model.py", line 25, in <module>
[ComfyUI] from torchvision import transforms
[ComfyUI] ModuleNotFoundError: No module named 'torchvision'
[ComfyUI]
[ComfyUI] [ERROR] Traceback (most recent call last):
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\execution.py", line 536, in execute
Execution complete (t=0.5s)
[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)
Execution error: {'prompt_id': '3c8256ea-1718-4020-a394-5cedf399e8ad', 'node_id': '7', 'node_type': 'SharpPredict', 'executed': ['9', '2'], 'exception_message': 'No module named \'torchvision\'\n\nWorker traceback:\nTraceback (most recent call last):\n File "C:\\Users\\ContainerUser\\AppData\\Local\\Temp\\comfyui_pvenv__j68vr6p\\persistent_worker.py", line 1762, in main\n result = method(**inputs)\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy_api\\latest\\_io.py", line 1880, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n File "C:\\Users\\ContainerUser\\AppData\\Local\\Programs\\comfy-env\\.pixi\\envs\\sharp-nodes\\Lib\\site-packages\\torch\\utils\\_contextlib.py", line 124, in decorate_context\n return func(*args, **kwargs)\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\custom_nodes\\ComfyUI-Sharp\\nodes\\predict.py", line 127, in execute\n patcher = _load_sharp_model(model)\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\custom_nodes\\ComfyUI-Sharp\\nodes\\load_model.py", line 138, in _load_sharp_model\n import comfy.model_patcher\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy\\model_patcher.py", line 32, in <module>\n import comfy.hooks\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy\\hooks.py", line 14, in <module>\n import comfy.lora\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy\\lora.py", line 22, in <module>\n import comfy.model_base\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy\\model_base.py", line 41, in <module>\n import comfy.ldm.cosmos.model\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy\\ldm\\cosmos\\model.py", line 25, in <module>\n from torchvision import transforms\nModuleNotFoundError: No module named \'torchvision\'\n\n', 'exception_type': 'comfy_env.isolation.workers.base.WorkerError', 'traceback': [' File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\execution.py", line 536, 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 "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\execution.py", line 336, 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 "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\execution.py", line 310, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\execution.py", line 298, in process_inputs\n result = f(**inputs)\n', ' File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\comfy_env\\isolation\\metadata.py", line 556, in proxy\n result = worker.call_method(\n module_name=mod,\n ...<4 lines>...\n timeout=600.0,\n )\n', ' File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\comfy_env\\isolation\\workers\\subprocess.py", line 674, in call_method\n raise WorkerError(\n ...<2 lines>...\n )\n'], 'current_inputs': {'focal_length_mm': [20], 'output_prefix': ['sharp'], 'model': ["{'model_path': 'C:\\\\workspaces\\\\Sharp-2317\\\\portable-comfyui\\\\ComfyUI_windows_portable\\\\ComfyUI\\\\models\\\\sharp\\\\sharp_2572gikvuh.pt', 'precision': 'auto', 'dtype': 'bf16'}"], 'image': ['tensor([[[[0.2235, 0.1647, 0.1569],\n [0.2353, 0.1647, 0.1647],\n [0.2471, 0.1725, 0.1529],\n ...,\n [0.4588, 0.4824, 0.4784],\n [0.4510, 0.4784, 0.4745],\n [0.4510, 0.4745, 0.4745]],\n\n [[0.2392, 0.1686, 0.1608],\n [0.2431, 0.1686, 0.1608],\n [0.2510, 0.1725, 0.1569],\n ...,\n [0.4549, 0.4784, 0.4706],\n [0.4549, 0.4745, 0.4667],\n [0.4510, 0.4706, 0.4627]],\n\n [[0.2275, 0.1686, 0.1608],\n [0.2431, 0.1725, 0.1569],\n [0.2549, 0.1686, 0.1569],\n ...,\n [0.4431, 0.4667, 0.4588],\n [0.4392, 0.4627, 0.4549],\n [0.4353, 0.4627, 0.4510]],\n\n ...,\n\n [[0.1490, 0.1647, 0.1922],\n [0.1569, 0.1686, 0.1922],\n [0.1569, 0.1686, 0.2000],\n ...,\n [0.1098, 0.1176, 0.1294],\n [0.1137, 0.1176, 0.1333],\n [0.1098, 0.1216, 0.1333]],\n\n [[0.1608, 0.1647, 0.1882],\n [0.1490, 0.1686, 0.1922],\n [0.1647, 0.1686, 0.2039],\n ...,\n [0.1176, 0.1176, 0.1333],\n [0.1098, 0.1176, 0.1333],\n [0.0980, 0.1216, 0.1373]],\n\n [[0.1608, 0.1686, 0.1882],\n [0.1569, 0.1686, 0.1922],\n [0.1569, 0.1765, 0.1961],\n ...,\n [0.1098, 0.1216, 0.1333],\n [0.1098, 0.1176, 0.1373],\n [0.1137, 0.1176, 0.1333]]]])'], 'prompt': ["{'2': {'inputs': {'precision': 'auto'}, 'class_type': 'LoadSharpModel', '_meta': {'title': '(Down)Load SHARP Model'}}, '7': {'inputs': {'focal_length_mm': ['9', 2], 'output_prefix': 'sharp', 'model': ['2', 0], 'image': ['9', 0]}, 'class_type': 'SharpPredict', '_meta': {'title': 'SHARP Predict (Image to PLY)'}}, '9': {'inputs': {'image': 'eth3d.png', 'default_focal_mm': 30.0}, 'class_type': 'LoadImageWithExif', '_meta': {'title': 'Load Image with EXIF (Focal Length)'}}, '11': {'inputs': {'preview_gaussian': '', 'ply_path': ['7', 0], 'extrinsics': ['7', 1], 'intrinsics': ['7', 2]}, 'class_type': 'PreviewGaussianSharp', '_meta': {'title': 'Preview Gaussian Sharp'}}}"], 'extra_pnginfo': ["{'workflow': {'id': 'sharp-basic-workflow', 'revision': 0, 'last_node_id': 11, 'last_link_id': 24, 'nodes': [{'id': 2, 'type': 'LoadSharpModel', 'pos': [-150, -400], 'size': [270, 106.65625], 'flags': {}, 'order': 0, 'mode': 0, 'inputs': [], 'outputs': [{'name': 'model_config', 'type': 'SHARP_MODEL_CONFIG', 'links': [11]}], 'properties': {'Node name for S&R': 'LoadSharpModel', 'aux_id': 'PozzettiAndrea/ComfyUI-Sharp', 'ver': '9f1b9c726e2cfc0118866c3df783e7f6bc895226', 'cnr_id': 'comfyui-sharp'}, 'widgets_values': ['auto']}, {'id': 9, 'type': 'LoadImageWithExif', 'pos': [-208.74978010739324, -99.02778023242435], 'size': [342.28125, 420], 'flags': {}, 'order': 1, 'mode': 0, 'inputs': [], 'outputs': [{'name': 'image', 'type': 'IMAGE', 'links': [19]}, {'name': 'mask', 'type': 'MASK', 'links': None}, {'name': 'focal_length_mm', 'type': 'FLOAT', 'links': [20]}], 'properties': {'Node name for S&R': 'LoadImageWithExif', 'aux_id': 'PozzettiAndrea/ComfyUI-Sharp', 'ver': 'c69751a59b587c3b83d0e37cfe2bab3bc838574a', 'cnr_id': 'comfyui-sharp'}, 'widgets_values': ['eth3d.png', 30, 'image']}, {'id': 7, 'type': 'SharpPredict', 'pos': [226.15696022727278, -245.70490056818184], 'size': [298.890625, 236], 'flags': {}, 'order': 2, 'mode': 0, 'inputs': [{'name': 'model', 'type': 'SHARP_MODEL_CONFIG', 'link': 11}, {'name': 'image', 'type': 'IMAGE', 'link': 19}, {'name': 'extrinsics', 'shape': 7, 'type': 'EXTRINSICS', 'link': None}, {'name': 'intrinsics', 'shape': 7, 'type': 'INTRINSICS', 'link': None}, {'name': 'focal_length_mm', 'shape': 7, 'type': 'FLOAT', 'widget': {'name': 'focal_length_mm'}, 'link': 20}], 'outputs': [{'name': 'ply_path', 'type': 'STRING', 'links': [22]}, {'name': 'extrinsics', 'type': 'EXTRINSICS', 'links': [23]}, {'name': 'intrinsics', 'type': 'INTRINSICS', 'links': [24]}, {'name': 'layer_0_refined_depth', 'type': 'IMAGE', 'links': None}, {'name': 'layer_1_refined_depth', 'type': 'IMAGE', 'links': None}], 'properties': {'Node name for S&R': 'SharpPredict', 'aux_id': 'PozzettiAndrea/ComfyUI-Sharp', 'ver': 'c69751a59b587c3b83d0e37cfe2bab3bc838574a', 'cnr_id': 'comfyui-sharp'}, 'widgets_values': [30, 'sharp']}, {'id': 11, 'type': 'PreviewGaussianSharp', 'pos': [600.5860117362482, -287.72961200652577], 'size': [512, 658], 'flags': {}, 'order': 3, 'mode': 0, 'inputs': [{'name': 'ply_path', 'type': 'STRING', 'link': 22}, {'name': 'extrinsics', 'shape': 7, 'type': 'EXTRINSICS', 'link': 23}, {'name': 'intrinsics', 'shape': 7, 'type': 'INTRINSICS', 'link': 24}], 'outputs': [{'name': 'extrinsics', 'type': 'EXTRINSICS', 'links': None}, {'name': 'intrinsics', 'type': 'INTRINSICS', 'links': None}], 'properties': {'Node name for S&R': 'PreviewGaussianSharp', 'aux_id': 'PozzettiAndrea/ComfyUI-GaussianPack', 'ver': '059313a53ffa7ecc8697eddc02d2cee4727e5085'}, 'widgets_values': ['']}], 'links': [[11, 2, 0, 7, 0, 'SHARP_MODEL'], [19, 9, 0, 7, 1, 'IMAGE'], [20, 9, 2, 7, 4, 'FLOAT'], [22, 7, 0, 11, 0, 'STRING'], [23, 7, 1, 11, 1, 'EXTRINSICS'], [24, 7, 2, 11, 2, 'INTRINSICS']], 'groups': [], 'config': {}, 'extra': {'ds': {'scale': 0.9373016969629105, 'offset': [449.06099628194596, 596.4219590460706]}, 'workflowRendererVersion': 'LG', 'frontendVersion': '1.44.19'}, 'version': 0.4}}"]}, 'current_outputs': ['9', '2', '7', '11'], 'timestamp': 1780868131072}
[ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Status: FAILED
Error: Workflow execution failed: {'prompt_id': '3c8256ea-1718-4020-a394-5cedf399e8ad', 'node_id': '7', 'node_type': 'SharpPredict', 'executed': ['9', '2'], 'exception_message': 'No module named \'torchvision\'\n\nWorker traceback:\nTraceback (most recent call last):\n File "C:\\Users\\ContainerUser\\AppData\\Local\\Temp\\comfyui_pvenv__j68vr6p\\persistent_worker.py", line 1762, in main\n result = method(**inputs)\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy_api\\latest\\_io.py", line 1880, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n File "C:\\Users\\ContainerUser\\AppData\\Local\\Programs\\comfy-env\\.pixi\\envs\\sharp-nodes\\Lib\\site-packages\\torch\\utils\\_contextlib.py", line 124, in decorate_context\n return func(*args, **kwargs)\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\custom_nodes\\ComfyUI-Sharp\\nodes\\predict.py", line 127, in execute\n patcher = _load_sharp_model(model)\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\custom_nodes\\ComfyUI-Sharp\\nodes\\load_model.py", line 138, in _load_sharp_model\n import comfy.model_patcher\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy\\model_patcher.py", line 32, in <module>\n import comfy.hooks\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy\\hooks.py", line 14, in <module>\n import comfy.lora\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy\\lora.py", line 22, in <module>\n import comfy.model_base\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy\\model_base.py", line 41, in <module>\n import comfy.ldm.cosmos.model\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy\\ldm\\cosmos\\model.py", line 25, in <module>\n from torchvision import transforms\nModuleNotFoundError: No module named \'torchvision\'\n\n', 'exception_type': 'comfy_env.isolation.workers.base.WorkerError', 'traceback': [' File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\execution.py", line 536, 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 "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\execution.py", line 336, 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 "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\execution.py", line 310, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\execution.py", line 298, in process_inputs\n result = f(**inputs)\n', ' File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\comfy_env\\isolation\\metadata.py", line 556, in proxy\n result = worker.call_method(\n module_name=mod,\n ...<4 lines>...\n timeout=600.0,\n )\n', ' File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\comfy_env\\isolation\\workers\\subprocess.py", line 674, in call_method\n raise WorkerError(\n ...<2 lines>...\n )\n'], 'current_inputs': {'focal_length_mm': [20], 'output_prefix': ['sharp'], 'model': ["{'model_path': 'C:\\\\workspaces\\\\Sharp-2317\\\\portable-comfyui\\\\ComfyUI_windows_portable\\\\ComfyUI\\\\models\\\\sharp\\\\sharp_2572gikvuh.pt', 'precision': 'auto', 'dtype': 'bf16'}"], 'image': ['tensor([[[[0.2235, 0.1647, 0.1569],\n [0.2353, 0.1647, 0.1647],\n [0.2471, 0.1725, 0.1529],\n ...,\n [0.4588, 0.4824, 0.4784],\n [0.4510, 0.4784, 0.4745],\n [0.4510, 0.4745, 0.4745]],\n\n [[0.2392, 0.1686, 0.1608],\n [0.2431, 0.1686, 0.1608],\n [0.2510, 0.1725, 0.1569],\n ...,\n [0.4549, 0.4784, 0.4706],\n [0.4549, 0.4745, 0.4667],\n [0.4510, 0.4706, 0.4627]],\n\n [[0.2275, 0.1686, 0.1608],\n [0.2431, 0.1725, 0.1569],\n [0.2549, 0.1686, 0.1569],\n ...,\n [0.4431, 0.4667, 0.4588],\n [0.4392, 0.4627, 0.4549],\n [0.4353, 0.4627, 0.4510]],\n\n ...,\n\n [[0.1490, 0.1647, 0.1922],\n [0.1569, 0.1686, 0.1922],\n [0.1569, 0.1686, 0.2000],\n ...,\n [0.1098, 0.1176, 0.1294],\n [0.1137, 0.1176, 0.1333],\n [0.1098, 0.1216, 0.1333]],\n\n [[0.1608, 0.1647, 0.1882],\n [0.1490, 0.1686, 0.1922],\n [0.1647, 0.1686, 0.2039],\n ...,\n [0.1176, 0.1176, 0.1333],\n [0.1098, 0.1176, 0.1333],\n [0.0980, 0.1216, 0.1373]],\n\n [[0.1608, 0.1686, 0.1882],\n [0.1569, 0.1686, 0.1922],\n [0.1569, 0.1765, 0.1961],\n ...,\n [0.1098, 0.1216, 0.1333],\n [0.1098, 0.1176, 0.1373],\n [0.1137, 0.1176, 0.1333]]]])'], 'prompt': ["{'2': {'inputs': {'precision': 'auto'}, 'class_type': 'LoadSharpModel', '_meta': {'title': '(Down)Load SHARP Model'}}, '7': {'inputs': {'focal_length_mm': ['9', 2], 'output_prefix': 'sharp', 'model': ['2', 0], 'image': ['9', 0]}, 'class_type': 'SharpPredict', '_meta': {'title': 'SHARP Predict (Image to PLY)'}}, '9': {'inputs': {'image': 'eth3d.png', 'default_focal_mm': 30.0}, 'class_type': 'LoadImageWithExif', '_meta': {'title': 'Load Image with EXIF (Focal Length)'}}, '11': {'inputs': {'preview_gaussian': '', 'ply_path': ['7', 0], 'extrinsics': ['7', 1], 'intrinsics': ['7', 2]}, 'class_type': 'PreviewGaussianSharp', '_meta': {'title': 'Preview Gaussian Sharp'}}}"], 'extra_pnginfo': ["{'workflow': {'id': 'sharp-basic-workflow', 'revision': 0, 'last_node_id': 11, 'last_link_id': 24, 'nodes': [{'id': 2, 'type': 'LoadSharpModel', 'pos': [-150, -400], 'size': [270, 106.65625], 'flags': {}, 'order': 0, 'mode': 0, 'inputs': [], 'outputs': [{'name': 'model_config', 'type': 'SHARP_MODEL_CONFIG', 'links': [11]}], 'properties': {'Node name for S&R': 'LoadSharpModel', 'aux_id': 'PozzettiAndrea/ComfyUI-Sharp', 'ver': '9f1b9c726e2cfc0118866c3df783e7f6bc895226', 'cnr_id': 'comfyui-sharp'}, 'widgets_values': ['auto']}, {'id': 9, 'type': 'LoadImageWithExif', 'pos': [-208.74978010739324, -99.02778023242435], 'size': [342.28125, 420], 'flags': {}, 'order': 1, 'mode': 0, 'inputs': [], 'outputs': [{'name': 'image', 'type': 'IMAGE', 'links': [19]}, {'name': 'mask', 'type': 'MASK', 'links': None}, {'name': 'focal_length_mm', 'type': 'FLOAT', 'links': [20]}], 'properties': {'Node name for S&R': 'LoadImageWithExif', 'aux_id': 'PozzettiAndrea/ComfyUI-Sharp', 'ver': 'c69751a59b587c3b83d0e37cfe2bab3bc838574a', 'cnr_id': 'comfyui-sharp'}, 'widgets_values': ['eth3d.png', 30, 'image']}, {'id': 7, 'type': 'SharpPredict', 'pos': [226.15696022727278, -245.70490056818184], 'size': [298.890625, 236], 'flags': {}, 'order': 2, 'mode': 0, 'inputs': [{'name': 'model', 'type': 'SHARP_MODEL_CONFIG', 'link': 11}, {'name': 'image', 'type': 'IMAGE', 'link': 19}, {'name': 'extrinsics', 'shape': 7, 'type': 'EXTRINSICS', 'link': None}, {'name': 'intrinsics', 'shape': 7, 'type': 'INTRINSICS', 'link': None}, {'name': 'focal_length_mm', 'shape': 7, 'type': 'FLOAT', 'widget': {'name': 'focal_length_mm'}, 'link': 20}], 'outputs': [{'name': 'ply_path', 'type': 'STRING', 'links': [22]}, {'name': 'extrinsics', 'type': 'EXTRINSICS', 'links': [23]}, {'name': 'intrinsics', 'type': 'INTRINSICS', 'links': [24]}, {'name': 'layer_0_refined_depth', 'type': 'IMAGE', 'links': None}, {'name': 'layer_1_refined_depth', 'type': 'IMAGE', 'links': None}], 'properties': {'Node name for S&R': 'SharpPredict', 'aux_id': 'PozzettiAndrea/ComfyUI-Sharp', 'ver': 'c69751a59b587c3b83d0e37cfe2bab3bc838574a', 'cnr_id': 'comfyui-sharp'}, 'widgets_values': [30, 'sharp']}, {'id': 11, 'type': 'PreviewGaussianSharp', 'pos': [600.5860117362482, -287.72961200652577], 'size': [512, 658], 'flags': {}, 'order': 3, 'mode': 0, 'inputs': [{'name': 'ply_path', 'type': 'STRING', 'link': 22}, {'name': 'extrinsics', 'shape': 7, 'type': 'EXTRINSICS', 'link': 23}, {'name': 'intrinsics', 'shape': 7, 'type': 'INTRINSICS', 'link': 24}], 'outputs': [{'name': 'extrinsics', 'type': 'EXTRINSICS', 'links': None}, {'name': 'intrinsics', 'type': 'INTRINSICS', 'links': None}], 'properties': {'Node name for S&R': 'PreviewGaussianSharp', 'aux_id': 'PozzettiAndrea/ComfyUI-GaussianPack', 'ver': '059313a53ffa7ecc8697eddc02d2cee4727e5085'}, 'widgets_values': ['']}], 'links': [[11, 2, 0, 7, 0, 'SHARP_MODEL'], [19, 9, 0, 7, 1, 'IMAGE'], [20, 9, 2, 7, 4, 'FLOAT'], [22, 7, 0, 11, 0, 'STRING'], [23, 7, 1, 11, 1, 'EXTRINSICS'], [24, 7, 2, 11, 2, 'INTRINSICS']], 'groups': [], 'config': {}, 'extra': {'ds': {'scale': 0.9373016969629105, 'offset': [449.06099628194596, 596.4219590460706]}, 'workflowRendererVersion': 'LG', 'frontendVersion': '1.44.19'}, 'version': 0.4}}"]}, 'current_outputs': ['9', '2', '7', '11'], 'timestamp': 1780868131072}
Details: Workflow: C:\ComfyUI-Sharp\workflows\sharp_exif.json
Node error: SharpPredict
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\execution.py", line 336, in get_output_data
[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)
[ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\execution.py", line 310, in _async_map_node_over_list
[ComfyUI] await process_inputs(input_dict, i)
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\execution.py", line 298, in process_inputs
[ComfyUI] result = f(**inputs)
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\python_embeded\Lib\site-packages\comfy_env\isolation\metadata.py", line 556, in proxy
[ComfyUI] result = worker.call_method(
[ComfyUI] module_name=mod,
[ComfyUI] ...<4 lines>...
[ComfyUI] timeout=600.0,
[ComfyUI] )
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\python_embeded\Lib\site-packages\comfy_env\isolation\workers\subprocess.py", line 674, in call_method
[ComfyUI] raise WorkerError(
[ComfyUI] ...<2 lines>...
[ComfyUI] )
[ComfyUI] comfy_env.isolation.workers.base.WorkerError: No module named 'torchvision'
[ComfyUI]
[ComfyUI] Worker traceback:
[ComfyUI] Traceback (most recent call last):
[ComfyUI] File "C:\Users\ContainerUser\AppData\Local\Temp\comfyui_pvenv__j68vr6p\persistent_worker.py", line 1762, in main
[ComfyUI] result = method(**inputs)
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy_api\latest\_io.py", line 1880, in EXECUTE_NORMALIZED
[ComfyUI] to_return = cls.execute(*args, **kwargs)
[ComfyUI] File "C:\Users\ContainerUser\AppData\Local\Programs\comfy-env\.pixi\envs\sharp-nodes\Lib\site-packages\torch\utils\_contextlib.py", line 124, in decorate_context
[ComfyUI] return func(*args, **kwargs)
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Sharp\nodes\predict.py", line 127, in execute
[ComfyUI] patcher = _load_sharp_model(model)
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Sharp\nodes\load_model.py", line 138, in _load_sharp_model
[ComfyUI] import comfy.model_patcher
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy\model_patcher.py", line 32, in <module>
[ComfyUI] import comfy.hooks
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy\hooks.py", line 14, in <module>
[ComfyUI] import comfy.lora
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy\lora.py", line 22, in <module>
[ComfyUI] import comfy.model_base
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy\model_base.py", line 41, in <module>
[ComfyUI] import comfy.ldm.cosmos.model
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy\ldm\cosmos\model.py", line 25, in <module>
[ComfyUI] from torchvision import transforms
[ComfyUI] ModuleNotFoundError: No module named 'torchvision'
[ComfyUI]
[ComfyUI] [INFO] Using RAM pressure cache.
[ComfyUI] [INFO] Using RAM pressure cache.
Frame 1 saved (frame_000.jpg, t=0.0s)
Validating workflow...
Queuing workflow for execution...
[ComfyUI] [INFO] === /validate endpoint called ===
[ComfyUI] [INFO] Received JSON with keys: ['prompt']
[ComfyUI] [INFO] Prompt has 4 nodes
[ComfyUI] [INFO] Node 2: LoadSharpModel
[ComfyUI] [INFO] Inputs: {"precision": "auto"}
[ComfyUI] [INFO] Node 7: SharpPredict
[ComfyUI] [INFO] Inputs: {"focal_length_mm": ["9", 2], "output_prefix": "sharp", "model": ["2", 0], "image": ["9", 0]}
[ComfyUI] [INFO] Node 9: LoadImageWithExif
[ComfyUI] [INFO] Inputs: {"image": "eth3d.png", "default_focal_mm": 30}
[ComfyUI] [INFO] Node 11: PreviewGaussianSharp
[ComfyUI] [INFO] Inputs: {"preview_gaussian": "", "ply_path": ["7", 0], "extrinsics": ["7", 1], "intrinsics": ["7", 2]}
[ComfyUI] [INFO] Generated prompt_id: 168082e5-4662-404a-85d9-7a16545cff6c
[ComfyUI] [INFO] Calling execution.validate_prompt()...
[ComfyUI] [INFO] Validation result: valid=True
[ComfyUI] [INFO] === Validation PASSED ===
[ComfyUI] [INFO] got prompt
[ComfyUI] [comfy-env] Running LoadImageWithExif: image: 'eth3d.png', default_focal_mm: 30.0
[ComfyUI] [VRAM] Before LoadImageWithExif: 1271 / 24575 MB
[ComfyUI] [SubprocessWorker] call_method: nodes.load_image_exif.LoadImageWithExif.EXECUTE_NORMALIZED
[ComfyUI] [SubprocessWorker] acquired lock, ensuring started...
[ComfyUI] [ComfyUI-Sharp] Health check: ping (timeout=5.0s)...
[ComfyUI] [ComfyUI-Sharp] Health check: ok
[ComfyUI] [SubprocessWorker] worker started/confirmed
[ComfyUI] [SubprocessWorker] serializing kwargs to shm...
[ComfyUI] [SubprocessWorker] created 0 shm blocks
[ComfyUI] [SubprocessWorker] sending request via socket...
[ComfyUI] [SubprocessWorker] call_id=6 sending call_method
[ComfyUI] [SubprocessWorker] got response: ok
[ComfyUI] [comfy-env] LoadImageWithExif done (0.10s): result: NodeOutput
[ComfyUI] [VRAM] After LoadImageWithExif: 1271 / 24575 MB
[ComfyUI] [comfy-env] Running LoadSharpModel: precision: 'auto'
[ComfyUI] [VRAM] Before LoadSharpModel: 1271 / 24575 MB
[ComfyUI] [SubprocessWorker] call_method: nodes.load_model.LoadSharpModel.EXECUTE_NORMALIZED
[ComfyUI] [SubprocessWorker] acquired lock, ensuring started...
[ComfyUI] [ComfyUI-Sharp] Health check: ping (timeout=5.0s)...
[ComfyUI] [ComfyUI-Sharp] Health check: ok
[ComfyUI] [SubprocessWorker] worker started/confirmed
[ComfyUI] [SubprocessWorker] serializing kwargs to shm...
[ComfyUI] [SubprocessWorker] created 0 shm blocks
[ComfyUI] [SubprocessWorker] sending request via socket...
[ComfyUI] [SubprocessWorker] call_id=7 sending call_method
[ComfyUI] [worker:ComfyUI-Sharp] [LoadSharpModel] precision='auto' -> dtype=bf16 (device=cuda:0)
[ComfyUI] [worker:ComfyUI-Sharp] [LoadSharpModel] checkpoint already present, reusing (no download): C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\models\sharp\sharp_2572gikvuh.pt (2679.6 MB)
[ComfyUI] [worker:ComfyUI-Sharp] [LoadSharpModel] checkpoint ready: C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\models\sharp\sharp_2572gikvuh.pt (2679.6 MB)
[ComfyUI] [worker:ComfyUI-Sharp] [LoadSharpModel] config: precision=auto -> dtype=bf16
[ComfyUI] [SubprocessWorker] got response: ok
[ComfyUI] [comfy-env] LoadSharpModel done (0.03s): result: NodeOutput
[ComfyUI] [VRAM] After LoadSharpModel: 1271 / 24575 MB
[ComfyUI] [comfy-env] Running SharpPredict: focal_length_mm: 20.0, output_prefix: 'sharp', model: dict, image: torch.float32 [1,1011,1520,3] cpu
[ComfyUI] [VRAM] Before SharpPredict: 1271 / 24575 MB
[ComfyUI] [SubprocessWorker] call_method: nodes.predict.SharpPredict.EXECUTE_NORMALIZED
[ComfyUI] [SubprocessWorker] acquired lock, ensuring started...
[ComfyUI] [ComfyUI-Sharp] Health check: ping (timeout=5.0s)...
[ComfyUI] [ComfyUI-Sharp] Health check: ok
[ComfyUI] [SubprocessWorker] worker started/confirmed
[ComfyUI] [comfy-env] PRE-SERIALIZE 'image' shape: torch.Size([1, 1011, 1520, 3])
[ComfyUI] [SubprocessWorker] serializing kwargs to shm...
[ComfyUI] [SubprocessWorker] created 0 shm blocks
[ComfyUI] [SubprocessWorker] sending request via socket...
[ComfyUI] [SubprocessWorker] call_id=8 sending call_method
[ComfyUI] [worker:ComfyUI-Sharp] [comfy-env] _from_shm got dict with keys: ['__type__', 'strategy', 'manager_path', 'storage_key', 'storage_size']
[ComfyUI] [worker:ComfyUI-Sharp] [comfy-env] DESERIALIZE TensorRef: tensor_size=[1, 1011, 1520, 3]
[ComfyUI] [worker:ComfyUI-Sharp] [comfy-env] DESERIALIZED tensor shape: torch.Size([1, 1011, 1520, 3])
[ComfyUI] [SubprocessWorker] got response: error
[ComfyUI] [ERROR] !!! Exception during processing !!! No module named 'torchvision'
[ComfyUI]
[ComfyUI] Worker traceback:
[ComfyUI] Traceback (most recent call last):
[ComfyUI] File "C:\Users\ContainerUser\AppData\Local\Temp\comfyui_pvenv__j68vr6p\persistent_worker.py", line 1762, in main
[ComfyUI] result = method(**inputs)
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy_api\latest\_io.py", line 1880, in EXECUTE_NORMALIZED
[ComfyUI] to_return = cls.execute(*args, **kwargs)
[ComfyUI] File "C:\Users\ContainerUser\AppData\Local\Programs\comfy-env\.pixi\envs\sharp-nodes\Lib\site-packages\torch\utils\_contextlib.py", line 124, in decorate_context
[ComfyUI] return func(*args, **kwargs)
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Sharp\nodes\predict.py", line 127, in execute
[ComfyUI] patcher = _load_sharp_model(model)
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Sharp\nodes\load_model.py", line 138, in _load_sharp_model
[ComfyUI] import comfy.model_patcher
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy\model_patcher.py", line 32, in <module>
[ComfyUI] import comfy.hooks
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy\hooks.py", line 14, in <module>
[ComfyUI] import comfy.lora
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy\lora.py", line 22, in <module>
[ComfyUI] import comfy.model_base
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy\model_base.py", line 41, in <module>
[ComfyUI] import comfy.ldm.cosmos.model
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy\ldm\cosmos\model.py", line 25, in <module>
[ComfyUI] from torchvision import transforms
[ComfyUI] ModuleNotFoundError: No module named 'torchvision'
[ComfyUI]
[ComfyUI] [ERROR] Traceback (most recent call last):
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\execution.py", line 536, in execute
Execution complete (t=0.5s)
[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)
Execution error: {'prompt_id': '3c8256ea-1718-4020-a394-5cedf399e8ad', 'node_id': '7', 'node_type': 'SharpPredict', 'executed': ['9', '2'], 'exception_message': 'No module named \'torchvision\'\n\nWorker traceback:\nTraceback (most recent call last):\n File "C:\\Users\\ContainerUser\\AppData\\Local\\Temp\\comfyui_pvenv__j68vr6p\\persistent_worker.py", line 1762, in main\n result = method(**inputs)\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy_api\\latest\\_io.py", line 1880, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n File "C:\\Users\\ContainerUser\\AppData\\Local\\Programs\\comfy-env\\.pixi\\envs\\sharp-nodes\\Lib\\site-packages\\torch\\utils\\_contextlib.py", line 124, in decorate_context\n return func(*args, **kwargs)\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\custom_nodes\\ComfyUI-Sharp\\nodes\\predict.py", line 127, in execute\n patcher = _load_sharp_model(model)\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\custom_nodes\\ComfyUI-Sharp\\nodes\\load_model.py", line 138, in _load_sharp_model\n import comfy.model_patcher\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy\\model_patcher.py", line 32, in <module>\n import comfy.hooks\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy\\hooks.py", line 14, in <module>\n import comfy.lora\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy\\lora.py", line 22, in <module>\n import comfy.model_base\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy\\model_base.py", line 41, in <module>\n import comfy.ldm.cosmos.model\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy\\ldm\\cosmos\\model.py", line 25, in <module>\n from torchvision import transforms\nModuleNotFoundError: No module named \'torchvision\'\n\n', 'exception_type': 'comfy_env.isolation.workers.base.WorkerError', 'traceback': [' File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\execution.py", line 536, 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 "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\execution.py", line 336, 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 "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\execution.py", line 310, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\execution.py", line 298, in process_inputs\n result = f(**inputs)\n', ' File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\comfy_env\\isolation\\metadata.py", line 556, in proxy\n result = worker.call_method(\n module_name=mod,\n ...<4 lines>...\n timeout=600.0,\n )\n', ' File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\comfy_env\\isolation\\workers\\subprocess.py", line 674, in call_method\n raise WorkerError(\n ...<2 lines>...\n )\n'], 'current_inputs': {'focal_length_mm': [20], 'output_prefix': ['sharp'], 'model': ["{'model_path': 'C:\\\\workspaces\\\\Sharp-2317\\\\portable-comfyui\\\\ComfyUI_windows_portable\\\\ComfyUI\\\\models\\\\sharp\\\\sharp_2572gikvuh.pt', 'precision': 'auto', 'dtype': 'bf16'}"], 'image': ['tensor([[[[0.2235, 0.1647, 0.1569],\n [0.2353, 0.1647, 0.1647],\n [0.2471, 0.1725, 0.1529],\n ...,\n [0.4588, 0.4824, 0.4784],\n [0.4510, 0.4784, 0.4745],\n [0.4510, 0.4745, 0.4745]],\n\n [[0.2392, 0.1686, 0.1608],\n [0.2431, 0.1686, 0.1608],\n [0.2510, 0.1725, 0.1569],\n ...,\n [0.4549, 0.4784, 0.4706],\n [0.4549, 0.4745, 0.4667],\n [0.4510, 0.4706, 0.4627]],\n\n [[0.2275, 0.1686, 0.1608],\n [0.2431, 0.1725, 0.1569],\n [0.2549, 0.1686, 0.1569],\n ...,\n [0.4431, 0.4667, 0.4588],\n [0.4392, 0.4627, 0.4549],\n [0.4353, 0.4627, 0.4510]],\n\n ...,\n\n [[0.1490, 0.1647, 0.1922],\n [0.1569, 0.1686, 0.1922],\n [0.1569, 0.1686, 0.2000],\n ...,\n [0.1098, 0.1176, 0.1294],\n [0.1137, 0.1176, 0.1333],\n [0.1098, 0.1216, 0.1333]],\n\n [[0.1608, 0.1647, 0.1882],\n [0.1490, 0.1686, 0.1922],\n [0.1647, 0.1686, 0.2039],\n ...,\n [0.1176, 0.1176, 0.1333],\n [0.1098, 0.1176, 0.1333],\n [0.0980, 0.1216, 0.1373]],\n\n [[0.1608, 0.1686, 0.1882],\n [0.1569, 0.1686, 0.1922],\n [0.1569, 0.1765, 0.1961],\n ...,\n [0.1098, 0.1216, 0.1333],\n [0.1098, 0.1176, 0.1373],\n [0.1137, 0.1176, 0.1333]]]])'], 'prompt': ["{'2': {'inputs': {'precision': 'auto'}, 'class_type': 'LoadSharpModel', '_meta': {'title': '(Down)Load SHARP Model'}}, '7': {'inputs': {'focal_length_mm': ['9', 2], 'output_prefix': 'sharp', 'model': ['2', 0], 'image': ['9', 0]}, 'class_type': 'SharpPredict', '_meta': {'title': 'SHARP Predict (Image to PLY)'}}, '9': {'inputs': {'image': 'eth3d.png', 'default_focal_mm': 30.0}, 'class_type': 'LoadImageWithExif', '_meta': {'title': 'Load Image with EXIF (Focal Length)'}}, '11': {'inputs': {'preview_gaussian': '', 'ply_path': ['7', 0], 'extrinsics': ['7', 1], 'intrinsics': ['7', 2]}, 'class_type': 'PreviewGaussianSharp', '_meta': {'title': 'Preview Gaussian Sharp'}}}"], 'extra_pnginfo': ["{'workflow': {'id': 'sharp-basic-workflow', 'revision': 0, 'last_node_id': 11, 'last_link_id': 24, 'nodes': [{'id': 2, 'type': 'LoadSharpModel', 'pos': [-150, -400], 'size': [270, 106.65625], 'flags': {}, 'order': 0, 'mode': 0, 'inputs': [], 'outputs': [{'name': 'model_config', 'type': 'SHARP_MODEL_CONFIG', 'links': [11]}], 'properties': {'Node name for S&R': 'LoadSharpModel', 'aux_id': 'PozzettiAndrea/ComfyUI-Sharp', 'ver': '9f1b9c726e2cfc0118866c3df783e7f6bc895226', 'cnr_id': 'comfyui-sharp'}, 'widgets_values': ['auto']}, {'id': 9, 'type': 'LoadImageWithExif', 'pos': [-208.74978010739324, -99.02778023242435], 'size': [342.28125, 420], 'flags': {}, 'order': 1, 'mode': 0, 'inputs': [], 'outputs': [{'name': 'image', 'type': 'IMAGE', 'links': [19]}, {'name': 'mask', 'type': 'MASK', 'links': None}, {'name': 'focal_length_mm', 'type': 'FLOAT', 'links': [20]}], 'properties': {'Node name for S&R': 'LoadImageWithExif', 'aux_id': 'PozzettiAndrea/ComfyUI-Sharp', 'ver': 'c69751a59b587c3b83d0e37cfe2bab3bc838574a', 'cnr_id': 'comfyui-sharp'}, 'widgets_values': ['eth3d.png', 30, 'image']}, {'id': 7, 'type': 'SharpPredict', 'pos': [226.15696022727278, -245.70490056818184], 'size': [298.890625, 236], 'flags': {}, 'order': 2, 'mode': 0, 'inputs': [{'name': 'model', 'type': 'SHARP_MODEL_CONFIG', 'link': 11}, {'name': 'image', 'type': 'IMAGE', 'link': 19}, {'name': 'extrinsics', 'shape': 7, 'type': 'EXTRINSICS', 'link': None}, {'name': 'intrinsics', 'shape': 7, 'type': 'INTRINSICS', 'link': None}, {'name': 'focal_length_mm', 'shape': 7, 'type': 'FLOAT', 'widget': {'name': 'focal_length_mm'}, 'link': 20}], 'outputs': [{'name': 'ply_path', 'type': 'STRING', 'links': [22]}, {'name': 'extrinsics', 'type': 'EXTRINSICS', 'links': [23]}, {'name': 'intrinsics', 'type': 'INTRINSICS', 'links': [24]}, {'name': 'layer_0_refined_depth', 'type': 'IMAGE', 'links': None}, {'name': 'layer_1_refined_depth', 'type': 'IMAGE', 'links': None}], 'properties': {'Node name for S&R': 'SharpPredict', 'aux_id': 'PozzettiAndrea/ComfyUI-Sharp', 'ver': 'c69751a59b587c3b83d0e37cfe2bab3bc838574a', 'cnr_id': 'comfyui-sharp'}, 'widgets_values': [30, 'sharp']}, {'id': 11, 'type': 'PreviewGaussianSharp', 'pos': [600.5860117362482, -287.72961200652577], 'size': [512, 658], 'flags': {}, 'order': 3, 'mode': 0, 'inputs': [{'name': 'ply_path', 'type': 'STRING', 'link': 22}, {'name': 'extrinsics', 'shape': 7, 'type': 'EXTRINSICS', 'link': 23}, {'name': 'intrinsics', 'shape': 7, 'type': 'INTRINSICS', 'link': 24}], 'outputs': [{'name': 'extrinsics', 'type': 'EXTRINSICS', 'links': None}, {'name': 'intrinsics', 'type': 'INTRINSICS', 'links': None}], 'properties': {'Node name for S&R': 'PreviewGaussianSharp', 'aux_id': 'PozzettiAndrea/ComfyUI-GaussianPack', 'ver': '059313a53ffa7ecc8697eddc02d2cee4727e5085'}, 'widgets_values': ['']}], 'links': [[11, 2, 0, 7, 0, 'SHARP_MODEL'], [19, 9, 0, 7, 1, 'IMAGE'], [20, 9, 2, 7, 4, 'FLOAT'], [22, 7, 0, 11, 0, 'STRING'], [23, 7, 1, 11, 1, 'EXTRINSICS'], [24, 7, 2, 11, 2, 'INTRINSICS']], 'groups': [], 'config': {}, 'extra': {'ds': {'scale': 0.9373016969629105, 'offset': [449.06099628194596, 596.4219590460706]}, 'workflowRendererVersion': 'LG', 'frontendVersion': '1.44.19'}, 'version': 0.4}}"]}, 'current_outputs': ['9', '2', '7', '11'], 'timestamp': 1780868131072}
[ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Status: FAILED
Error: Workflow execution failed: {'prompt_id': '3c8256ea-1718-4020-a394-5cedf399e8ad', 'node_id': '7', 'node_type': 'SharpPredict', 'executed': ['9', '2'], 'exception_message': 'No module named \'torchvision\'\n\nWorker traceback:\nTraceback (most recent call last):\n File "C:\\Users\\ContainerUser\\AppData\\Local\\Temp\\comfyui_pvenv__j68vr6p\\persistent_worker.py", line 1762, in main\n result = method(**inputs)\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy_api\\latest\\_io.py", line 1880, in EXECUTE_NORMALIZED\n to_return = cls.execute(*args, **kwargs)\n File "C:\\Users\\ContainerUser\\AppData\\Local\\Programs\\comfy-env\\.pixi\\envs\\sharp-nodes\\Lib\\site-packages\\torch\\utils\\_contextlib.py", line 124, in decorate_context\n return func(*args, **kwargs)\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\custom_nodes\\ComfyUI-Sharp\\nodes\\predict.py", line 127, in execute\n patcher = _load_sharp_model(model)\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\custom_nodes\\ComfyUI-Sharp\\nodes\\load_model.py", line 138, in _load_sharp_model\n import comfy.model_patcher\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy\\model_patcher.py", line 32, in <module>\n import comfy.hooks\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy\\hooks.py", line 14, in <module>\n import comfy.lora\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy\\lora.py", line 22, in <module>\n import comfy.model_base\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy\\model_base.py", line 41, in <module>\n import comfy.ldm.cosmos.model\n File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\comfy\\ldm\\cosmos\\model.py", line 25, in <module>\n from torchvision import transforms\nModuleNotFoundError: No module named \'torchvision\'\n\n', 'exception_type': 'comfy_env.isolation.workers.base.WorkerError', 'traceback': [' File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\execution.py", line 536, 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 "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\execution.py", line 336, 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 "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\execution.py", line 310, in _async_map_node_over_list\n await process_inputs(input_dict, i)\n', ' File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\ComfyUI\\execution.py", line 298, in process_inputs\n result = f(**inputs)\n', ' File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\comfy_env\\isolation\\metadata.py", line 556, in proxy\n result = worker.call_method(\n module_name=mod,\n ...<4 lines>...\n timeout=600.0,\n )\n', ' File "C:\\workspaces\\Sharp-2317\\portable-comfyui\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\comfy_env\\isolation\\workers\\subprocess.py", line 674, in call_method\n raise WorkerError(\n ...<2 lines>...\n )\n'], 'current_inputs': {'focal_length_mm': [20], 'output_prefix': ['sharp'], 'model': ["{'model_path': 'C:\\\\workspaces\\\\Sharp-2317\\\\portable-comfyui\\\\ComfyUI_windows_portable\\\\ComfyUI\\\\models\\\\sharp\\\\sharp_2572gikvuh.pt', 'precision': 'auto', 'dtype': 'bf16'}"], 'image': ['tensor([[[[0.2235, 0.1647, 0.1569],\n [0.2353, 0.1647, 0.1647],\n [0.2471, 0.1725, 0.1529],\n ...,\n [0.4588, 0.4824, 0.4784],\n [0.4510, 0.4784, 0.4745],\n [0.4510, 0.4745, 0.4745]],\n\n [[0.2392, 0.1686, 0.1608],\n [0.2431, 0.1686, 0.1608],\n [0.2510, 0.1725, 0.1569],\n ...,\n [0.4549, 0.4784, 0.4706],\n [0.4549, 0.4745, 0.4667],\n [0.4510, 0.4706, 0.4627]],\n\n [[0.2275, 0.1686, 0.1608],\n [0.2431, 0.1725, 0.1569],\n [0.2549, 0.1686, 0.1569],\n ...,\n [0.4431, 0.4667, 0.4588],\n [0.4392, 0.4627, 0.4549],\n [0.4353, 0.4627, 0.4510]],\n\n ...,\n\n [[0.1490, 0.1647, 0.1922],\n [0.1569, 0.1686, 0.1922],\n [0.1569, 0.1686, 0.2000],\n ...,\n [0.1098, 0.1176, 0.1294],\n [0.1137, 0.1176, 0.1333],\n [0.1098, 0.1216, 0.1333]],\n\n [[0.1608, 0.1647, 0.1882],\n [0.1490, 0.1686, 0.1922],\n [0.1647, 0.1686, 0.2039],\n ...,\n [0.1176, 0.1176, 0.1333],\n [0.1098, 0.1176, 0.1333],\n [0.0980, 0.1216, 0.1373]],\n\n [[0.1608, 0.1686, 0.1882],\n [0.1569, 0.1686, 0.1922],\n [0.1569, 0.1765, 0.1961],\n ...,\n [0.1098, 0.1216, 0.1333],\n [0.1098, 0.1176, 0.1373],\n [0.1137, 0.1176, 0.1333]]]])'], 'prompt': ["{'2': {'inputs': {'precision': 'auto'}, 'class_type': 'LoadSharpModel', '_meta': {'title': '(Down)Load SHARP Model'}}, '7': {'inputs': {'focal_length_mm': ['9', 2], 'output_prefix': 'sharp', 'model': ['2', 0], 'image': ['9', 0]}, 'class_type': 'SharpPredict', '_meta': {'title': 'SHARP Predict (Image to PLY)'}}, '9': {'inputs': {'image': 'eth3d.png', 'default_focal_mm': 30.0}, 'class_type': 'LoadImageWithExif', '_meta': {'title': 'Load Image with EXIF (Focal Length)'}}, '11': {'inputs': {'preview_gaussian': '', 'ply_path': ['7', 0], 'extrinsics': ['7', 1], 'intrinsics': ['7', 2]}, 'class_type': 'PreviewGaussianSharp', '_meta': {'title': 'Preview Gaussian Sharp'}}}"], 'extra_pnginfo': ["{'workflow': {'id': 'sharp-basic-workflow', 'revision': 0, 'last_node_id': 11, 'last_link_id': 24, 'nodes': [{'id': 2, 'type': 'LoadSharpModel', 'pos': [-150, -400], 'size': [270, 106.65625], 'flags': {}, 'order': 0, 'mode': 0, 'inputs': [], 'outputs': [{'name': 'model_config', 'type': 'SHARP_MODEL_CONFIG', 'links': [11]}], 'properties': {'Node name for S&R': 'LoadSharpModel', 'aux_id': 'PozzettiAndrea/ComfyUI-Sharp', 'ver': '9f1b9c726e2cfc0118866c3df783e7f6bc895226', 'cnr_id': 'comfyui-sharp'}, 'widgets_values': ['auto']}, {'id': 9, 'type': 'LoadImageWithExif', 'pos': [-208.74978010739324, -99.02778023242435], 'size': [342.28125, 420], 'flags': {}, 'order': 1, 'mode': 0, 'inputs': [], 'outputs': [{'name': 'image', 'type': 'IMAGE', 'links': [19]}, {'name': 'mask', 'type': 'MASK', 'links': None}, {'name': 'focal_length_mm', 'type': 'FLOAT', 'links': [20]}], 'properties': {'Node name for S&R': 'LoadImageWithExif', 'aux_id': 'PozzettiAndrea/ComfyUI-Sharp', 'ver': 'c69751a59b587c3b83d0e37cfe2bab3bc838574a', 'cnr_id': 'comfyui-sharp'}, 'widgets_values': ['eth3d.png', 30, 'image']}, {'id': 7, 'type': 'SharpPredict', 'pos': [226.15696022727278, -245.70490056818184], 'size': [298.890625, 236], 'flags': {}, 'order': 2, 'mode': 0, 'inputs': [{'name': 'model', 'type': 'SHARP_MODEL_CONFIG', 'link': 11}, {'name': 'image', 'type': 'IMAGE', 'link': 19}, {'name': 'extrinsics', 'shape': 7, 'type': 'EXTRINSICS', 'link': None}, {'name': 'intrinsics', 'shape': 7, 'type': 'INTRINSICS', 'link': None}, {'name': 'focal_length_mm', 'shape': 7, 'type': 'FLOAT', 'widget': {'name': 'focal_length_mm'}, 'link': 20}], 'outputs': [{'name': 'ply_path', 'type': 'STRING', 'links': [22]}, {'name': 'extrinsics', 'type': 'EXTRINSICS', 'links': [23]}, {'name': 'intrinsics', 'type': 'INTRINSICS', 'links': [24]}, {'name': 'layer_0_refined_depth', 'type': 'IMAGE', 'links': None}, {'name': 'layer_1_refined_depth', 'type': 'IMAGE', 'links': None}], 'properties': {'Node name for S&R': 'SharpPredict', 'aux_id': 'PozzettiAndrea/ComfyUI-Sharp', 'ver': 'c69751a59b587c3b83d0e37cfe2bab3bc838574a', 'cnr_id': 'comfyui-sharp'}, 'widgets_values': [30, 'sharp']}, {'id': 11, 'type': 'PreviewGaussianSharp', 'pos': [600.5860117362482, -287.72961200652577], 'size': [512, 658], 'flags': {}, 'order': 3, 'mode': 0, 'inputs': [{'name': 'ply_path', 'type': 'STRING', 'link': 22}, {'name': 'extrinsics', 'shape': 7, 'type': 'EXTRINSICS', 'link': 23}, {'name': 'intrinsics', 'shape': 7, 'type': 'INTRINSICS', 'link': 24}], 'outputs': [{'name': 'extrinsics', 'type': 'EXTRINSICS', 'links': None}, {'name': 'intrinsics', 'type': 'INTRINSICS', 'links': None}], 'properties': {'Node name for S&R': 'PreviewGaussianSharp', 'aux_id': 'PozzettiAndrea/ComfyUI-GaussianPack', 'ver': '059313a53ffa7ecc8697eddc02d2cee4727e5085'}, 'widgets_values': ['']}], 'links': [[11, 2, 0, 7, 0, 'SHARP_MODEL'], [19, 9, 0, 7, 1, 'IMAGE'], [20, 9, 2, 7, 4, 'FLOAT'], [22, 7, 0, 11, 0, 'STRING'], [23, 7, 1, 11, 1, 'EXTRINSICS'], [24, 7, 2, 11, 2, 'INTRINSICS']], 'groups': [], 'config': {}, 'extra': {'ds': {'scale': 0.9373016969629105, 'offset': [449.06099628194596, 596.4219590460706]}, 'workflowRendererVersion': 'LG', 'frontendVersion': '1.44.19'}, 'version': 0.4}}"]}, 'current_outputs': ['9', '2', '7', '11'], 'timestamp': 1780868131072}
Details: Workflow: C:\ComfyUI-Sharp\workflows\sharp_exif.json
Node error: SharpPredict
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\execution.py", line 336, in get_output_data
[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)
[ComfyUI] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\execution.py", line 310, in _async_map_node_over_list
[ComfyUI] await process_inputs(input_dict, i)
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\execution.py", line 298, in process_inputs
[ComfyUI] result = f(**inputs)
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\python_embeded\Lib\site-packages\comfy_env\isolation\metadata.py", line 556, in proxy
[ComfyUI] result = worker.call_method(
[ComfyUI] module_name=mod,
[ComfyUI] ...<4 lines>...
[ComfyUI] timeout=600.0,
[ComfyUI] )
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\python_embeded\Lib\site-packages\comfy_env\isolation\workers\subprocess.py", line 674, in call_method
[ComfyUI] raise WorkerError(
[ComfyUI] ...<2 lines>...
[ComfyUI] )
[ComfyUI] comfy_env.isolation.workers.base.WorkerError: No module named 'torchvision'
[ComfyUI]
[ComfyUI] Worker traceback:
[ComfyUI] Traceback (most recent call last):
[ComfyUI] File "C:\Users\ContainerUser\AppData\Local\Temp\comfyui_pvenv__j68vr6p\persistent_worker.py", line 1762, in main
[ComfyUI] result = method(**inputs)
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy_api\latest\_io.py", line 1880, in EXECUTE_NORMALIZED
[ComfyUI] to_return = cls.execute(*args, **kwargs)
[ComfyUI] File "C:\Users\ContainerUser\AppData\Local\Programs\comfy-env\.pixi\envs\sharp-nodes\Lib\site-packages\torch\utils\_contextlib.py", line 124, in decorate_context
[ComfyUI] return func(*args, **kwargs)
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Sharp\nodes\predict.py", line 127, in execute
[ComfyUI] patcher = _load_sharp_model(model)
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Sharp\nodes\load_model.py", line 138, in _load_sharp_model
[ComfyUI] import comfy.model_patcher
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy\model_patcher.py", line 32, in <module>
[ComfyUI] import comfy.hooks
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy\hooks.py", line 14, in <module>
[ComfyUI] import comfy.lora
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy\lora.py", line 22, in <module>
[ComfyUI] import comfy.model_base
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy\model_base.py", line 41, in <module>
[ComfyUI] import comfy.ldm.cosmos.model
[ComfyUI] File "C:\workspaces\Sharp-2317\portable-comfyui\ComfyUI_windows_portable\ComfyUI\comfy\ldm\cosmos\model.py", line 25, in <module>
[ComfyUI] from torchvision import transforms
[ComfyUI] ModuleNotFoundError: No module named 'torchvision'
[ComfyUI]