Skip to content

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

Description

@yifan6210

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions