You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There might be something wrong with the version of pillow. Try this : border=(0, 0, padw, padh) -> border=20
Thank you very much, I solved it.
But I don't know why "img = ImageOps.expand(img, border=(0, 0, padw, padh), fill=0)" can run
but "mask = ImageOps.expand(mask, border=(0, 0, padw, padh), fill=0)" can not?
Thank you very much, I solved it.
But I don't know why "img = ImageOps.expand(img, border=(0, 0, padw, padh), fill=0)" can run
but "mask = ImageOps.expand(mask, border=(0, 0, padw, padh), fill=0)" can not?
Originally posted by @cy998412 in #184 (comment)
The text was updated successfully, but these errors were encountered: