robmarkcole / tensorflow-lite-rest-server

Expose tensorflow-lite models via a rest API using FastAPI
Apache License 2.0
76 stars 21 forks source link

"detail": "module 'PIL.Image' has no attribute 'ANTIALIAS'" #55

Open sana2024 opened 7 months ago

sana2024 commented 7 months ago

i deployed it on AWS ubuntu, and everytime i try to pass an image in postman it gives me this error,

this is my body Screenshot 2024-02-13 at 8 43 47 AM

Adesoji1 commented 7 months ago

solution is here: https://stackoverflow.com/questions/76616042/attributeerror-module-pil-image-has-no-attribute-antialias

On Tue, 13 Feb 2024 at 06:44, sana omer @.***> wrote:

i deployed it on AWS ubuntu, and everytime i try to pass an image in postman it gives me this error,

this is my body Screenshot.2024-02-13.at.8.43.47.AM.png (view on web) https://github.com/robmarkcole/tensorflow-lite-rest-server/assets/53705282/d2d53505-4299-4618-868d-37a587a49e67

— Reply to this email directly, view it on GitHub https://github.com/robmarkcole/tensorflow-lite-rest-server/issues/55, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4COXHNK2GYNWQ4253ILH3YTL4UHAVCNFSM6AAAAABDF4XYFKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEZTCNJQG42DSNY . You are receiving this because you are subscribed to this thread.Message ID: @.***>