Open km4sh opened 3 years ago
The torchvision should be installed according to the pyTorch version. See https://pytorch.org/ to find appropriate installation command.
Same issue here...I may have solved by using the LTS(1.8.2) version of pytorch from https://pytorch.org/get-started/locally/
Try this, worked for me: from torch.hub import load_state_dict_from_url
For a fresh conda environment,
torchvision
is needed. but after installing the v0.11.1 oftorchvision
, Stderr raised No module named 'torchvision.models.utils' error. So, which version oftorchvision
is required?