Skip to content

HTTP Error 403: rate limit exceeded when loading model #4156

Open
@ichamatidis

Description

@ichamatidis

🐛 Bug

To Reproduce

Steps to reproduce the behavior:

  1. import torch
  2. model = torch.hub.load('pytorch/vision:v1.9.0','resnet50', pretrained=True)

Expected behavior

Load the model

Environment

Google Colab and also local with the latest pytorch and torchvision installed

Error Output

HTTPError Traceback (most recent call last)

in ()
1 import torchvision
2
----> 3 model = torch.hub.load('pytorch/vision:v1.9.0','resnet50', pretrained=True)

8 frames

/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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions