Skip to content

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

@yifan6210

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions