You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running pytest with the latest version of Pillow, you'll see:
../../../anaconda/envs/adam-py37-min/lib/python3.7/site-packages/pretrainedmodels/datasets/utils.py:33
/anaconda/envs/adam-py37-min/lib/python3.7/site-packages/pretrainedmodels/datasets/utils.py:33: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
def __init__(self, size, interpolation=Image.BILINEAR):
This attribute was moved to an enum in Pillow 9.1 and the old attribute will be removed in Pillow 10. We should update this soon.
When running pytest with the latest version of Pillow, you'll see:
This attribute was moved to an enum in Pillow 9.1 and the old attribute will be removed in Pillow 10. We should update this soon.
Related to pytorch/vision#5898 and huggingface/pytorch-image-models#1256.
The text was updated successfully, but these errors were encountered: