-
Notifications
You must be signed in to change notification settings - Fork 888
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
ImportError: cannot import name 'model_urls' from 'torchvision.models.vgg' #191
Comments
Downgrading to torchvision==0.13 worked for me |
Just remove broken codes. basenet/vgg16_bn.py
|
does not work bro |
+1 |
For current version of torchvision ( from torchvision.models.vgg import VGG16_BN_Weights but the code is not used anyway, so best to just remove it like mentioned:
Also, check this SO post. |
I am facing the same issue. Is there a chance we can commit the fix in this repo? |
I think there is a PR currently open: |
If you have proxy config didn't work :c |
I get this error because apparently model_urls is no longer available for versions >0.13 in torchvision but I don't know how to fix it, downgrading the version does not seem to help...
The text was updated successfully, but these errors were encountered: