-
Notifications
You must be signed in to change notification settings - Fork 858
Open
Description
配置好了依赖,在运行工作流的时候,走到LatentSyncNode节点报错
我的系统是:Ubuntu 22.04
是环境配置出错?还是代码有问题?
谢谢解答
ComfyUI Error Report
Error Details
- Node ID: 54
- Node Type: LatentSyncNode
- Exception Type: cv2.error
- Exception Message: OpenCV(4.10.0) /io/opencv/modules/imgproc/src/color.cpp:196: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
Stack Trace
File "/data/ComfyUI/execution.py", line 327, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/ComfyUI/execution.py", line 202, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/ComfyUI/execution.py", line 174, in _map_node_over_list
process_inputs(input_dict, i)
File "/data/ComfyUI/execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/ComfyUI/custom_nodes/ComfyUI-LatentSyncWrapper/nodes.py", line 584, in inference
inference_module.main(config, args)
File "/data/ComfyUI/custom_nodes/ComfyUI-LatentSyncWrapper/scripts/inference.py", line 133, in main
pipeline(
File "/data/ComfyUI/venv/lib/python3.12/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/data/ComfyUI/custom_nodes/ComfyUI-LatentSyncWrapper/latentsync/pipelines/lipsync_pipeline.py", line 314, in __call__
mask_image = load_fixed_mask(height, mask_image_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/ComfyUI/custom_nodes/ComfyUI-LatentSyncWrapper/latentsync/utils/image_processor.py", line 33, in load_fixed_mask
mask_image = cv2.cvtColor(mask_image, cv2.COLOR_BGR2RGB)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cv2.error: OpenCV(4.10.0) /io/opencv/modules/imgproc/src/color.cpp:196: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
Metadata
Metadata
Assignees
Labels
No labels