rembg icon indicating copy to clipboard operation
rembg copied to clipboard

OSError: [WinError 6] Handle non valido

Open Maverick1983 opened this issue 1 year ago • 0 comments

Describe the bug When I want to remove bg from a photo, locally (on google colab it's working good) I have this error:

input = Image.open(BytesIO(byte_encode))
input.save('image/out/' + imagename + '_segmentation_mask.png')
output = remove(input) --> OSError: [WinError 6] Handle non valido

OS Version: Windows 11

Rembg version: v2.0.55

Maverick1983 avatar Mar 11 '24 15:03 Maverick1983