Closed zcrwind closed 4 years ago
same problem, @JudyYe is the has the ImageNet dataset changed or something else wrong? the original URL points to a 'URL not valid' page.
Hi,
Thanks for reporting the isues.
The API in the code is based on ImageNet doc: how to download by HTTP protocol, which should (and did) return a tar file containing all images in that wnid.
However, Imagenet is under maintenance recently.
This probably causes massive invalid URL under this API. (358/1000 in imagenet1k and 1511/1549 in 2-hops.)
A possible workaround is firstly requesting url list
http://www.image-net.org/api/text/imagenet.synset.geturls?wnid=[wnid]
and then download url one by one. The potential issue is that massive urls have been reported invalid due to Imagenet has been online for 10 years. I am not sure if the fraction of invalid images is significant enough to affect the evaluation. You may refer to this for further details.
Thanks.
Hi,
Thanks for reporting the isues.
The API in the code is based on ImageNet doc: how to download by HTTP protocol, which should (and did) return a tar file containing all images in that wnid.
However, Imagenet is under maintenance recently.
This probably causes massive invalid URL under this API. (358/1000 in imagenet1k and 1511/1549 in 2-hops.)
A possible workaround is firstly requesting url list
http://www.image-net.org/api/text/imagenet.synset.geturls?wnid=[wnid]
and then download url one by one. The potential issue is that massive urls have been reported invalid due to Imagenet has been online for 10 years. I am not sure if the fraction of invalid images is significant enough to affect the evaluation. You may refer to this for further details.Thanks.
Hi, I met the same problem, and the error is: URL is invalid. It's very regretful that reproduction failed because of this error.
Hi, I also met the same problem. Only a few classes can be downloaded. So does it mean that I can't reproduce it cause this error? crying...
@joanconquerlee Hi, I tried to download images, but I cannot even download one images. Do i need to modify some codes, such as urllib?
It is the problem of Imagenet maintenance. Please direct to ImageNet team. I am afraid I cannot help y'all right now.
I'm closing this issue.
Hi, just some updates. ImageNet official website seems back to life. https://image-net.org/
I have registered ImageNet and got the accesskey. However, when I run the
download_image.py
, I obtained the error!!! Error when downloading nxxxx
, wherexxxx
is the wnid. I wanna helps from you guys, many thanks!