rembg
rembg copied to clipboard
OSError: [WinError 6] Handle non valido
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