Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two warnings from Torchvision #108

Open
lowfuel opened this issue Jul 15, 2022 · 0 comments
Open

Two warnings from Torchvision #108

lowfuel opened this issue Jul 15, 2022 · 0 comments

Comments

@lowfuel
Copy link

lowfuel commented Jul 15, 2022

Hi, when I load the LPIPS model I get two warnings from Torchvision (after updating it):

D:\anaconda3\envs\prd6\lib\site-packages\torchvision\models\_utils.py:208: 
UserWarning: The parameter 'pretrained' is deprecated since 0.13 and will be removed in 0.15, please use 'weights' instead.

D:\anaconda3\envs\prd6\lib\site-packages\torchvision\models\_utils.py:223:
UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and will be removed in 0.15. 
The current behavior is equivalent to passing `weights=VGG16_Weights.IMAGENET1K_V1`. You can also use `weights=VGG16_Weights.DEFAULT` to get the most up-to-date weights.

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

No branches or pull requests

1 participant