danielgatis / rembg

Rembg is a tool to remove images background
MIT License
16.46k stars 1.84k forks source link

OSError: [WinError 6] Handle non valido #605

Closed Maverick1983 closed 5 months ago

Maverick1983 commented 6 months ago

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

github-actions[bot] commented 5 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 5 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.