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
Following coral setup documentation and ran into a breaking change introduced with Pillow 10.0.0. Image.ANTIALIAS has been deprecated and instead should just use Image.LANCZOS.
Issue Type
Bug
Operating System
No response
Coral Device
USB Accelerator
Other Devices
No response
Programming Language
Python 3.9
Relevant Log Output
home-mini@Mini MINGW64 /c/coral/pycoral (master)
$ python3 examples/classify_image.py \
--model test_data/mobilenet_v2_1.0_224_inat_bird_quant_edgetpu.tflite \
--labels test_data/inat_bird_labels.txt \
--input test_data/parrot.jpg
Traceback (most recent call last):
File "C:\coral\pycoral\examples\classify_image.py", line 121, in<module>main()
File "C:\coral\pycoral\examples\classify_image.py", line 79, in main
image = Image.open(args.input).convert('RGB').resize(size, Image.ANTIALIAS)
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
The text was updated successfully, but these errors were encountered:
Description
Following coral setup documentation and ran into a breaking change introduced with Pillow 10.0.0. Image.ANTIALIAS has been deprecated and instead should just use Image.LANCZOS.
Issue Type
Bug
Operating System
No response
Coral Device
USB Accelerator
Other Devices
No response
Programming Language
Python 3.9
Relevant Log Output
The text was updated successfully, but these errors were encountered: