Open endpang opened 6 years ago
Under the Python 3.5
get_image yet return pil_to_np result。
modify code
img_np = get_image(fname, imsize)[1]
run successfully。
Update to the latest version of pillow solves the error. pip3 install pillow --upgrade
pip3 install pillow --upgrade
@tuanphuc No, it doesn't... ;) I'm using pillow 5.0.0 and get this error.
Under the Python 3.5
get_image yet return pil_to_np result。
modify code
run successfully。