jax-resnet icon indicating copy to clipboard operation
jax-resnet copied to clipboard

pretrained_resnet HTTP Error 403: rate limit exceeded

Open ruotianluo opened this issue 4 years ago • 8 comments

pretrained_resnest works.

ruotianluo avatar Jul 13 '21 05:07 ruotianluo

fixed by directly feeding state_dict

ruotianluo avatar Jul 13 '21 17:07 ruotianluo

I think it is because v0.6.0 is somewhat abandoned.

ruotianluo avatar Jul 16 '21 02:07 ruotianluo

Thanks for reporting this! This is an issue on the PyTorch side, as I get the same error with:

import torch
model = torch.hub.load('pytorch/vision:v0.9.0', 'resnet18', pretrained=True)

I opened an issue with PyTorch (https://github.com/pytorch/pytorch/issues/61755) and will keep this issue open until that's resolved.

n2cholas avatar Jul 16 '21 03:07 n2cholas

I think it works without the version number.

ruotianluo avatar Jul 16 '21 03:07 ruotianluo

I still get the same error on Colab with:

import torch
model = torch.hub.load('pytorch/vision', 'resnet18', pretrained=True)

n2cholas avatar Jul 16 '21 03:07 n2cholas

Interesting, I guess their server is broken. It worked for me yesterday.

ruotianluo avatar Jul 16 '21 03:07 ruotianluo

The issue is being tracked here: https://github.com/pytorch/vision/issues/4156

n2cholas avatar Jul 20 '21 02:07 n2cholas

@ruotianluo the issue is temporarily fixed via https://github.com/n2cholas/jax-resnet/commit/43f41194123d63ca5e7d388cab8f85ae5c6d0abf

n2cholas avatar Aug 11 '21 07:08 n2cholas