Closed yopox closed 4 years ago
If I'm not mistaken, does it expect three channels (RGB) while your PNG contains an additional (probably alpha) channel thus leading to four channels (RGBA) which it cannot handle.
Convert your image to jpg or remove the additional channel from your png for it to work.
Fixed it)
Here's what was missing:
face = face.convert('RGB')
When I upload this image (32x32 .png) using english or russian colab, I get the following error: