Unable to download ImageNet Dataset

Hi Everyone!
I’m trying to download ImageNet dataset as follows.

train_loader = torch.utils.data.DataLoader(torchvision.datasets.ImageNet(root=’./data’, split=‘train’, download=True))

But it throw the following error.

" " " HTTPError Traceback (most recent call last)

in () 1 2 train_loader = torch.utils.data.DataLoader( ----> 3 dsets.ImageNet(root=’./data’, split=‘train’, download=True)) 4 5 # test_loader = torch.utils.data.DataLoader(

11 frames

/usr/lib/python3.6/urllib/request.py in http_error_default(self, req, fp, code, msg, hdrs) 648 class HTTPDefaultErrorHandler(BaseHandler): 649 def http_error_default(self, req, fp, code, msg, hdrs): --> 650 raise HTTPError(req.full_url, code, msg, hdrs, fp) 651 652 class HTTPRedirectHandler(BaseHandler):

HTTPError: HTTP Error 404: Not Found " " "

Please help me. is there anyway to download the dataset.

1 Like

This was brought to our attention and is now an issue in the github repository. For now there is no official solution.


Due to the sheer size I always downloaded it via torrent which can be much faster if you have multiple seeders.

1 Like

Hi.

I want to know that I downloaded the 32X32 ImageNet dataset and when I displayed it, the image showed something like this
index

Is there something wrong that I am doing? Here’s my original question