You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 "/home/renyujing/ryj/ComfyUI/execution.py", line 324, 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 "/home/renyujing/ryj/ComfyUI/execution.py", line 199, 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 "/home/renyujing/ryj/ComfyUI/execution.py", line 170, in _map_node_over_list
process_inputs(input_dict, i)
File "/home/renyujing/ryj/ComfyUI/execution.py", line 159, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "/home/renyujing/ryj/ComfyUI/custom_nodes/ComfyUI_LayerStyle_Advance/py/lama.py", line 113, in lama
cli.run(model=lama_model, device=device, image=Path(image_dir), mask=Path(mask_dir), output=Path(result_dir), config=Path(config_dir))
File "/home/renyujing/ryj/ComfyUI/custom_nodes/ComfyUI_LayerStyle_Advance/py/iopaint/cli.py", line 91, in run
batch_inpaint(model, device, image, mask, output, config, concat)
File "/home/renyujing/ryj/ComfyUI/custom_nodes/ComfyUI_LayerStyle_Advance/py/iopaint/batch_processing.py", line 96, in batch_inpaint
img = cv2.cvtColor(img, cv2.COLOR_BGRA2RGB)
ComfyUI Error Report
Error Details
Stack Trace
System Information
Devices
Logs
2025-01-02T11:23:55.726722 - Prompt executed in 5.99 seconds
2025-01-02T11:30:25.793538 - got prompt
2025-01-02T11:30:25.824256 - # 😺dzNodes: LayerStyle -> �[1;33mlama copy�[m2025-01-02T11:30:25.824741 -
2025-01-02T11:30:25.959406 - # 😺dzNodes: LayerStyle -> �[1;33mconfig file written: /home/renyujing/ryj/ComfyUI/temp/_lama_y5p002dmqfbe47ab_temp/config.json�[m2025-01-02T11:30:25.959467 -
2025-01-02T11:30:29.370890 - 2025-01-02 11:30:29.370 | INFO | ComfyUI_LayerStyle_Advance.py.iopaint.model_manager:init_model:38 - Loading model: lama
2025-01-02T11:30:29.371094 - 2025-01-02 11:30:29.370 | INFO | ComfyUI_LayerStyle_Advance.py.iopaint.helper:load_jit_model:109 - Loading model from: /home/renyujing/ryj/ComfyUI/models/lama/big-lama.pt
2025-01-02T11:30:29.973145 - ⠋ Batch processing... 0% 0/1 0:00:002025-01-02T11:30:29.973291 -
2025-01-02T11:30:29.974759 - !!! Exception during processing !!! OpenCV(4.10.0) /io/opencv/modules/imgproc/src/color.cpp:196: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
2025-01-02T11:30:29.975032 - Traceback (most recent call last):
File "/home/renyujing/ryj/ComfyUI/execution.py", line 324, 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 "/home/renyujing/ryj/ComfyUI/execution.py", line 199, 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 "/home/renyujing/ryj/ComfyUI/execution.py", line 170, in _map_node_over_list
process_inputs(input_dict, i)
File "/home/renyujing/ryj/ComfyUI/execution.py", line 159, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "/home/renyujing/ryj/ComfyUI/custom_nodes/ComfyUI_LayerStyle_Advance/py/lama.py", line 113, in lama
cli.run(model=lama_model, device=device, image=Path(image_dir), mask=Path(mask_dir), output=Path(result_dir), config=Path(config_dir))
File "/home/renyujing/ryj/ComfyUI/custom_nodes/ComfyUI_LayerStyle_Advance/py/iopaint/cli.py", line 91, in run
batch_inpaint(model, device, image, mask, output, config, concat)
File "/home/renyujing/ryj/ComfyUI/custom_nodes/ComfyUI_LayerStyle_Advance/py/iopaint/batch_processing.py", line 96, in batch_inpaint
img = cv2.cvtColor(img, cv2.COLOR_BGRA2RGB)
cv2.error: OpenCV(4.10.0) /io/opencv/modules/imgproc/src/color.cpp:196: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
2025-01-02T11:30:29.975348 - Prompt executed in 4.16 seconds
The text was updated successfully, but these errors were encountered: