google-coral / project-teachable-sorter

Apache License 2.0
49 stars 15 forks source link

Error Message - Unknown Resampling Filter #9

Closed rob26r closed 2 years ago

rob26r commented 4 years ago

Hi - I am running using this command:

Python3 sorter.py --opencv

Why am I getting this error message?

Traceback (most recent call last):
  File "sorter-copy.py", line 174, in <module>
    pil_im.resize(224, 224)
  File "/usr/lib/python3/dist-packages/PIL/Image.py", line 1784, in resize
    raise ValueError("unknown resampling filter")
ValueError: unknown resampling filter
zhoushijun commented 4 years ago

transforms.Resize(224, 224) ----》transforms.Resize((224, 224))

google-coral-bot[bot] commented 2 years ago

Are you satisfied with the resolution of your issue? Yes No