Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

pycoral has problem -- Edge TPU #66

@hyeonseochoi2006

Description

@hyeonseochoi2006

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions