Open yifan6210 opened 1 year ago
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
This was updated in github but not in PyPi
To fix this, the owner of the repository just needs to push the updates to PyPi.
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