google-coral / tflite

Examples using TensorFlow Lite API to run inference on Coral devices
https://coral.withgoogle.com
Apache License 2.0
182 stars 68 forks source link

pycoral has problem -- Edge TPU #66

Open hyeonseochoi2006 opened 8 months ago

hyeonseochoi2006 commented 8 months ago

Description

chuih@▒▒▒▒_NOTE-BOOK MINGW64 ~/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:\Users\chuih\coral\pycoral\examples\classify_image.py", line 121, in main() File "C:\Users\chuih\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'

and i have python version 3.9.0

Click to expand! ### Issue Type Build/Install ### Operating System _No response_ ### Coral Device _No response_ ### Other Devices _No response_ ### Programming Language _No response_ ### Relevant Log Output _No response_
hyeonseochoi2006 commented 8 months ago

coral setup => https://coral.ai/docs/accelerator/get-started/#pycoral-on-linux