Open codermckee opened 8 months ago
error in test.py line9: extractor = torch.hub.load('pytorch/vision:v0.5.0', 'mobilenet_v2', pretrained=True).features
Probably, there is a conflict on version of Pytorch. try to add below: from torch import inf
from torch import inf
error in test.py line9: extractor = torch.hub.load('pytorch/vision:v0.5.0', 'mobilenet_v2', pretrained=True).features