pytorch / hub

Submission to https://pytorch.org/hub/
1.38k stars 240 forks source link

fix deprecated ANTIALIAS method #350

Closed avriiil closed 2 months ago

avriiil commented 2 months ago

ANTIALIAS was removed in Pillow 10.0.0. Use PIL.Image.LANCZOS or PIL.Image.Resampling.LANCZOS instead.

See Pillow 10.0.0 release notes (with table of removed constants)

facebook-github-bot commented 2 months ago

Hi @avriiil!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

netlify[bot] commented 2 months ago

Deploy Preview for pytorch-hub-preview ready!

Name Link
Latest commit 2f32218641b653aaf5738cd38eb45a95713ac1e7
Latest deploy log https://app.netlify.com/sites/pytorch-hub-preview/deploys/661d2241d0fe100008e99502
Deploy Preview https://deploy-preview-350--pytorch-hub-preview.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

avriiil commented 2 months ago

done! signed about an hour ago @NicolasHug, anything i should do to re-trigger checks at my end?

NicolasHug commented 2 months ago

Nothing more needed, thank you @avriiil