usr/lib/python3.7/urllib/request.py in http_error_default(self, req, fp, code, msg, hdrs)Ħ47 class HTTPDefaultErrorHandler(BaseHandler):Ħ48 def http_error_default(self, req, fp, code, msg, hdrs): ![]() > 2 bart = ('pytorch/fairseq', 'bart.base') #takes around two minutes This code was working perfectly around two weeks ago, now it raises the following error despite the fact that I didn't change anything: HTTPError Traceback (most recent call last) I had this simple piece of code found on the fairseq GitHub repository which basically loads the bart.base PyTorch model from torch.hub: bart = ('pytorch/fairseq', 'bart.base')
0 Comments
Leave a Reply. |