diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.

Open allo- opened this issue 3 years ago • 3 comments

Describe the bug

Textual inversion uses a deprecated import for the scaling methods in Pillow

DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.

Reproduction

Use the textual inversion script with a recent Pillow version

Logs

-

System Info

Python 3.10 with latest Pillow.

allo- avatar Oct 08 '22 21:10 allo-

I've submitted a pull request to fix this, hopefully will be reviewed and committed this coming week.

Thomas-MMJ avatar Oct 10 '22 00:10 Thomas-MMJ

Looking at the PR now :-)

patrickvonplaten avatar Oct 10 '22 13:10 patrickvonplaten

note has been discussed and there are changes I need to make before accepted.

Thomas-MMJ avatar Oct 11 '22 05:10 Thomas-MMJ

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

github-actions[bot] avatar Nov 08 '22 15:11 github-actions[bot]