Skip to content

fix PIL sample mode deprecated warning#42307

Merged
LielinJiang merged 2 commits intoPaddlePaddle:developfrom
LielinJiang:fix-PIL-sample-mode-deprecated
Apr 28, 2022
Merged

fix PIL sample mode deprecated warning#42307
LielinJiang merged 2 commits intoPaddlePaddle:developfrom
LielinJiang:fix-PIL-sample-mode-deprecated

Conversation

@LielinJiang
Copy link
Contributor

PR types

Others

PR changes

Others

Describe

Use Image.Resampling instead of Image. to eliminate deprecation warning.
image

@paddle-bot-old
Copy link

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Collaborator

@tianshuo78520a tianshuo78520a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@LielinJiang LielinJiang merged commit c7a258f into PaddlePaddle:develop Apr 28, 2022
LielinJiang added a commit to LielinJiang/Paddle that referenced this pull request May 3, 2022
* fix PIL sample mode deprecated warning

* compatible with old pil version
XiaoguangHu01 pushed a commit that referenced this pull request May 4, 2022
* fix PIL sample mode deprecated warning

* compatible with old pil version
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

Successfully merging this pull request may close these issues.

3 participants