Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with align_face.py #64

Open
Yuutsuna opened this issue Jul 21, 2023 · 1 comment
Open

Issue with align_face.py #64

Yuutsuna opened this issue Jul 21, 2023 · 1 comment

Comments

@Yuutsuna
Copy link

When running align_face.py I got: AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'

From the following stackoverflow post I deduced that by downgrading the Pillow package to the last version before the 10.0.0 (so the 9.5.0) I could get this to work.
So I did pip install --force-reinstall -v "Pillow==9.5.0"

I'm not sure how anaconda works but maybe someone should add the exact version for this dependency

@ElvisDream
Copy link

Use PIL.Image.LANCZOS instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants