Open ErfanBahramali opened 1 year ago
I am also facing this problem and have already followed the intruction.
Even you have changed the property from PIL.Image.LANCZOS or PIL.Image.Resampling.LANCZOS
, the output image will be the same as the input.
Finally, try pip install Pillow==9.4.0
in codeformer conda env. The problem will be solved
Error:
The problem is from Pillow version 10.0.0
ANTIALIAS
was removed in Pillow 10.0.0 Now you need to usePIL.Image.LANCZOS
orPIL.Image.Resampling.LANCZOS
Or specify Pillow version in requirements.txtPillow==9.5.0
https://stackoverflow.com/questions/76616042/attributeerror-module-pil-image-has-no-attribute-antialias