PaddleX
PaddleX copied to clipboard
能否更新PaddleX的一些警告模块
描述问题
f:/aa.py
D:\anaconda3\envs\PaddleX38\lib\site-packages\paddlex\paddleseg\models\losses\decoupledsegnet_relax_boundary_loss.py:19: DeprecationWarning: Please use `shift` from the `scipy.ndimage` namespace, the `scipy.ndimage.interpolation` namespace is deprecated.
from scipy.ndimage.interpolation import shift
D:\anaconda3\envs\PaddleX38\lib\site-packages\paddlex\paddleseg\transforms\functional.py:18: DeprecationWarning: Please use `distance_transform_edt` from the `scipy.ndimage` namespace, the `scipy.ndimage.morphology` namespace is deprecated.
from scipy.ndimage.morphology import distance_transform_edt
2022-06-15 14:46:19,249-WARNING: type object 'QuantizationTransformPass' has no attribute '_supported_quantizable_op_type'
2022-06-15 14:46:19,250-WARNING: If you want to use training-aware and post-training quantization, please use Paddle >= 1.8.4 or develop version
D:\anaconda3\envs\PaddleX38\lib\site-packages\sklearn\utils\multiclass.py:13: DeprecationWarning: Please use `spmatrix` from the `scipy.sparse` namespace, the `scipy.sparse.base` namespace is deprecated.
from scipy.sparse.base import spmatrix
D:\anaconda3\envs\PaddleX38\lib\site-packages\paddlex\ppcls\data\preprocess\ops\timm_autoaugment.py:38: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
_RANDOM_INTERPOLATION = (Image.BILINEAR, Image.BICUBIC)
D:\anaconda3\envs\PaddleX38\lib\site-packages\paddlex\ppcls\data\preprocess\ops\timm_autoaugment.py:38: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.
_RANDOM_INTERPOLATION = (Image.BILINEAR, Image.BICUBIC)
D:\anaconda3\envs\PaddleX38\lib\site-packages\paddle\tensor\creation.py:125: DeprecationWarning: `np.object` is a deprecated alias for the builtin `object`. To silence this warning, use `object` by itself. Doing this will not modify any behavior and is safe.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
能否更新PaddleX的一些警告模块 Warning 警告信息 不影响使用
但是PaddleX 是否可以考虑更新
因为
python -m pip install paddlepaddle-gpu==2.3.0.post112 -f https://www.paddlepaddle.org.cn/whl/windows/mkl/avx/stable.html
pip install paddlex==2.1.0 -i https://mirror.baidu.com/pypi/simple
这两个安装下来 都会自动安装最新的 scipy numpy Pillow 这些 能否更新 适应这些新的模块版本 起码不要一直有Warning 警告信息
也不要让用户 自己去删除新的版本 再安装旧版本
感谢反馈!