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

import robustness. dataset "No module named 'torchvision.models.utils'" #119

Open
yifan6210 opened this issue Oct 25, 2022 · 2 comments
Open

Comments

@yifan6210
Copy link

Hi, package developers,

I encountered an issue with the import robustness. dataset and I think the potential problem occurs in the vgg.py file under imagenet models.

potential changes from

from torchvision.models.utils import load_state_dict_from_url

to

from torch.hub import load_state_dict_from_url

@allanzhou777
Copy link

This was updated in github but not in PyPi

@pstefanou12
Copy link

To fix this, the owner of the repository just needs to push the updates to PyPi.

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

3 participants