Closed Sumegh-git closed 3 years ago
I tried running this in Colab environment.
Got the below error:
KeyError Traceback (most recent call last) <ipython-input-5-e8ec27705300> in <module>() 1 import torch 2 # model = torch.hub.load('pytorch/vision:v0.9.0', 'alexnet', pretrained=True) ----> 3 model = torch.hub.load("kdexd/virtex", "resnet50", pretrained=True) 4 model.eval() 2 frames /root/.cache/torch/hub/kdexd_virtex_master/hubconf.py in resnet50(pretrained, **kwargs) 31 "https://umich.box.com/shared/static/gsjqm4i4fm1wpzi947h27wweljd8gcpy.pth", 32 progress=False, ---> 33 )["model"] 34 ) 35 return model KeyError: 'model'
Can you let me know the fix ?
Hi @Sumegh-git — please try again, this should be fixed :-)
Thanks for your quick response! It works now.
I tried running this in Colab environment.
Got the below error:
Can you let me know the fix ?