Looks like there is an error when trying to run more than 1 image though the node. Here is the error.
I've also attached an example workflow of the error.
`Error occurred when executing BiRefNet:
OpenCV(4.9.0) /io/opencv/modules/imgproc/src/resize.cpp:3789: error: (-215:Assertion failed) !dsize.empty() in function 'resize'
File "/notebooks/ComfyUI/execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/notebooks/ComfyUI/execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/notebooks/ComfyUI/execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/notebooks/ComfyUI/custom_nodes/ComfyUI-BiRefNet/BiRefNet_node.py", line 104, in matting
img = self.processor(image)
File "/notebooks/ComfyUI/custom_nodes/ComfyUI-BiRefNet/BiRefNet_node.py", line 34, in call
_image_rs = cv2.resize(_image, (self.config.size, self.config.size), interpolation=cv2.INTER_LINEAR)`
Looks like there is an error when trying to run more than 1 image though the node. Here is the error. I've also attached an example workflow of the error.
`Error occurred when executing BiRefNet:
OpenCV(4.9.0) /io/opencv/modules/imgproc/src/resize.cpp:3789: error: (-215:Assertion failed) !dsize.empty() in function 'resize'
File "/notebooks/ComfyUI/execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "/notebooks/ComfyUI/execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "/notebooks/ComfyUI/execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "/notebooks/ComfyUI/custom_nodes/ComfyUI-BiRefNet/BiRefNet_node.py", line 104, in matting img = self.processor(image) File "/notebooks/ComfyUI/custom_nodes/ComfyUI-BiRefNet/BiRefNet_node.py", line 34, in call _image_rs = cv2.resize(_image, (self.config.size, self.config.size), interpolation=cv2.INTER_LINEAR)`
birefnet_error_workflow.json