czvvd/SVDFormer_PointSea

ModuleNotFoundError: No module named 'torchvision.models.utils'

husnejahan opened this issue · 1 comments

Hi,
I am trying to run training using PCN dataset, I have got this following error.

from torchvision.models.utils import load_state_dict_from_url
ModuleNotFoundError: No module named 'torchvision.models.utils'

Hi

I solved it by replacing with following in resnet.py:

from torch.hub import load_state_dict_from_url