Open sntsris opened 9 months ago
I would assume the version of rembg you have is not compatible. I've been using it extensive, and besides a onnx runtime warning, it functions as expected. Can you see what version of rembg you have? For example, as of yesterday, installing a fresh copy of ComfyUI, I obtained the version rembg==2.0.54
(ComfyUI) PS K:\ComfyUI_Main\ComfyUI> pip show rembg
Name: rembg
Version: 2.0.54
Summary: Remove image background
Home-page: https://github.com/danielgatis/rembg
Author: Daniel Gatis
Author-email: danielgatis@gmail.com
License:
Location: k:\comfyui_main\comfyui\lib\site-packages
Requires: jsonschema, numpy, onnxruntime, opencv-python-headless, pillow, pooch, pymatting, scikit-image, scipy, tqdm
Required-by:
Hi there,
I encountered a runtime error while executing a custom node in ComfyUI, specifically within the image processing workflow. The error occurs when calling the remove() function from a custom node designed for background removal. Below is the traceback for the error encountered:
Image Rembg node
Environment Details:
ComfyUI Version: 19[c5a369] (2024-01-31) I'm not sure if this is an issue with the version of the rembg library being used or if it's an issue with the custom node implementation. Any insights or suggestions on how to resolve this error would be greatly appreciated.
Thank you for your assistance.