赞
踩
解决方法: 将 from torchvision.models.utils import load_state_dict_from_url 改为:
from torchvision.models.utils import load_state_dict_from_url
from torch.hub import load_state_dict_from_url