DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampl
消除警告
DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.NEAREST or Dither.NONE instead.
'nearest': Image.NEAREST,
D:\ProgramData\Anaconda3\envs\paddledetect\lib\site-packages\paddle\vision\transforms\functional_pil.py:37: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
'bilinear': Image.BILINEAR,
D:\ProgramData\Anaconda3\envs\paddledetect\lib\site-packages\paddle\vision\transforms\functional_pil.py:38: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.
'bicubic': Image.BICUBIC,
D:\ProgramData\Anaconda3\envs\paddledetect\lib\site-packages\paddle\vision\transforms\functional_pil.py:39: DeprecationWarning: BOX is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BOX instead.
'box': Image.BOX,
D:\ProgramData\Anaconda3\envs\paddledetect\lib\site-packages\paddle\vision\transforms\functional_pil.py:40: DeprecationWarning: LANCZOS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
'lanczos': Image.LANCZOS,
D:\ProgramData\Anaconda3\envs\paddledetect\lib\site-packages\paddle\vision\transforms\functional_pil.py:41: DeprecationWarning: HAMMING is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.HAMMING instead.
'hamming': Image.HAMMING
DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.NEAREST or Dither.NONE instead.'nearest': Image.NEAREST,
D:\ProgramData\Anaconda3\envs\paddledetect\lib\site-packages\paddle\vision\transforms\functional_pil.py:37: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.'bilinear': Image.BILINEAR,
D:\ProgramData\Anaconda3\envs\paddledetect\lib\site-packages\paddle\vision\transforms\functional_pil.py:38: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.'bicubic': Image.BICUBIC,
D:\ProgramData\Anaconda3\envs\paddledetect\lib\site-packages\paddle\vision\transforms\functional_pil.py:39: DeprecationWarning: BOX is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BOX instead.'box': Image.BOX,
D:\ProgramData\Anaconda3\envs\paddledetect\lib\site-packages\paddle\vision\transforms\functional_pil.py:40: DeprecationWarning: LANCZOS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.'lanczos': Image.LANCZOS,
D:\ProgramData\Anaconda3\envs\paddledetect\lib\site-packages\paddle\vision\transforms\functional_pil.py:41: DeprecationWarning: HAMMING is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.HAMMING instead.'hamming': Image.HAMMING
安装paddlepaddle,消除警告的方法如下
解决类似的XXXWarning,在不影响整体的代码结构与功能的情况下通过
import warnings
warnings.filterwarnings("ignore")
来过滤掉相关的警告提示。除非在Console需要输出整洁,否则不建议采用此方法,因为警告和提示会告知程序某些地方版本需要更新或者某些地方需要完善。
DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampl相关推荐
- 【DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01).的解决方案】
DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampl ...
- DeprecationWarning: LANCZOS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampl
DeprecationWarning: LANCZOS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampl ...
- 出现 DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 的解决方法
目录 1. 问题所示 2. 原理分析 3. 解决方法 1. 问题所示 使用plt代码模块的时候 问题如下: /home/kkjz/anaconda3/envs/py17/lib/python3.7/s ...
- DeprecationWarning:current URL string parser is deprecated, and will be removed in a future version.
DeprecationWarning:current URL string parser is deprecated, and will be removed in a future version. ...
- 关于nodejs DeprecationWarning: current URL string parser is deprecated, and will be removed in a futur
关于nodejs DeprecationWarning: current URL string parser is deprecated, and will be removed in a futur ...
- php解决 mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysq
微信小程序开发交流qq群 173683895 承接微信小程序开发.扫码加微信. The mysql extension is deprecated and will be removed i ...
- neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead
1.现象描述: 以前在测试环境中使用过icehouse版本,记得当时查看网络列表是使用neutron net-list,最近两天在测试openstack ocata的时候发现好多之前的命令都不能正常使 ...
- 成功解决 keras\callbacks.py:999: UserWarning: `epsilon` argument is deprecated and will be removed, use
成功解决 keras\callbacks.py:999: UserWarning: `epsilon` argument is deprecated and will be removed, use ...
- Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version.
2019独角兽企业重金招聘Python工程师标准>>> PHP 接口,使用 ajax post方式提交数据的时候报错: Automatically populating $HTTP_ ...
最新文章
- ExtJs选项卡,求大神解答
- Java里边什么是值传递和引用传递?两个有什么区别
- C#进阶系列——WebApi 跨域问题解决方案:CORS
- android layer-list,Android layer-list的属性和使用具体解释
- elementui中tabs切换item中的内容会变_中后台UX优化之道
- 乘势而起,走进2019年风口“边缘计算”
- Codeforces Round #371 (Div. 2) C. Sonya and Queries 水题
- 如何复制百度文库上的文本
- BiometricPrompt之三 - Fingerprint, Iris, Face UI优先级
- 杂记(梯度,散度,旋度)// kron函数 //numpy.clip()函数// if __name__ == '__main__'
- 推荐系统的PMF - 概率矩阵分解和协同过滤
- linux系统外接硬盘_linux系统外接存储管理命令
- Photoshop 2023 v24.2 for Mac 中英文版有哪些新功能呢 支持M1 M2机型 增加了哪些新相机配 解决另存为黑屏的问题
- MATLAB调用DLL
- SkyWalking触发告警发送邮箱
- VMware安装win7后,安装VMware Tools时报错安装程序无法继续
- ajax传递数组.net,ajax传递数组问题
- ICLR 2021|基于GAN的二维图像无监督三维形状重建
- android gridview 计算器,用GridView显示得到的网络图片
- 11.5 Daily Scrum