We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have tried and run what is in CodeLab, but I get the following error:
/usr/local/lib/python3.7/dist-packages/torch/hub.py in load(repo_or_dir, model, *args, **kwargs) 360 361 if source == 'github': --> 362 repo_or_dir = _get_cache_or_reload(repo_or_dir, force_reload, verbose) 363 364 model = _load_local(repo_or_dir, model, *args, **kwargs) /usr/local/lib/python3.7/dist-packages/torch/hub.py in _get_cache_or_reload(github, force_reload, verbose) 160 else: 161 # Validate the tag/branch is from the original repo instead of a forked repo --> 162 _validate_not_a_forked_repo(repo_owner, repo_name, branch) 163 164 cached_file = os.path.join(hub_dir, normalized_br + '.zip') /usr/local/lib/python3.7/dist-packages/torch/hub.py in _validate_not_a_forked_repo(repo_owner, repo_name, branch) 122 while True: 123 url = url_prefix + '?per_page=100&page=' + str(page) --> 124 with urlopen(url) as r: 125 response = json.loads(r.read().decode(r.headers.get_content_charset('utf-8'))) 126 if not response: /usr/lib/python3.7/urllib/request.py in urlopen(url, data, timeout, cafile, capath, cadefault, context) 220 else: 221 opener = _opener --> 222 return opener.open(url, data, timeout) 223 224 def install_opener(opener): /usr/lib/python3.7/urllib/request.py in open(self, fullurl, data, timeout) 529 for processor in self.process_response.get(protocol, []): 530 meth = getattr(processor, meth_name) --> 531 response = meth(req, response) 532 533 return response /usr/lib/python3.7/urllib/request.py in http_response(self, request, response) 639 if not (200 <= code < 300): 640 response = self.parent.error( --> 641 'http', request, response, code, msg, hdrs) 642 643 return response /usr/lib/python3.7/urllib/request.py in error(self, proto, *args) 567 if http_err: 568 args = (dict, 'default', 'http_error_default') + orig_args --> 569 return self._call_chain(*args) 570 571 # XXX probably also want an abstract factory that knows when it makes /usr/lib/python3.7/urllib/request.py in _call_chain(self, chain, kind, meth_name, *args) 501 for handler in handlers: 502 func = getattr(handler, meth_name) --> 503 result = func(*args) 504 if result is not None: 505 return result /usr/lib/python3.7/urllib/request.py in http_error_default(self, req, fp, code, msg, hdrs) 647 class HTTPDefaultErrorHandler(BaseHandler): 648 def http_error_default(self, req, fp, code, msg, hdrs): --> 649 raise HTTPError(req.full_url, code, msg, hdrs, fp) 650 651 class HTTPRedirectHandler(BaseHandler): HTTPError: HTTP Error 403: rate limit exceeded
I have the same problem when I try pytorch demos on my own machine: https://stackoverflow.com/questions/68071913/demos-for-pytorch-and-ios-are-not-working-on-macbook-m1
The text was updated successfully, but these errors were encountered:
I am facing the same issue while using Google Colab to import a model from PyTorch
Below is the code line where it is showing error
net = torch.hub.load('pytorch/vision:v0.9.0', 'resnet18', pretrained=False)
Well even if I try it with another Google account it shows the same error. Is this some issue with the pytorch model or its with Google colab setting
Sorry, something went wrong.
also having this issue
Thanks for the report, pytorch/pytorch#61761 should provide a fix
No branches or pull requests
I have tried and run what is in CodeLab, but I get the following error:
I have the same problem when I try pytorch demos on my own machine: https://stackoverflow.com/questions/68071913/demos-for-pytorch-and-ios-are-not-working-on-macbook-m1
The text was updated successfully, but these errors were encountered: